I have a simple =MIN(A1,<formula>) if A1 is 0 the min=0 but if a1 is
blank min=formula (which resolves to greater than 0). A1 is formated as
number. Never seen this before and have no idea what is causing this.
Any ideas much appreciated.
ps just changed <formula> to 5 and still get min of 0 & 5 = 5??? Why
does Excel not see a blank as 0, if this is the problem?
Thanks
Ron Coderre - 17 May 2006 13:59 GMT
Try something like this:
For A1 as a value or blank
=MIN(+A1,(formula))
Does that help?
***********
Regards,
Ron
XL2002, WinXP
> I have a simple =MIN(A1,<formula>) if A1 is 0 the min=0 but if a1 is
> blank min=formula (which resolves to greater than 0). A1 is formated as
[quoted text clipped - 3 lines]
> does Excel not see a blank as 0, if this is the problem?
> Thanks
noyb - 17 May 2006 15:54 GMT
Yes, thanks
> Try something like this:
>
[quoted text clipped - 16 lines]
>>does Excel not see a blank as 0, if this is the problem?
>>Thanks
Arvi Laanemets - 17 May 2006 14:25 GMT
Hi
=MIN(SUM(A1),<formula>)

Signature
Arvi Laanemets
( My real mail address: arvi.laanemets<at>tarkon.ee )
>I have a simple =MIN(A1,<formula>) if A1 is 0 the min=0 but if a1 is blank
>min=formula (which resolves to greater than 0). A1 is formated as number.
[quoted text clipped - 3 lines]
> Excel not see a blank as 0, if this is the problem?
> Thanks
noyb - 17 May 2006 15:55 GMT
Thanks for reply. This works but I will stick with the shorter "+"
example above.
> Hi
>
> =MIN(SUM(A1),<formula>)
Arvi Laanemets - 18 May 2006 05:58 GMT
Hi
The formulas don't behave exactly in same way. My formula returns 0 whenever
in A1 is non-numeric, Ron's formla returns 0, when A1 is empty, but error
when there is some text entry, or even a formula which returns empty string.
Which you prefer, depends on your data.

Signature
Arvi Laanemets
( My real mail address: arvi.laanemets<at>tarkon.ee )
> Thanks for reply. This works but I will stick with the shorter "+" example
> above.
>
>> Hi
>>
>> =MIN(SUM(A1),<formula>)