Hello everyone! So I'm really new to Excel formulas so I'm sure I'm doing everything the hardest possible way. Below is my mini sheet and here's what I'm trying to do:
In Column O "Salary Actual" I'm attempting to populate salaries by the number of years in Column I. I've used IF functions to set a scale that returns the salary in Column J if the year is 9 or less, Column K if the year is between 10 and 19, and Column L if the year is 20 or more. What I haven't been able to figure out is how to get the MA (masters) in Column M to properly reflect in my formula. I'm sure there's a better way to do it but in the meantime I have set up Column N to reflect "Y" for yes if the person has a masters (MA) but I can't figure out how to make it translate into my "Salary Actual" column. I think it will show in my mini sheet that the IF formula is returning results in Column O correctly up until I have a "Y" in Column N. So, essentially, I need to find a way to calculate the MA column into my Salary Actual column when there is a Y in column N. Any help anyone can provide would be most appreciated. This is a real world scenario and I really need these numbers to add up correctly. I also need it to be dynamic because I will be adding more "Y"'s in column N here in the next week.
Thank you for your time and attention in this matter.
In Column O "Salary Actual" I'm attempting to populate salaries by the number of years in Column I. I've used IF functions to set a scale that returns the salary in Column J if the year is 9 or less, Column K if the year is between 10 and 19, and Column L if the year is 20 or more. What I haven't been able to figure out is how to get the MA (masters) in Column M to properly reflect in my formula. I'm sure there's a better way to do it but in the meantime I have set up Column N to reflect "Y" for yes if the person has a masters (MA) but I can't figure out how to make it translate into my "Salary Actual" column. I think it will show in my mini sheet that the IF formula is returning results in Column O correctly up until I have a "Y" in Column N. So, essentially, I need to find a way to calculate the MA column into my Salary Actual column when there is a Y in column N. Any help anyone can provide would be most appreciated. This is a real world scenario and I really need these numbers to add up correctly. I also need it to be dynamic because I will be adding more "Y"'s in column N here in the next week.
Thank you for your time and attention in this matter.
Cell Formulas | ||
---|---|---|
Range | Formula | |
I2:I12 | I2 | =DATEDIF(C2,TODAY(),"y") |
J2:J12 | J2 | =VLOOKUP($I2,'24_25 Salary'!$A$2:$E$42,2) |
K2:K12 | K2 | =VLOOKUP($I2,'24_25 Salary'!$A$2:$E$42,3) |
L2:L12 | L2 | =VLOOKUP($I2,'24_25 Salary'!$A$2:$E$42,4) |
M2:M12 | M2 | =VLOOKUP($I2,'24_25 Salary'!$A$2:$E$42,5) |
O2:O12 | O2 | =IF([@[Years ]]<=9,[@BA],IF([@[Years ]]<=19,[@[BA+10]],IF([@[Years ]]>=20,[@[BA+20]],IF(AND([@[Years ]]>=0,SEARCH("Y",[@Masters])),[@MA])))) |