#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMPRODUCT Help

I'm not sure how you arrived at the figs in the "#waiting" col.

Anyway here's some thoughts expressed/illustrated in this sample:
http://www.savefile.com/files/991574
Waiting Line Counts.xls

2 scenarios are given:
1. With col C (Start_wait) as-is
2. With col C filled down, using Sub FillColBlanks() by Dave Peterson**

For each scenario, the formula placed in B2, copied down is:
=IF(OR(C2="",D2=""),"",SUMPRODUCT((A$2:A$100=C2)* (A$2:A$100<=D2)*(A$2:A$100<"")))

Hope one of the 2 scenarios brings you closer to your intents ..

**See Debra Dalgleish's:
http://www.contextures.com/xlDataEntry02.html
Excel -- Data Entry -- Fill Blank Cells

Fill Blank Cells
Fill Blank Cells Programmatically
(Sub FillColBlanks() by Dave Peterson)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Zb Kornecki" wrote:
Max This is working only not quite the way I was hoping the # waiting colunm
should show of those that were currently in waiting status as each
individulal arrives.
Thank you for your time and help w/ this. i was thinking sum products but
maybe there is another way to do this. I'm open to suggestions.

zb

I did a copy an paste of a csv for an example
Arrival,#waiting,Start_wait,End_wait
07/05/2007 03:20 AM,0,,07/05/2007 05:15 AM
07/05/2007 03:37 AM,12,07/05/2007 07:20 AM,07/05/2007 04:36 PM
07/05/2007 04:07 AM,0,,07/05/2007 08:32 AM
07/05/2007 03:45 AM,0,,07/05/2007 01:50 PM
07/05/2007 04:38 AM,0,,07/05/2007 01:03 PM
07/05/2007 04:12 AM,0,,07/05/2007 08:56 AM
07/05/2007 04:46 AM,0,07/05/2007 09:48 AM,07/05/2007 04:36 PM
07/05/2007 05:18 AM,0,,07/05/2007 01:07 PM
07/05/2007 06:53 AM,0,,07/05/2007 01:44 PM
07/05/2007 07:12 AM,0,,07/05/2007 12:16 PM
07/05/2007 07:10 AM,0,,07/05/2007 01:45 PM
07/05/2007 07:47 AM,1,,07/05/2007 01:09 PM
07/05/2007 07:53 AM,1,,07/05/2007 12:43 PM
07/05/2007 07:59 AM,1,,07/05/2007 04:18 PM
07/05/2007 08:01 AM,1,07/05/2007 10:21 AM,07/05/2007 05:26 PM
07/05/2007 08:32 AM,1,,07/05/2007 12:08 PM
07/05/2007 09:38 AM,1,,07/05/2007 12:16 PM
07/05/2007 09:52 AM,2,,07/05/2007 07:19 PM
07/05/2007 09:56 AM,2,,07/05/2007 03:56 PM
07/05/2007 09:54 AM,2,,07/05/2007 03:13 PM
07/05/2007 10:24 AM,3,,07/05/2007 02:44 PM
07/05/2007 10:25 AM,1,,07/05/2007 04:43 PM
07/05/2007 10:38 AM,0,,07/05/2007 07:45 PM

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
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Using SumProduct in VB Michael Excel Discussion (Misc queries) 4 November 10th 05 06:16 PM
Sumproduct..help please Terry Excel Worksheet Functions 6 September 30th 05 08:53 AM
now() sumproduct. Nimit Mehta Excel Worksheet Functions 1 September 24th 05 03:41 PM
Sumproduct ?? PhilGTI Excel Worksheet Functions 3 September 22nd 05 05:41 PM


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