IF function

kradclayton

New Member
Joined
Oct 2, 2020
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I need help on a multiple tiered IF function.

I have a current IF formula - =IF(I2<5,5,CEILING(I2/3,10)) however I now need to add another criteria to the formula to look at disregarding this formula if the minimum of date created is newer than 01/01/2021, in which case id like it to return a 10.

here's the below columns I'm using:

Minimum of fdate created = H
Count of Samples purchase LTM = I

Minimum of Date CreatedCount of Samples purchase LTM
11-Jul-16​
350​
28-Jul-16​
321​
11-Jul-16​
318​
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Maybe
Excel Formula:
=IF(H2>=DATE(2021,1,1),10,IF(I2<5,5,CEILING(I2/3,10)))
 
Upvote 0
Great thank you! Is there a way to also caveat the date criteria by if the date is newer than 01,01,2021 AND count is higher than 10 then continue with the IF<5,5,CELING(I2/3,10)?
 
Upvote 0
Like this?
Excel Formula:
=IF(AND(I2<5,H2<DATE(2021,1,1)),5,CEILING(I2/3,10)))
The logic in your posts is contradicting itself so I've had to take a guess on what is actually required.
 
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,944
Members
449,198
Latest member
MhammadishaqKhan

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