• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

IF with multiple criteria - if <22, +1

Hi,

I already have a formula that is fit for purpose, to apply two different calculations.

What I would like it to do is if someone is <22 in column S, I need to increase it by 1 in the formula before it completes the calculation i.e. if someone's age is < 22 I would like it to add 1 before applying the rest of the formula i.e. 16 will become 17, 17 will become 18 etc. I haven't uploaded a file at this stage due to the file limitations.

=IF($S49<22,INDEX('FY21 Award Pay Rates'!$D$29:$D$50,MATCH($M49&"¬"&$S49,'FY21 Award Pay Rates'!$B$29:$B$50&"¬"&'FY21 Award Pay Rates'!$C$29:$C$50,0))*SUM(VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0)),VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0))

If anyone can help, that would be great.

thanks Kelli
 
Probably you can add one more IF like below (untested)

=IF($S49<22,
INDEX('FY21 Award Pay Rates'!$D$29:$D$50,MATCH($M49&"¬"&IF($S49<22,$S49+1,$S49),'FY21 Award Pay Rates'!$B$29:$B$50&"¬"&'FY21 Award Pay Rates'!$C$29:$C$50,0))*SUM(VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0)),
VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0))
 
Probably you can add one more IF like below (untested)

=IF($S49<22,
INDEX('FY21 Award Pay Rates'!$D$29:$D$50,MATCH($M49&"¬"&IF($S49<22,$S49+1,$S49),'FY21 Award Pay Rates'!$B$29:$B$50&"¬"&'FY21 Award Pay Rates'!$C$29:$C$50,0))*SUM(VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0)),
VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0))
Thank you so much! this is a life saver.

take care, Kelli
 
Back
Top