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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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