Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am writing a formula to return a minimum value from an array of cells, but
if the cells are blank it does not return any value, how can I rectify this, shown is my formula. =IF(AT12=0,MIN(M12,AT12,AP12)) M and AT are populated and when I take out AP it returns the lower value, but when I enter AP which is a formula returning no answer, my other formula returns a blank cell. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Gracey1:
Try this: =IF(AT12=0,MIN(M12,AT12,if(AP12="",M12,AP12)),??? ) note the ??? is the vaue if AT12 < 0 As you say M12 and AT12 are values and should be numbers so therefore if AP12 is blank replace it with M12 as that is one of the min values. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "Gracey1" wrote: I am writing a formula to return a minimum value from an array of cells, but if the cells are blank it does not return any value, how can I rectify this, shown is my formula. =IF(AT12=0,MIN(M12,AT12,AP12)) M and AT are populated and when I take out AP it returns the lower value, but when I enter AP which is a formula returning no answer, my other formula returns a blank cell. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Array formula returns blank in the cell where it is entered | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
adding a formula in a cell but when cell = 0 cell is blank | Excel Worksheet Functions |