+ Reply to Thread
Results 1 to 15 of 15

Conditonal Formatting a Cell Based on Other Cells

  1. #1
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Conditonal Formatting a Cell Based on Other Cells

    Here's what I got.

    I'm doing a Comparison of Price quotes from some different vendors and I want to highlight which one is the lowest.

    4 Rows with Totals
    The Cells are B21, B43, B65, B87

    I need each value in each location to be compared to the other 3.

    The other thing is that I also C through V that need the same thing.

    Thanks.
    Last edited by fasterthanyours; 07-31-2009 at 04:33 PM.

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    See the attached example.
    Look at the formula in conditional formatting.
    Hope this helps.
    modytrane
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Very Cool.

    I set the Max as well...

    Is there a way to format the values in between as Orange?

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    see the attachment.
    you only have to set up for two conditions. third will be the default color.
    modytrane.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Very Cool again. I kind of figured that out messing around with it, TY.

    Ok so I made a Separate Sheet to do the following:
    I used the MIN to find the minimum in each Column on the Quotes Sheet.
    Now what I'd like to do is fill the Cell B21 on my Lowest Sheet with the Vendor from B23, B45, B67, B89 on the Quotes Sheet that has that lowest price in B20.

    Any thoughts please?

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    It's difficult to work with all of your cell references.
    It would make everyone's life easy [less painful], if you attach a sample.
    Just like I created a sample to offer the solution.
    Attach a workbook with sample data and explain your desired results.
    modytrane.

  7. #7
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    OK...Here it is...

    It's not top secret.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    see the attached file.
    Not very cute, but it works.
    ROWS 21 and 22 on Lowest Prices sheet are hidden.
    You can unhide them to see the formulas.
    It became a bit more complicated, because your lowest price was showing up on rows other than 21,43,65,87 and 109.
    For example the first one $8,999.00 shows up on row 41 and 43.
    In some cases, it showed up a couple of times in the column.

    Anyway, hope it helps.
    modytrane
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Very cool. I was able to tweak your formulas to help populate the columns above with the different information since some of mine was not static.

    And THEN! I hit Alt-F4 to close something else and clicked "No"! 1 Hour lost this morning!!!!

    TY though, worked great.

  10. #10
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Modytrane,

    So after playing around with it all day I figure out a few really cool things, but I've hit a roadblock on the Lowest Prices sheet.

    Look at C21 on the Lowest Prices Sheet. It's returning Row Assignment 43. So it's saying that the Value in C20, exists in C43 on the Quotes sheet. And there's no data in C43 on the Quotes Sheet. It's also happening with the "Server Options" Far Right.

    Oh I just noticed something, when the Value in C21 on the Quotes sheet is the lowest (The Dell Prices), C21 Assigns Row 43 on the Lowest Prices sheet, every time except Column A & T.

    Basically it's cause the wrong vendor to appear.

    I've Attached it again.

    Thanks
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    OK, This should do it.
    See the attached file.
    modytrane
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    HA I owe you a beer a too.

  13. #13
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Man it still isn't working right.

    I put in lower values in the MicroAge section than the Dell and it comes up with Insight as the low value and there's nothing in those columns
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    07-17-2009
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2013/2016
    Posts
    107

    Re: Conditonal Formatting a Cell Based on Other Cells

    Ok Never mind. I went a different direction and decide to do one list and separate rows for each Vendor. That seemed to function better.
    Attached Files Attached Files

  15. #15
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditonal Formatting a Cell Based on Other Cells

    I see what the problem was.
    I have fixed it, in case you want to use it.
    I still see one more issue. It relates to quantity. I see that on your sheet "Lowest Prices", Row 19 [Quantity] is manually entered. The Lowest Price below reflects total price [sometimes it's for more than one item], copied from Quotes Sheet. So this sheet doesn't look right.
    modytrane.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1