Hello, I have a list of numbers in cells. I am looking for a solution how to conditionally format only 1 lowest negative and 1 highest positive number from the list? Please see expected result in attached file. Thank you for any advice.
Hello, I have a list of numbers in cells. I am looking for a solution how to conditionally format only 1 lowest negative and 1 highest positive number from the list? Please see expected result in attached file. Thank you for any advice.
No file attached.
Pete
sorry...now the file attached
YO uhave conditional formatting already in place - what's the problem with it?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Yes but in case all numbers are negative, I want Excel to show only 1 formatted color - the lowest (the same in case all are positive - highest)
OK - that wasn't clear!
Try these rules:
Red:
=AND(COUNTIF($B$7:$F$7,"<0")>=1,B7=MIN($B$7:$F$7))
Green:
=AND(COUNTIF($B$7:$F$7,">=0")>=1,B7=MIN($B$7:$F$7))
Thank you Ali for your effort :-).
Now it works for row 7, but when I apply that conditional formatting to rows with another numbers, it does not give wished result. I tried to play with "$" in the formula, but I did not succeed. Can you please advice?
Thank you!
Marian
Remove the row anchors:
Red:
=AND(COUNTIF($B7:$F7,"<0")>=1,B7=MIN($B7:$F7))
Green:
=AND(COUNTIF($B7:$F7,">=0")>=1,B7=MIN($B7:$F7))
Glad to have helped.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
One way: Green:and Red:Formula:Please Login or Register to view this content.applies to $B$7:$Z$99Formula:Please Login or Register to view this content.
Thanks Ali!
Glad to have helped.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
Administrative Note
Please don't ignore contributors to your thread - it takes members time to provide suggestions, so acknowledge all solutions offered, even if they don't meet your requirements. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks