Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Adding multiple intances from several sheets?

I use a timesheet in my job & I want to total project times over the course
of the year.

There are 52 sheets, one for each work week, plus a totals sheet. I want
excel to look in column c for of each sheet a given project number and add
the time in column f. I can do it for one sheet but I get value! when I try
to specify a range of sheets.

The sheets are set up like this:

Date Acronym Project No. Phase Description Hours
11-20-09 CHLFD 091102 V Plans 7.5
11-20-09 JDSF 091021 C ELEVATION 2.0
11-21-09 CHLFD 091102 V Plans 9.5


I can get it to do one sheet with
=sumif('week 21'!C9:C31,091102,'week 21'!F9:F31)

When I try to do a range of sheets with
=sumif('week 21:week 45'!C9:C31,091102,'week 21:week 45''!F9:F31)
I get a value! error.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Adding multiple intances from several sheets?

Try the below

=SUMPRODUCT(SUMIF(INDIRECT("'"&"week "&
ROW(INDIRECT("21:45"))&"'!C9:C31"),091102,INDIRECT ("'"&"week "&
ROW(INDIRECT("21:45"))&"'!F9:F31")))

If this post helps click Yes
---------------
Jacob Skaria


"cwcordell" wrote:

I use a timesheet in my job & I want to total project times over the course
of the year.

There are 52 sheets, one for each work week, plus a totals sheet. I want
excel to look in column c for of each sheet a given project number and add
the time in column f. I can do it for one sheet but I get value! when I try
to specify a range of sheets.

The sheets are set up like this:

Date Acronym Project No. Phase Description Hours
11-20-09 CHLFD 091102 V Plans 7.5
11-20-09 JDSF 091021 C ELEVATION 2.0
11-21-09 CHLFD 091102 V Plans 9.5


I can get it to do one sheet with
=sumif('week 21'!C9:C31,091102,'week 21'!F9:F31)

When I try to do a range of sheets with
=sumif('week 21:week 45'!C9:C31,091102,'week 21:week 45''!F9:F31)
I get a value! error.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Adding multiple intances from several sheets?

Thanks for your reply Jacob.

I put the function in just as you have it shown & got a #ref!. Do I need to
edit it in any way, such as insert sheet names? I'm a novice so I don't
understand what most of that function contains. I'm familiar with sumif but
the other and all the " I have not a clue. Thank you for your time and
patience.

"Jacob Skaria" wrote:

Try the below

=SUMPRODUCT(SUMIF(INDIRECT("'"&"week "&
ROW(INDIRECT("21:45"))&"'!C9:C31"),091102,INDIRECT ("'"&"week "&
ROW(INDIRECT("21:45"))&"'!F9:F31")))

If this post helps click Yes
---------------
Jacob Skaria


"cwcordell" wrote:

I use a timesheet in my job & I want to total project times over the course
of the year.

There are 52 sheets, one for each work week, plus a totals sheet. I want
excel to look in column c for of each sheet a given project number and add
the time in column f. I can do it for one sheet but I get value! when I try
to specify a range of sheets.

The sheets are set up like this:

Date Acronym Project No. Phase Description Hours
11-20-09 CHLFD 091102 V Plans 7.5
11-20-09 JDSF 091021 C ELEVATION 2.0
11-21-09 CHLFD 091102 V Plans 9.5


I can get it to do one sheet with
=sumif('week 21'!C9:C31,091102,'week 21'!F9:F31)

When I try to do a range of sheets with
=sumif('week 21:week 45'!C9:C31,091102,'week 21:week 45''!F9:F31)
I get a value! error.

Thanks.

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
adding stats from multiple sheets Dan Excel Discussion (Misc queries) 0 December 9th 08 04:42 PM
my pivot table does not count all intances of a text string Charlie Excel Discussion (Misc queries) 3 November 22nd 06 02:49 AM
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA Amaxwell Excel Worksheet Functions 4 August 17th 06 06:23 AM
adding off of multiple sheets bustanutti21 Excel Discussion (Misc queries) 1 December 23rd 05 07:41 PM
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. Steve Excel Worksheet Functions 6 November 24th 04 12:10 AM


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