LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default If Than Statement

I was not sure on a descriptive Subject for this so I used If Than statement
due to if I were using Crystal Reports that is how I would do this:

I pulled this data from a Crystal report, the below are order promise dates
and order receipt dates. The first date is the Promise date the second is
the receipt date so in order to track on time shipments I would take the
first column and subtract the second however I came across several issues. 1.
is when you see a blank line that means the first row after that is a
different part number then the number above. 2. is that we may receive
several shipments of the same part with the same promise date. 3. is that you
will see on the last line that there are three rows and the last has a
different promise date which means on that order for that part number two
different promise dates were issued.

I started out with an IF statement that stated that if receipt date is
receipt date above it then subtract that receipt date from the promise date
to get days late. This worked for two row but caused issues when it got to a
blank row and a single row of dates. So I am not sure how to get past that,
then on the last group when it changes promise dates I don't know how to get
past that issue either.

Any ideas for me to try??

3/28/2008 5/9/2008

4/11/2008 5/9/2008
4/11/2008 5/16/2008

5/16/2008 5/2/2008
5/16/2008 5/9/2008
6/13/2008 5/9/2008



 
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
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 01:55 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"