ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date Comparison and IF statement (https://www.excelbanter.com/excel-worksheet-functions/65777-date-comparison-if-statement.html)

Holly

Date Comparison and IF statement
 
I would like to enter a formula to calculate the following

If an employee's date of hire is greater than 10 months from the last day of
the year and their skill level is not greater than or equal to LS2 I want a
return of 2

If their hire date is less than or equal to 12 months from the last day of
the year and their skill level is great than or equal to LO2 i want a return
of 4

A little background: I am using this information to score/grade employees on
knowledge level for year end reviews and will be using this formula from year
to year I would like to not have to update the formula each year with the
correct year end date (In this case I am completing year end reviews for
1/1/05-12/31/05)

Biff

Date Comparison and IF statement
 
Hi!

These are not valid logical expressions:

is not greater than or equal to LS2
is great[er] than or equal to LO2


The logical comparisons you want can only appy to numbers.

<10
=10


<LS2 ??????? What's less than LS2?

Biff

"Holly" wrote in message
...
I would like to enter a formula to calculate the following

If an employee's date of hire is greater than 10 months from the last day
of
the year and their skill level is not greater than or equal to LS2 I want
a
return of 2

If their hire date is less than or equal to 12 months from the last day of
the year and their skill level is great than or equal to LO2 i want a
return
of 4

A little background: I am using this information to score/grade employees
on
knowledge level for year end reviews and will be using this formula from
year
to year I would like to not have to update the formula each year with the
correct year end date (In this case I am completing year end reviews for
1/1/05-12/31/05)




Biff

Date Comparison and IF statement
 
I just realized that those might be cell references!!!!!!!!

Are they?

Biff

"Biff" wrote in message
...
Hi!

These are not valid logical expressions:

is not greater than or equal to LS2
is great[er] than or equal to LO2


The logical comparisons you want can only appy to numbers.

<10
=10


<LS2 ??????? What's less than LS2?

Biff

"Holly" wrote in message
...
I would like to enter a formula to calculate the following

If an employee's date of hire is greater than 10 months from the last day
of
the year and their skill level is not greater than or equal to LS2 I want
a
return of 2

If their hire date is less than or equal to 12 months from the last day
of
the year and their skill level is great than or equal to LO2 i want a
return
of 4

A little background: I am using this information to score/grade employees
on
knowledge level for year end reviews and will be using this formula from
year
to year I would like to not have to update the formula each year with the
correct year end date (In this case I am completing year end reviews for
1/1/05-12/31/05)






Biff

Date Comparison and IF statement
 
Doh!

I just realized that those might be cell references!!!!!!!!


Maybe I should call it a night!

Biff

"Biff" wrote in message
...
I just realized that those might be cell references!!!!!!!!

Are they?

Biff

"Biff" wrote in message
...
Hi!

These are not valid logical expressions:

is not greater than or equal to LS2
is great[er] than or equal to LO2


The logical comparisons you want can only appy to numbers.

<10
=10


<LS2 ??????? What's less than LS2?

Biff

"Holly" wrote in message
...
I would like to enter a formula to calculate the following

If an employee's date of hire is greater than 10 months from the last
day of
the year and their skill level is not greater than or equal to LS2 I
want a
return of 2

If their hire date is less than or equal to 12 months from the last day
of
the year and their skill level is great than or equal to LO2 i want a
return
of 4

A little background: I am using this information to score/grade
employees on
knowledge level for year end reviews and will be using this formula from
year
to year I would like to not have to update the formula each year with
the
correct year end date (In this case I am completing year end reviews for
1/1/05-12/31/05)








Holly

Date Comparison and IF statement
 
I realize after reading the reply that my verbage would have to be corrected
as follows

"Holly" wrote:

I would like to enter a formula to calculate the following

If an employee's date of hire is greater than 10 months from the last day of
the year and their skill level is not equal to LS2 I want a return of 2

If their hire date is less than or equal to 12 months from the last day of
the year and their skill level is equal to LO2 i want a return
of 4

A little background: I am using this information to score/grade employees on
knowledge level for year end reviews and will be using this formula from year
to year I would like to not have to update the formula each year with the
correct year end date (In this case I am completing year end reviews for
1/1/05-12/31/05)



All times are GMT +1. The time now is 08:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com