Sample Answer

Marie Randazzo

New Member
Joined
Jan 21, 2005
Messages
1
Hi, this looks like a great site. I believe I have a simple question that I just can't find the answer to.

After I type a formula into a cell for example an =If(f6>0,D6-F6,D6) the cell shows $0.00, which is the sample answer but I don't want this to show. I just want to have the formula in the cell with the cell showing nothing until I enter the currency in the other cells.

Thanks,
Marie
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

JPM

Active Member
Joined
Aug 1, 2002
Messages
406
Try this one =If(f6="","",If(f6>0,D6-F6,D6)) that way it only populates the cell if f6 is not blank. Or you could use =If(OR(f6="",D6=""),"",If(f6>0,D6-F6,D6)) which would leave it blank until D6 and F6 are not blank.

JPM
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Give this a try:

=IF((D6="")+(F6=""),"",D6-(F6*(F6>0)))
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,203
Marie Randazzo said:
Hi, this looks like a great site. I believe I have a simple question that I just can't find the answer to.

After I type a formula into a cell for example an =If(f6>0,D6-F6,D6) the cell shows $0.00, which is the sample answer but I don't want this to show. I just want to have the formula in the cell with the cell showing nothing until I enter the currency in the other cells.

Thanks,
Marie

Care to elaborate by way of an example?...

D6 empty, F6 empty ===> ?

D6 houses 8, F6 empty ===> ?

D6 houses 8, F6 5 ===> ?

D6 empty, F6 5 ===> ?
 

Watch MrExcel Video

Forum statistics

Threads
1,129,803
Messages
5,638,448
Members
417,025
Latest member
MusterDuster

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
Top