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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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
You are welcome!:)
 
Upvote 0

Forum statistics

Threads
1,215,530
Messages
6,125,347
Members
449,220
Latest member
Edwin_SVRZ

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