1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel Cell Formating

Discussion in 'Business Applications' started by dw1256, Nov 30, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. dw1256

    dw1256 Thread Starter

    Joined:
    Aug 13, 2003
    Messages:
    116
    Hello,

    Here is what I would like to set up to happen automatically when I enter data into excel. For example, if A1 is less then A2, the cell (A1) will have a single line border. If A1 is less then A3, the cell (A1) will have a doted line border. Also, if A1 is less then both A2 and A3, there will be a double lined border around the cell (A1).

    I know how to do this in conditional formating, but as far as I can see it only will work for one cell at a time. I can't make it do the 3rd option if A1 is less then both cells.

    Does anyone have any ideas or need further clarification?

    Thanks.
     
  2. The Villan

    The Villan

    Joined:
    Feb 20, 2006
    Messages:
    2,255
    In the conditional format dialogue box and for your third condition,you want to add A2 and A3 together as I see it, so where you put the cell reference, type the following

    =SUM(A2:A3)
     
  3. dw1256

    dw1256 Thread Starter

    Joined:
    Aug 13, 2003
    Messages:
    116
    Unless I did something wrong, that does not work out. Also, I dont think I want to add them together. I am not trying to say that A1 is less then the total of A2 and A3, but that it is less then both of them separately.

    I attached a very simple spreadsheet that I hope helps clarify what I am trying to do. Each column is independant of eachother, but I just wanted to show you each of the three outcomes.

    Thanks.
     

    Attached Files:

  4. Aj_old

    Aj_old

    Joined:
    Sep 24, 2007
    Messages:
    869
    for the 3rd conditon use "less than " and =MIN(B3:B4)
     
  5. slurpee55

    slurpee55

    Joined:
    Oct 20, 2004
    Messages:
    7,837
    I found that I had to make the =MIN(B3:B4) the first condition...don't know why. But it worked then.
     
  6. The Villan

    The Villan

    Joined:
    Feb 20, 2006
    Messages:
    2,255
    Sorry about that DW1256. I thought you wanted to add A2 & A3 ogether and then compare. Anyway hope it is now sorted with the =min as stated above.
     
  7. Aj_old

    Aj_old

    Joined:
    Sep 24, 2007
    Messages:
    869
    You are right, the condition with min should be first, because if this condition is satisfied then the other 2 conditions are satisfied too!
    Now just need to wait for the DW1256 to say as if it works for him too!
     
  8. dw1256

    dw1256 Thread Starter

    Joined:
    Aug 13, 2003
    Messages:
    116
    Maybe I am doing something wrong, but I still don't get that too work. Even when one of the two number I am comparing to is less then the original number, it formats the box as if it were less then both. Is there an "and" function that needs to be in there?

    If someone actually got this to work, can you just send me a copy of the spreadsheet?

    Thanks.
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/657551

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice