+ Reply to Thread
Results 1 to 9 of 9

Need conditional formatting to highlight if greater than a cell but not highlight if less

  1. #1
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Need conditional formatting to highlight if greater than a cell but not highlight if less

    I would like conditional formatting to highlight when column C quantity is greater than K15, but if it is less than or equal to K15 I don't want column C to highlight.
    Attached Files Attached Files
    Last edited by mma3824; 12-01-2020 at 01:00 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    Try this. Please let me know if you have any questions.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    Did you put in a formula? It seems to be working but I cant find what you put in?
    Last edited by mma3824; 11-20-2020 at 05:07 PM.

  4. #4
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    Did you put in a formula? It seems to be working but I cant find what you put in?

  5. #5
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    I used Conditional Formatting.

    I highlighted C15 to C24
    Then on Home Tab - I clicked on Conditional Formatting.
    Highlight Cell Rules
    Greater Than
    In the box (should say 100 I think) I just clicked your cell K15 and the value changes to =$K$15
    In the box next to with - you can pick any selection there. I just used Custom and changed the formatting there.

    If you click on Conditional Formatting and Manage rules you will see what it looks like.

  6. #6
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    Ok so I had the conditional formatting working for this and then we had to make some changes and now I cannot get the conditional formatting to work again. We have a formula to get the current inventory from the field inventory sheet so if we do not have that part in the current inventory it says zero. However we need it to highlight if the qty is greater than the current inventory.
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    If you have changed something, the original sample sheet may no longer be relevant. Please add an appropriate sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  8. #8
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    98

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    Glenn,
    I have the most recent example with the changes in my last comment.
    Thanks

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Need conditional formatting to highlight if greater than a cell but not highlight if l

    The reason it isn't working is becausew the SLOC for Part Number 1726 is 9, not 1. Your formula in H is very inefficient because you are using whole column references in an array formula. There was also an error in it. To work it should have been:

    =IFERROR(INDEX('Feild Inventory'!$F:$F,MATCH(1,((Quotation!$G$9='Feild Inventory'!$B:$B)*(Quotation!$B15='Feild Inventory'!$D:D)),0)),"")

    However, if the part number/SLOC combination is unique, and you have large numbers of rows(you do), it might be better to use SUMIFS:

    =IF(B15="","",SUMIFS('Feild Inventory'!F:F,'Feild Inventory'!B:B,Quotation!$G$9,'Feild Inventory'!D:D,Quotation!B15))
    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)

Similar Threads

  1. [SOLVED] Conditional Formatting to Highlight Cell if Delivery Date is Greater than the Due Date
    By rahul_ferns76 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2019, 12:19 AM
  2. Replies: 3
    Last Post: 11-24-2015, 01:57 PM
  3. Highlight a row if conditional formatting is used in cell
    By brucey2343 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 08-16-2013, 06:49 AM
  4. Replies: 5
    Last Post: 07-13-2013, 04:07 PM
  5. Replies: 6
    Last Post: 11-21-2012, 08:54 PM
  6. highlight a cell with conditional formatting
    By sp1974 in forum Excel General
    Replies: 0
    Last Post: 09-10-2011, 12:44 AM
  7. Conditional formatting-how to highlight a cell
    By jacold in forum Excel General
    Replies: 0
    Last Post: 01-14-2005, 08:10 AM

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