Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default SUMIF across multiple worksheets in another workbook

I've tried reading other peoples' questions, but I can't seem to modify the
examples to fit my needs.

I have each month's commission payments from our clients on a seperate
worksheet (named January, February, March etc.) which is in another workbook
which may or may not be open. It's probably also worth noting that several of
the sheets are currently blank.

I want to be able create something similar to:

=SUMIF('[Workbook.xls]January:December'!B:B,"Client ID
number",'[Workbook.xls]January:December'!E:E)

where column B of each sheet contains each client's ID number & column E
shows how much they've paid.

Once I've managed this, I need to average the result over the number of
months completed so far (and hopefully have the formula update its result as
new data is entered in my source workbook.)

This feels like a big ask, but if anyone can help it would be greatly
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 459
Default SUMIF across multiple worksheets in another workbook

BOBODD wrote:
I've tried reading other peoples' questions, but I can't seem to
modify the examples to fit my needs.

I have each month's commission payments from our clients on a seperate
worksheet (named January, February, March etc.) which is in another
workbook which may or may not be open. It's probably also worth
noting that several of the sheets are currently blank.

I want to be able create something similar to:

=SUMIF('[Workbook.xls]January:December'!B:B,"Client ID
number",'[Workbook.xls]January:December'!E:E)

where column B of each sheet contains each client's ID number &
column E shows how much they've paid.


First of all you cannot use 3D references with SUMIF function. So you should
have a SUMIF for each month and than sum together.

The SUMIF function needs the second workbook (the one you are summing from)
to be opened, because if it's closed the function gives a #VALUE! error. You
can use, instead of SUMIF, the SUMPRODUCT function, remembering that you
cannot use whole columns inside this function and that you cannot use 3D
references, so your formula could be something like this:

=SUMPRODUCT(('[Workbook.xls]January'!B2:B1000="Client ID
number")*('[Workbook.xls]January'!E2:E1000))

then you have to replicate the formula for each month and then sum together.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default SUMIF across multiple worksheets in another workbook

Thanks.

I was afraid of that. I've currently got things set up where it sums each
month individually, but I was hoping for a more elegant solution.

"Franz Verga" wrote:

BOBODD wrote:
I've tried reading other peoples' questions, but I can't seem to
modify the examples to fit my needs.

I have each month's commission payments from our clients on a seperate
worksheet (named January, February, March etc.) which is in another
workbook which may or may not be open. It's probably also worth
noting that several of the sheets are currently blank.

I want to be able create something similar to:

=SUMIF('[Workbook.xls]January:December'!B:B,"Client ID
number",'[Workbook.xls]January:December'!E:E)

where column B of each sheet contains each client's ID number &
column E shows how much they've paid.


First of all you cannot use 3D references with SUMIF function. So you should
have a SUMIF for each month and than sum together.

The SUMIF function needs the second workbook (the one you are summing from)
to be opened, because if it's closed the function gives a #VALUE! error. You
can use, instead of SUMIF, the SUMPRODUCT function, remembering that you
cannot use whole columns inside this function and that you cannot use 3D
references, so your formula could be something like this:

=SUMPRODUCT(('[Workbook.xls]January'!B2:B1000="Client ID
number")*('[Workbook.xls]January'!E2:E1000))

then you have to replicate the formula for each month and then sum together.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



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
Print all charts in a workbook (multiple worksheets) aewsaws Charts and Charting in Excel 4 May 12th 23 03:45 AM
Sumif across multiple worksheets Ted Metro Excel Worksheet Functions 2 December 19th 05 10:40 PM
How do I duplicate value in multiple worksheets in same workbook? jwnorris Excel Discussion (Misc queries) 3 December 4th 05 08:01 PM
Linking between multiple worksheets, workbooks and columns cmvbfore Excel Discussion (Misc queries) 0 October 4th 05 06:58 PM
SUMif or SUMproduct across multiple worksheets? Eric Shamlin Excel Worksheet Functions 1 September 29th 05 09:55 AM


All times are GMT +1. The time now is 01:53 AM.

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"