Hello Chandoo,
I am a newbie here , came up with a problem with IF, AND, OR conditions. I have my columns like this:
Sno,Empname,Dept,Rating,DOJ,OldSalary,Increment,Bonus,New Salary.
To get a bonus of 40,000/-, he should be either from Sales dept OR Marketing dept AND his DOJ should be more than 7years till today + Rating should be more than 8pts.
I tried to construct IF,AND,OR's following combinations like this:
1. IF(OR(C2="Sales",C2="Marketing"),IF(AND(TODAY()-E2/365.25>=7,D2>=8),40000,0))
2. IF(AND(TODAY()-E2/365.25>=7,D2>=8),IF(OR(C2="Sales",C2="Marketing"),40000,0))
like this but its wrong and its not giving the required results properly as you can see. I think I have explained clearly but if you still need the download link, I can give post you later. Thank you.
Fareed Ahmed
I am a newbie here , came up with a problem with IF, AND, OR conditions. I have my columns like this:
Sno,Empname,Dept,Rating,DOJ,OldSalary,Increment,Bonus,New Salary.
To get a bonus of 40,000/-, he should be either from Sales dept OR Marketing dept AND his DOJ should be more than 7years till today + Rating should be more than 8pts.
I tried to construct IF,AND,OR's following combinations like this:
1. IF(OR(C2="Sales",C2="Marketing"),IF(AND(TODAY()-E2/365.25>=7,D2>=8),40000,0))
2. IF(AND(TODAY()-E2/365.25>=7,D2>=8),IF(OR(C2="Sales",C2="Marketing"),40000,0))
like this but its wrong and its not giving the required results properly as you can see. I think I have explained clearly but if you still need the download link, I can give post you later. Thank you.
Fareed Ahmed