year 2010 not working in IF

S

SLP

Hi. I have a nested IF statement that works just fine until the date changes
to any date including and past 1/1/2010. The IF statement is:

=IF(AND($H2="A",EmployeeData!AX4<Information!$H$12),Information!$B$14,IF(AND($H2="A",EmployeeData!AX4<Information!$H$17),Information!$B$18,IF(AND($H2="A",EmployeeData!AX4<Information!$H$21),Information!$B$22,IF(AND($H2="A",EmployeeData!AX4<Information!$H$25)<Information!$B$26,IF(AND($H2="A",EmployeeData!AX4<Information!$H$29)<Information,$B$30,"0")))))

The EmployeeData sheet lists the months for salaries. The information sheet
lists the Health Plan amounts. The formula works great unless the dates on
the EmployeeData sheet are in the years 2010 or higher.

Any ideas on what is happening? Thanks in advance.
 
R

Roger Govier

Hi
What you have is

=
IF(AND($H2="A",EmployeeData!AX4<Information!$H$12),Information!$B$14,
IF(AND($H2="A",EmployeeData!AX4<Information!$H$17),Information!$B$18,
IF(AND($H2="A",EmployeeData!AX4<Information!$H$21),Information!$B$22,
IF(AND($H2="A",EmployeeData!AX4<Information!$H$25)<Information!$B$26,
IF(AND($H2="A",EmployeeData!AX4<Information!$H$29)<Information,$B$30,"0")))))

In the 4th and 5th lines, you have < in place of ,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

enter value if 2 criteria are met 5
IF nested problem ..! 2
Problem with SUMPRODUCT 6
If, And, Isnumber statement 5
SUMIF 7
Excel A CountIF question... I think 2
Get value at end of a row 2
Conditional formating 3

Top