IF and Formulas

yani06

New Member
Joined
Sep 26, 2011
Messages
30
I tried looking up the response in the wonderful threads and articles, but could not find it.

Can someone help?

This is my formula:

=IF(E3="","N/A",IF(E3<$G$18,"N/A",IF(E3>$G$18,"(C3*8*30)")))

The part at the end (C3*8*30) is supposed to be a formula that gives me a result. Like C3 cell is $18, so it should give me a result of $4320.00.
Does that make sense. All other parts of the formula are working, just not the last part. It's saying exactly (C3*8*30) on the cell value. How do I change it?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I tried looking up the response in the wonderful threads and articles, but could not find it.

Can someone help?

This is my formula:

=IF(E3="","N/A",IF(E3<$G$18,"N/A",IF(E3>$G$18,"(C3*8*30)")))

The part at the end (C3*8*30) is supposed to be a formula that gives me a result. Like C3 cell is $18, so it should give me a result of $4320.00.
Does that make sense. All other parts of the formula are working, just not the last part. It's saying exactly (C3*8*30) on the cell value. How do I change it?
What should happen if E3 = $G$18?
 
Upvote 0
Although it worked for the formula. It nullified the "N/A" from before.

Does that make sense?
 
Upvote 0
Thank you, with your help, I figured it out.

Here is the formula that worked across the board:

=IF(E3="","N/A",IF(E3=$G$18,"N/A",IF(E3<$G$18,"N/A",IF(E3>$G$18,C3*8*30))))
 
Upvote 0
Thank you, with your help, I figured it out.

Here is the formula that worked across the board:

=IF(E3="","N/A",IF(E3=$G$18,"N/A",IF(E3<$G$18,"N/A",IF(E3>$G$18,C3*8*30))))
We can reduce that a bit...

=IF(OR(E3="",E3=$G$18,E3<$G$18),"N/A",C3*240)
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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