Change formula to perform different calc based on date in another cell

boznian

Board Regular
Joined
Mar 25, 2003
Messages
167
Hi- Current formula is an easy
=IF(F6,(G6*$H$2),"")
Need to change it to
=IF(F6,(*check date value in F6; if prior to 02/01/2018 then (G6*".6"), if after 02/01/2018 then (G6*$H$2),"")

Can someone help me with this? thx!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try:
Code:
=IF(F6,IF(F6 < DATE(2018,2,1),G6*0.6,G6*$H$2),"")
<date(2018,2,1),g6*.6,g6*$h$2),"")[ code]<="" html=""></date(2018,2,1),g6*.6,g6*$h$2),"")[>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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