I want to return "0" based on another cell

C

CM

I am using =min(a1:a10,b1:b10)to return the min number in two fields, however
i want the cell to remain blank or return "0" if another cell is blank or
zero. Can anbody help?
 
B

Bob Phillips

Do you mean

=IF(X1="","",MIN(A1:A10,B1:B10))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
D

Dana DeLouis

Would this help? I was looking at your part that says...
"...if another cell is blank or zero."...

=IF(OR(ISBLANK(C1),C1=0),"",MIN(A1:B10))

HTH
 

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