Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Nested IF statements

Hello,

I have a huge spreadsheet that I am trying to gather some data in. I have
successfully entered a couple of nested if statements, but am having trouble
with one particular one. The table looks like this:
Column I Column J Column P Column Q
"Due MO's Completed Released On
Date" "Release Date" on Time Time Status

1/5/08 1/6/09 LATE FALSE
7/17/06 5/17/06 LATE ON TIME

The formula I am using is: =IF(AND(P51="LATE",J51<I51),"ON
TIME",IF(AND(P51="C",J51=I51),"LATE"))

As you can see, it is working in the second row, but I keep getting a false
in the last cell on the first row. I want it to return a "LATE". Can
someone please tell me what I have done wrong? Thanks in advance for any
assistance you can give me.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Nested IF statements

Sorry to bother who ever. I found my error. Thanks again. I have gotten a
lot of information just reading other people's posts and the replies back to
them.

"Valerie" wrote:

Hello,

I have a huge spreadsheet that I am trying to gather some data in. I have
successfully entered a couple of nested if statements, but am having trouble
with one particular one. The table looks like this:
Column I Column J Column P Column Q
"Due MO's Completed Released On
Date" "Release Date" on Time Time Status

1/5/08 1/6/09 LATE FALSE
7/17/06 5/17/06 LATE ON TIME

The formula I am using is: =IF(AND(P51="LATE",J51<I51),"ON
TIME",IF(AND(P51="C",J51=I51),"LATE"))

As you can see, it is working in the second row, but I keep getting a false
in the last cell on the first row. I want it to return a "LATE". Can
someone please tell me what I have done wrong? Thanks in advance for any
assistance you can give me.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Nested IF statements

Just in case:

The third argument of the second IF is empty, so Excel uses FALSE. You can
think of your formula like this:

=IF(AND(D5="LATE",C5<B5),"ON TIME",IF(AND(D5="C",C5=B5),"LATE",FALSE))

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Valerie" wrote:

Sorry to bother who ever. I found my error. Thanks again. I have gotten a
lot of information just reading other people's posts and the replies back to
them.

"Valerie" wrote:

Hello,

I have a huge spreadsheet that I am trying to gather some data in. I have
successfully entered a couple of nested if statements, but am having trouble
with one particular one. The table looks like this:
Column I Column J Column P Column Q
"Due MO's Completed Released On
Date" "Release Date" on Time Time Status

1/5/08 1/6/09 LATE FALSE
7/17/06 5/17/06 LATE ON TIME

The formula I am using is: =IF(AND(P51="LATE",J51<I51),"ON
TIME",IF(AND(P51="C",J51=I51),"LATE"))

As you can see, it is working in the second row, but I keep getting a false
in the last cell on the first row. I want it to return a "LATE". Can
someone please tell me what I have done wrong? Thanks in advance for any
assistance you can give me.



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
Nested IF statements Karrisac15 New Users to Excel 1 July 19th 07 08:06 PM
nested if statements Jeremy Excel Worksheet Functions 2 September 14th 06 08:08 PM
Nested If Statements Jasmine Excel Worksheet Functions 2 January 26th 06 03:47 PM
Help with Nested If Statements THEFALLGUY Excel Discussion (Misc queries) 6 September 3rd 05 10:03 AM
Do I need nested IF statements? Jaramya Excel Worksheet Functions 1 November 5th 04 09:10 PM


All times are GMT +1. The time now is 03:23 AM.

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

About Us

"It's about Microsoft Excel"