#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
noyb
 
Posts: n/a
Default MIN function

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default MIN function

Try something like this:

For A1 as a value or blank

=MIN(+A1,(formula))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"noyb" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default MIN function

Hi

=MIN(SUM(A1),<formula)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"noyb" wrote in message
...
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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
noyb
 
Posts: n/a
Default MIN function

Yes, thanks

Ron Coderre wrote:
Try something like this:

For A1 as a value or blank

=MIN(+A1,(formula))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"noyb" wrote:


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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
noyb
 
Posts: n/a
Default MIN function

Thanks for reply. This works but I will stick with the shorter "+"
example above.

Arvi Laanemets wrote:
Hi

=MIN(SUM(A1),<formula)




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default MIN function

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.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"noyb" wrote in message
...
Thanks for reply. This works but I will stick with the shorter "+" example
above.

Arvi Laanemets wrote:
Hi

=MIN(SUM(A1),<formula)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 04:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"