How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Richard Your Own Question
Richard
Richard, Computer Support Specialist
Category: Computer
Satisfied Customers: 37539
Experience:  Over 15 years of consulting to the IT industry
32989067
Type Your Computer Question Here...
Richard is online now

I am probably after something really simple but just

Resolved Question:

Hi
I am probably after something really simple but just cant work it out.
What I am after is to subtract a number from a number in a cell for example below:
=D3-300
However when there is nothing in cell 'D3' I would like the cell containing the above formula to be blank
Is this possible?
Thanks
James
Submitted: 2 years ago.
Category: Computer
Expert:  Richard replied 2 years ago.
Thank you for your question, my name is ***** ***** I look forward to assisting you.
Please note, click on Reply to Expert to reply to me, a rating is only needed when we are finished.
You can say
=if(D3=0,0,D3)
But you cannot remove the formula itself, as a formula cant remove itself because it needs to be there to do the actual formula.
If you would like any additional information or assistance, please do not hesitate to let me know.
And if you can take a second to rate my service, that would be greatly appreciated.
Thank you
Customer: replied 2 years ago.

Hi

Thanks for the fast response but when I enter this it just copies whats in cell D3.

If I type in:

=if(D3=0,0,D3)-300

I can still see it saying -300 when the cell is blank?

I don't want to see -300 when D3 is blank

Thanks

James

Expert:  Richard replied 2 years ago.
ok, then use
=if(D3="","",D3-300)
Use that formula
Let me know if you have any difficulties please
Richard and 4 other Computer Specialists are ready to help you