PC Review


Reply
Thread Tools Rate Thread

Calculating daily totals from multiple worksheets (Excel 2003)

 
 
Dhardy
Guest
Posts: n/a
 
      20th Apr 2010
Good Morning,

I am working on a stat log that needs to provide daily, weekly and monthly
totals for each staff member.

I need excel to count the # of "x" in D61000 (for each worksheet) if the
date in A6:A1000 is 4/1/2010.

I have tried several different functions/formulas and I have not received
the response I am looking for.

Thanks in advance for your help!
DesireƩ
 
Reply With Quote
 
 
 
 
Luke M
Guest
Posts: n/a
 
      20th Apr 2010
Select all your sheets that have data (Use Shift and/or Ctrl)
In an unused cell (say Z1) input:
=SUMPRODUCT(--(D61000="x"),--(A6:A1000=DATEVALUE("4/1/2010")))

This will place this formula in all the data sheets. On your summary sheet,
input something like:
=SUM('Sheet 1:Sheet 5'!Z1)

This is a 3D formula.

--
Best Regards,

Luke M
"Dhardy" <(E-Mail Removed)> wrote in message
news:6C7A6B26-15C0-4223-8984-(E-Mail Removed)...
> Good Morning,
>
> I am working on a stat log that needs to provide daily, weekly and monthly
> totals for each staff member.
>
> I need excel to count the # of "x" in D61000 (for each worksheet) if the
> date in A6:A1000 is 4/1/2010.
>
> I have tried several different functions/formulas and I have not received
> the response I am looking for.
>
> Thanks in advance for your help!
> Desireé



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      20th Apr 2010
You can adapt this to your needs based on a list of sheet names in col F.
Also works with a define name

=SUMPRODUCT(SUMIF(INDIRECT(OFFSET(LU!F1,,,COUNTA(LU!F:F))&"!B1"),"PMI",INDIRECT(OFFSET(LU!F1,,,COUNTA(LU!F:F))&"!A3")))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Dhardy" <(E-Mail Removed)> wrote in message
news:6C7A6B26-15C0-4223-8984-(E-Mail Removed)...
> Good Morning,
>
> I am working on a stat log that needs to provide daily, weekly and monthly
> totals for each staff member.
>
> I need excel to count the # of "x" in D61000 (for each worksheet) if the
> date in A6:A1000 is 4/1/2010.
>
> I have tried several different functions/formulas and I have not received
> the response I am looking for.
>
> Thanks in advance for your help!
> DesireƩ


 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      20th Apr 2010
Suppose in your Summary sheet you use 2 cells to record the variables
- eg. put "x" in A1 and the date 4/1/2010 in B1. Then you can Group
all the other sheets together (select the first of those sheets, hold
down the CTRL key and click on the tab for the last sheet), ensuring
that the Summary sheet is outside the selected group of sheets. Then
you can enter this formula in a particular cell (eg X1):

=SUMPRODUCT(--(D$6$1000=Summary!A1),--(A$6:A$1000=Summary!B1))

As the sheets are all grouped together this formula will be placed
into that same cell in every sheet, but you will only have to type it
once yourself. The formula will give you a count for each sheet. Now
you should ungroup the sheets by clicking on the tab for the Summary
sheet (or you could right-click on one of the sheet tabs and click
Ungroup Sheets).

Then in C1 (say) of your Summary sheet you can enter:

=SUM(first:last!X1)

where first and last are the names of your sheets that form the range
you want to count from - you could insert two blank sheets called
first and last and position first so that it is after the Summary
sheet but before the other sheets and position last so that it is at
the end of your sheets (thus forming a "sandwich" of sheets with
Summary outside them). This would enable you quite easily to move
sheets into or out of the sandwich to model different situations if
you wished to.

Now, you can easily change the "x" in A1 or the date in B1 to get a
new count.

If you have other conditions that you want to count then you could put
these in A2 and B2, and use a similar formula in X2 of the detailed
sheets, and so on.

Hope this helps.

Pete

On Apr 20, 6:27*pm, Dhardy <Dha...@discussions.microsoft.com> wrote:
> Good Morning,
>
> I am working on a stat log that needs to provide daily, weekly and monthly
> totals for each staff member.
>
> I need excel to count the # of "x" in D61000 (for each worksheet) if the
> date in A6:A1000 is 4/1/2010.
>
> I have tried several different functions/formulas and I have not received
> the response I am looking for.
>
> Thanks in advance for your help!
> Desireé


 
Reply With Quote
 
Dhardy
Guest
Posts: n/a
 
      20th Apr 2010
Thanks Luke,

Is there a similar formula that will sum the dollar amounts in column P if
the date in column A is 4/1/2010. Can you help with that too?

DesireƩ

"Luke M" wrote:

> Select all your sheets that have data (Use Shift and/or Ctrl)
> In an unused cell (say Z1) input:
> =SUMPRODUCT(--(D61000="x"),--(A6:A1000=DATEVALUE("4/1/2010")))
>
> This will place this formula in all the data sheets. On your summary sheet,
> input something like:
> =SUM('Sheet 1:Sheet 5'!Z1)
>
> This is a 3D formula.
>
> --
> Best Regards,
>
> Luke M
> "Dhardy" <(E-Mail Removed)> wrote in message
> news:6C7A6B26-15C0-4223-8984-(E-Mail Removed)...
> > Good Morning,
> >
> > I am working on a stat log that needs to provide daily, weekly and monthly
> > totals for each staff member.
> >
> > I need excel to count the # of "x" in D61000 (for each worksheet) if the
> > date in A6:A1000 is 4/1/2010.
> >
> > I have tried several different functions/formulas and I have not received
> > the response I am looking for.
> >
> > Thanks in advance for your help!
> > DesireƩ

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Totals Across Multiple Worksheets snowboardbaltimore Microsoft Excel Worksheet Functions 2 17th Apr 2010 06:28 PM
Calculating group totals for multiple var's. =?Utf-8?B?Sm9vc3QgZGUgVnJpZXM=?= Microsoft Access Reports 1 23rd Feb 2007 01:14 PM
Adding up multiple worksheets by name and totals =?Utf-8?B?S2lsbGVy?= Microsoft Excel Worksheet Functions 5 2nd Jan 2007 11:05 AM
How can I calculate weekly totals of daily data in Excel =?Utf-8?B?QmFycnlTYW5kZWxs?= Microsoft Excel Worksheet Functions 4 8th Oct 2005 04:28 AM
Need formula for calculating totals to range by using multiple cel =?Utf-8?B?anVzdGFndXlmcm9ta3k=?= Microsoft Excel Programming 3 30th Dec 2004 01:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:47 AM.