Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Take one sales order and compare all ship dates for that order.

Hello

I am pulling my hair for a solution for this problem.

I have a data sheet with information on ship-dates for each ship-to address.

Each ship-to address has several Sales order. And each sales order has either same or different ship-dates based on workorder status.

I need to somehow be able to flag any sales order that is being shipped to the same ship to location within a difference of 3 days.

How do I do this?


Data:

Address Ship Date Sales Order #
12342 9/21/2009 6192149
12342 9/19/2009 6192149
12342 9/24/2009 6192149


EggHeadCafe - Software Developer Portal of Choice
WCF Workflow Services Using External Data Exchange
http://www.eggheadcafe.com/tutorials...vices-usi.aspx
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Take one sales order and compare all ship dates for that order.

=IF(SUMPRODUCT(--(A$2:A$100=$C$2),--(B$2:B$100=$D$2-3),--(B$2:B$100<=$D$2+3))1,"Flagged","")

Replace C2 and D2 with the actual references to the cells with the data you
want to check (address and ship date, respectively). Then copy the formula
down.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Mudassir Ahmed" wrote:

Hello

I am pulling my hair for a solution for this problem.

I have a data sheet with information on ship-dates for each ship-to address.

Each ship-to address has several Sales order. And each sales order has either same or different ship-dates based on workorder status.

I need to somehow be able to flag any sales order that is being shipped to the same ship to location within a difference of 3 days.

How do I do this?


Data:

Address Ship Date Sales Order #
12342 9/21/2009 6192149
12342 9/19/2009 6192149
12342 9/24/2009 6192149


EggHeadCafe - Software Developer Portal of Choice
WCF Workflow Services Using External Data Exchange
http://www.eggheadcafe.com/tutorials...vices-usi.aspx

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
Sales Order to Sales History Data Koomba Excel Worksheet Functions 0 October 2nd 08 01:09 AM
Linking Sales Order to Sales History Data Koomba Excel Worksheet Functions 6 September 30th 08 06:06 AM
How stop Excel file UK date order changing to US order in m.merge Roger Aldridge Excel Discussion (Misc queries) 1 October 9th 07 11:52 PM
How do I create a sales order number automatically? MerlinGirl Excel Worksheet Functions 1 July 2nd 06 06:03 AM
Daily Macro to Download Data, Order and paste in order Iarla Excel Worksheet Functions 1 November 17th 04 01:59 PM


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