Conditional format lowest value greater than zero and copy formula

G

gailana

I am using Excel 2007 but cannot get the conditional formatting to work
correctly. I have 100 rows of data. In the 1st row I need to fill the cell
with color if it's the lowest value greater than $0. Then I need to copy that
conditional format to the next 99 rows.

The conditional formating only works if the cell that's $0 is blank.

After I select the 1st row, copy, paste special, formats, it only works on a
few of the rows. The rest don't show any color. If I paste special 1 row at a
time, it works.

Thanks for any help!
 
L

Luke M

I'm guessing your CF formula is incorrect.

Assuming you're dealing with cells A1:A100, the conditional format formula
for A1 is:
=A1=MIN(IF($A$1:$A$100>0,$A$1:$A$100))

You should now be able to copy this format to the other cells.
(alternatively, if you select all the cells, and make cell A1 active, and
then input this formatting, it will be applied to all the cells with the
correct relative cell references in place.)
 
×

מיכ×ל (מיקי) ×בידן

I would say:
* First - select ALL(!) 100 cells.
* Declare the CF relying as per the formula:
=AND(A1=MIN($A$1:$A$100),A1>0)
*** No need to copy anything now.
Micky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top