Highlight the largest value and lowest value of the range obtained from countif values

mdhaumyu

New Member
Joined
Mar 8, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Requirement: To highlight the largest value and lowest value of the range.

The values in the range are obtained from countif() formula (for e.g. for March 4th, formula is COUNTIF('A:A,"04.03.2021"))

What I did: I am using conditional formatting rules: Top 1 and Bottom 1 to highlight the largest value and lowest value of the range.

Result: It is perfectly working for the largest value, but since there are zero values (obtained from countif), all cells having zero values are highlighted as lowest value.

I want to ignore the zero value and highlight the lowest value.

Any idea on how to do this?

Thank you.
 

Attachments

  • Largest and lowest value.jpg
    Largest and lowest value.jpg
    35.4 KB · Views: 16

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Have a look here.
Thank you for your help. It is working well only one set of range (refer the attached). Due to some constraints, I am having the range divided into 2 sets (P75:P89 and S75:S90).

How to apply this formula for combined range? I tried few formulas but failed.
 

Attachments

  • Largest and lowest value_2.jpg
    Largest and lowest value_2.jpg
    33.5 KB · Views: 14
Upvote 0
Thanks a lot.

Hmm...such a simple solution, and I kept on trying complex formulas :(
Why is the MAX formula not working, I am using below forumalas:
=P75=MIN(IF($P$75:$S$90>0,$P$75:$S$90))
=P75=MAX(IF($P$75:$S$90>0,$P$75:$S$90))

MIN is working well, but MAX isn't.
 

Attachments

  • Largest and lowest value_3.jpg
    Largest and lowest value_3.jpg
    33.9 KB · Views: 15
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top