Query on IF Function and Date Field

Thankyou!

New Member
Joined
Aug 21, 2002
Messages
4
Apologies if this has been covered before, but I have done a search on various keywords but can't seem to find the answer ! anyway enough babbling here is my query !

I want to use the IF function for a date field

e.g (in plain language) IF C6 > 01SEP02 Then Multiply E6 by 50 otherwise by 30

I just cant seem to get it to recognise the date.

many tks

rgds

E
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi there, looking at this all you need to do is the following:

=IF(C5>DATEVALUE("01/09/02"),(F1*50),(F1*30))

where C5 equals the date and F1 equals the amount you want to multiply by.

Hope this helps.

Cheers,
 
Upvote 0

Forum statistics

Threads
1,203,073
Messages
6,053,381
Members
444,660
Latest member
Mingalsbe

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