ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   add cells on multiple worksheets using specific criteria (https://www.excelbanter.com/excel-worksheet-functions/180970-add-cells-multiple-worksheets-using-specific-criteria.html)

edwgolz

add cells on multiple worksheets using specific criteria
 
I have a workbook that has a sheet for each month with vendor data. I'd like
to add all the cells for each particular vendor on an overview sheet. Any
ideas?

Bob Phillips

add cells on multiple worksheets using specific criteria
 

=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C3&"'!A2:A20")," vendor",INDIRECT("'"&C1:C3&"'!B2:B20")))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.



--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"edwgolz" wrote in message
...
I have a workbook that has a sheet for each month with vendor data. I'd
like
to add all the cells for each particular vendor on an overview sheet. Any
ideas?




Steve

add cells on multiple worksheets using specific criteria
 
I used this formula with a project and came up with a #NAME error. It looks
like =SUMPRODUCT(SUMIF(INDIRECT("'"&first:last&"'!B17:B 42"),"2x4x16
PT",INDIRECT("'"&first:last&"'!C17:B42"))) what am I doing wrong. Frustrated!

"Bob Phillips" wrote:


=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C3&"'!A2:A20")," vendor",INDIRECT("'"&C1:C3&"'!B2:B20")))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.



--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"edwgolz" wrote in message
...
I have a workbook that has a sheet for each month with vendor data. I'd
like
to add all the cells for each particular vendor on an overview sheet. Any
ideas?






All times are GMT +1. The time now is 08:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com