Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jazzydwit
 
Posts: n/a
Default multiple nested IF statements

Hi.
This may be simple, (and hope you understand what I am trying to do)
but I can't get it to work.
Basically, I am trying to determine if a person is eligible based on
hire or rehire dt but also may or may not be based on basic or nonbasic
dt. I have HIRE (A2), REHIRE (B2), BASIC (C2) and NONBASIC (D2) dt.
How do I set up nested IF statements to determine if HIRE or REHIRE dt
is < = than 1/4/05? If eligible, Yes. And if BASIC OR NONBASIC dt is
= 1/4/05, Check. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default multiple nested IF statements

=IF(OR(OR(HIRE<=DATE(2005,4,1),REHIRE<=DATE(2005,4 ,1)),OR(BASIC=DATE(2005,4
,1),NONBASIC=DATE(2005,4,1))),"yes","no")

is my best guess at what you are saying

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jazzydwit" wrote in message
oups.com...
Hi.
This may be simple, (and hope you understand what I am trying to do)
but I can't get it to work.
Basically, I am trying to determine if a person is eligible based on
hire or rehire dt but also may or may not be based on basic or nonbasic
dt. I have HIRE (A2), REHIRE (B2), BASIC (C2) and NONBASIC (D2) dt.
How do I set up nested IF statements to determine if HIRE or REHIRE dt
is < = than 1/4/05? If eligible, Yes. And if BASIC OR NONBASIC dt is
= 1/4/05, Check. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jazzydwit
 
Posts: n/a
Default multiple nested IF statements

Actually, I am trying to use the IF statement for dates. My logic is if
A2 =<"1/4/2005", yes. If not, no. When I use the IF statement for the
dates i have, results are return as "yes". However, i do have dates
that is greater than 1/4/2005, which results should return as "no"

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jazzydwit
 
Posts: n/a
Default multiple nested IF statements

Sorry, but I continue to "yes" for all my dates.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jazzydwit
 
Posts: n/a
Default multiple nested IF statements

IT WORKED!! Some of my dates were not formatted correctly. THANKS!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add more than 7 if nested statements. 7 is the limit. RRS from Connecticut Excel Discussion (Misc queries) 7 September 23rd 05 07:35 PM
How to: Multiple "if" statements? Hosh New Users to Excel 2 June 29th 05 02:20 PM
how do I use multiple nested functions? TeeJay Excel Worksheet Functions 3 February 20th 05 05:09 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
Problem with data using IF and Nested IF statements possibly??? Ajay Excel Discussion (Misc queries) 2 December 9th 04 09:23 AM


All times are GMT +1. The time now is 01:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"