#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default if then formula

Very simply put;

I need to return a value in A1.

If the amount in B1 is greater than zero A1 should return the value in B1.

But, if the cell B1 is blank, then A1 should return the amount in C1.

TIA
bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default if then formula

You could use a formula in A1:

=if(b10,B1,if(b1="",c1,"What Happens If B1 is 0 or Negative"))



vdmbqb wrote:

Very simply put;

I need to return a value in A1.

If the amount in B1 is greater than zero A1 should return the value in B1.

But, if the cell B1 is blank, then A1 should return the amount in C1.

TIA
bob


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default if then formula

What if B1 is 0 or less?

If B1 will only be numbers =0 or an empty/blank cell:

=IF(N(B1),B1,C1)

--
Biff
Microsoft Excel MVP


"vdmbqb" wrote in message
...
Very simply put;

I need to return a value in A1.

If the amount in B1 is greater than zero A1 should return the value in B1.

But, if the cell B1 is blank, then A1 should return the amount in C1.

TIA
bob



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



All times are GMT +1. The time now is 10:15 PM.

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"