Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve_C
 
Posts: n/a
Default Advanced Lookup w/Dates

I am trying to do a forcast sheet for one customer. Here is the genral
layout of the sheet I am pulling data from.
P/N QTY Ship Date
a 5 2/7/06
a 2 3/5/06
a 8 3/5/06

What I need is the sum of Part "a" by ship date. Here is what I am using
now. This works but does not sum the quantitys with the same ship date.
INDEX(INDIRECT("'"&$S$9&"'!$Q$2:$Q$5"),MATCH($Q11& "_"&$R11,INDIRECT("'"&$S$9&"'!$F$2:$F$5")&"_"&INDI RECT("'"&$S$9&"'!$P$2:$P$5"),0))

Thanks
Steve_C
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Advanced Lookup w/Dates


I can't work out your references but if you potentially have more than
one quantity for a specific part number and ship date you probably need
a different formula e.g.

=SUMPRODUCT(--(F2:F5=X1),--(G2:G5=Y1),H2:H5)

where F2:F5 contain your part numbers and X1 the specific part you wish
to sum for and G2:G5 contains your dates and Y1 your specific date,
H2:H5 contains your quantities


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=509520

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve_C
 
Posts: n/a
Default Advanced Lookup w/Dates

YOU ROCK!!
That works perfectly!

Thank you!
Steve

"daddylonglegs" wrote:


I can't work out your references but if you potentially have more than
one quantity for a specific part number and ship date you probably need
a different formula e.g.

=SUMPRODUCT(--(F2:F5=X1),--(G2:G5=Y1),H2:H5)

where F2:F5 contain your part numbers and X1 the specific part you wish
to sum for and G2:G5 contains your dates and Y1 your specific date,
H2:H5 contains your quantities


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=509520


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
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 12:16 PM.

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"