Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CM
 
Posts: n/a
Default I want to return "0" based on another cell

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?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Do you mean

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

--

HTH

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


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



  #3   Report Post  
Dana DeLouis
 
Posts: n/a
Default

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
--
Dana DeLouis
Win XP & Office 2003


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



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
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 07:36 AM
formula to return the value of a cell based on a looked up true reference sarah Excel Worksheet Functions 2 February 2nd 05 09:15 PM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 10:59 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 08:16 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 04:03 PM


All times are GMT +1. The time now is 11:40 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"