IF formula which returns something only if cell is populated

lzweifel

Board Regular
Joined
Feb 21, 2006
Messages
213
Hi again,

I cannot figure out my formula this morning to deliver a formula only if a cell is populated...


If I put a figure in Cell A1, then Cell B1 would deliver the value of 30.00 and Cell C1 the value of A1*B1 = 330.00 IF however cell A1 is left blank then all three cells would remain blank.

Thanks in advance
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Maybe something like this?

B1=IF(A1="","",30)
C1=IF(A1="","",A1*B1)

Note that C1 would only be 330 if you entered 11 in A1.
 
Upvote 0
In B1,

=IF(A1="", "", 30)

and in C1.

=IF(A1="", "", A1*B1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top