LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default And, if, arguments....

Share your formula.

And what's in B7.

Maybe...

=if(trim(b7)="",0,if(b7=0,4,0))

(Don't use "0" if you want a real number--not text.)

Chuck_in_Mo wrote:

Dave,

I put a zero between the quotes, to reflect the balnk field... Still getting
a 4.....

"Dave Peterson" wrote:

And I misread your requirements...

=if(b7="",0,if(b7=0,4,"whatdoyouwanthere?"))

Chuck_in_Mo wrote:

I put a 0 between the quotes, and am still getting a value of 4 in the cell
as if excel is seeing a blank cell as a value = zero....

"Dave Peterson" wrote:

Put this formula in Z4:
=if(b7=0,4,"whatdoyouwanthere?")

(Excel will treat an empty cell as 0.)

Chuck_in_Mo wrote:

I am trying to get a cell to do this:

Look at cell B7, if B7 has a vlaue of greater than or equal to 0, return a
value of 4 to cell Z4, if cell B7 is empty return a value of 0 to cell Z4....

Can you help?

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
 
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
Errors on Functions with many arguments Ravi Excel Worksheet Functions 1 January 11th 07 03:27 PM
Formulae containing more than 7 arguments? Zakynthos Excel Worksheet Functions 4 April 4th 06 04:32 PM
Arguments box on form Greshter Excel Discussion (Misc queries) 3 January 12th 06 11:03 PM
Passing Variable Number of Arguments to a Sub blatham Excel Discussion (Misc queries) 4 December 10th 05 10:36 AM
Excel formulas increase from 7 arguments to 12 or more lwilli11 Excel Discussion (Misc queries) 1 September 26th 05 04:36 PM


All times are GMT +1. The time now is 08:53 AM.

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

About Us

"It's about Microsoft Excel"