Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Summing the number of incomplete jobs within a date range -sumprod

Hello,

I need help figuring out a formula that counts the number of incomplete jobs
for a specific worker that are within the next seven days. I would only want
to count the "Date Completed" column if it was blank and within seven days
from today's date. I've tried using sumproduct, but I can't seem to figure
out how to get the date calculations to work properly.

My data looks similar to this

Worker Due Date Date Completed
Bob 1/18/2010 1/13/2010
Bob 1/21/2010
Bob 2/20/2010
Tom 1/20/2010
Tom 2/10/2010 1/10/2010

You help is much appreciated.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Summing the number of incomplete jobs within a date range -sum

That's great! It gets me the number for the first worker.

I'm trying to build a summary table, so how would I create those numbers for
each worker? I could be an ID10T and have missed your point. Do I need column
A in there somewhere?

"Don Guillett" wrote:

=SUMPRODUCT(--(B2:B22<"")*--(B2:B22TODAY()+7),--(C2:C22<""))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Deckbeers" wrote in message
...
Hello,

I need help figuring out a formula that counts the number of incomplete
jobs
for a specific worker that are within the next seven days. I would only
want
to count the "Date Completed" column if it was blank and within seven days
from today's date. I've tried using sumproduct, but I can't seem to figure
out how to get the date calculations to work properly.

My data looks similar to this

Worker Due Date Date Completed
Bob 1/18/2010 1/13/2010
Bob 1/21/2010
Bob 2/20/2010
Tom 1/20/2010
Tom 2/10/2010 1/10/2010

You help is much appreciated.


.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Summing the number of incomplete jobs within a date range -sumprod

Try these:

=SUM(IF(A5:A9="Bob",IF(C5:C9="",1,0),0))

Enter with CTRL + SHIFT + ENTER, you will get { } around the formula. Note
that Bob can be a cell reference (F1 here) from a drop down list.

=SUM(IF(A5:A9=F1,IF(C5:C9="",1,0),0))

Also entered with with CTRL + SHIFT + ENTER.

or with a simple ENTER

=SUMPRODUCT((A5:A9="Bob")*(C5:C9=""))

Which can also be a cell reference for the name and use ENTER.

=SUMPRODUCT((A5:A9=F1)*(C5:C9=""))

HTH
Regards,
Howard

"Deckbeers" wrote in message
...
Hello,

I need help figuring out a formula that counts the number of incomplete
jobs
for a specific worker that are within the next seven days. I would only
want
to count the "Date Completed" column if it was blank and within seven days
from today's date. I've tried using sumproduct, but I can't seem to figure
out how to get the date calculations to work properly.

My data looks similar to this

Worker Due Date Date Completed
Bob 1/18/2010 1/13/2010
Bob 1/21/2010
Bob 2/20/2010
Tom 1/20/2010
Tom 2/10/2010 1/10/2010

You help is much appreciated.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Summing the number of incomplete jobs within a date range -sumprod

I assume that the asterisk was intended to be a comma, Don? You wouldn't
need the first two double unary minuses if you were doing the multiplication
with an asterisk, of course.
--
David Biddulph


Don Guillett wrote:
=SUMPRODUCT(--(B2:B22<"")*--(B2:B22TODAY()+7),--(C2:C22<""))

Hello,

I need help figuring out a formula that counts the number of
incomplete jobs
for a specific worker that are within the next seven days. I would
only want
to count the "Date Completed" column if it was blank and within
seven days from today's date. I've tried using sumproduct, but I
can't seem to figure out how to get the date calculations to work
properly. My data looks similar to this

Worker Due Date Date Completed
Bob 1/18/2010 1/13/2010
Bob 1/21/2010
Bob 2/20/2010
Tom 1/20/2010
Tom 2/10/2010 1/10/2010

You help is much appreciated.





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Summing the number of incomplete jobs within a date range -sumprod

Thank you everyone for providing such great guidance!

I am getting the expected results now, and more importantly my boss will be
off my back for a few days.

"Deckbeers" wrote:

Hello,

I need help figuring out a formula that counts the number of incomplete jobs
for a specific worker that are within the next seven days. I would only want
to count the "Date Completed" column if it was blank and within seven days
from today's date. I've tried using sumproduct, but I can't seem to figure
out how to get the date calculations to work properly.

My data looks similar to this

Worker Due Date Date Completed
Bob 1/18/2010 1/13/2010
Bob 1/21/2010
Bob 2/20/2010
Tom 1/20/2010
Tom 2/10/2010 1/10/2010

You help is much appreciated.

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
Help with summing a range based on a date VinceW Excel Worksheet Functions 2 October 29th 09 04:20 PM
Help summing a range base on a date VinceW Excel Worksheet Functions 3 October 28th 09 10:16 PM
SumProd from 2 columns and date range roy.okinawa Excel Worksheet Functions 6 October 27th 09 03:31 AM
summing up hours spent on jobs kayti57 Excel Discussion (Misc queries) 2 November 29th 06 05:51 AM
summing a date range david72 Excel Discussion (Misc queries) 1 May 18th 06 01:14 PM


All times are GMT +1. The time now is 03:13 PM.

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"