Using formulas within IF function??

Aeafa

New Member
Joined
Aug 31, 2016
Messages
12
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Hiya! :)

I am trying to find a way to get the following info into the IF formula:

If "Sheet1!"C1=TODAY()-1 then I554 needs to be divided by 15 if not then it needs to be blank.

I am trying variations of: =IF("Sheet1!F3"=TODAY()-1, "(I554/15)", "")

But it doesn't seem to be working, and just keeps appearing blank. I'm not sure what I am doing wrong..

Can anyone please help? THANKS! :)
 
Welcome to the Board!

It is important to understand that anything placed between double-quotes is treated as literal text. If you want to do a calculation, you do NOT want that part between double-quotes.
So try:
Code:
=IF(Sheet1!C1=TODAY()-1,I554/15,"")
 
Upvote 0
Solution
Thank you for the welcome! :) I am always here reading but I have never actually needed to post before, haha. :)

I didn't know about the double-quotes thing! Thank you so much for clarifying that! The formula works now!!

THANK YOU SO MUCH FOR HELPING ME!! I really really appreciate it! :)
 
Upvote 0
You are welcome!
Glad I could help!:)
 
Upvote 0

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