ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Formatting using Small (https://www.excelbanter.com/excel-worksheet-functions/257795-conditional-formatting-using-small.html)

Supe

Conditional Formatting using Small
 
I have 9 columns and 52 rows that that have pricing for 9 brands for each
week of the year. There may be some weeks where a brand as $0.00 as a price.
I am trying to do a conditional formatting to highlight the cell that has
the lowest price for that week excluding any that have $0.00 listed. I got a
formula off the internet and adjusted to my spreadsheet. The formula listed
below is in my conditional formatting rule

=C8=SMALL(C8:T8,1+COUNTIF(C8:T8,"0"))

It is not highighliting the $0.00 cells, but some weeks it does not
highlight anything. The odd part is that one week the lowest price is $1.47
that does not highlight. If I change that to $1.00 it does highlight, but if
I change it to $1.10 it does not.

Fred Smith[_4_]

Conditional Formatting using Small
 
You probably want:
=C8=SMALL(C8:T8,1+COUNTIF(C8:T8,0))

as you are using numbers, not text.

Regards,
Fred

"Supe" wrote in message
...
I have 9 columns and 52 rows that that have pricing for 9 brands for each
week of the year. There may be some weeks where a brand as $0.00 as a
price.
I am trying to do a conditional formatting to highlight the cell that has
the lowest price for that week excluding any that have $0.00 listed. I
got a
formula off the internet and adjusted to my spreadsheet. The formula
listed
below is in my conditional formatting rule

=C8=SMALL(C8:T8,1+COUNTIF(C8:T8,"0"))

It is not highighliting the $0.00 cells, but some weeks it does not
highlight anything. The odd part is that one week the lowest price is
$1.47
that does not highlight. If I change that to $1.00 it does highlight, but
if
I change it to $1.10 it does not.




All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com