Sum Product

Veronica_sky

New Member
Joined
Dec 6, 2010
Messages
13
SUMPRODUCT((RIGHT(BQ!$B$4:$B$2082,2)="PL")*BQ!$H$4:$H$2082)

This is the formula that i manage to create if everything is in same worksheet for a particular product.

Here is my problem: Is that possible i wan to use sumproduct formula to find the product in several worksheets (as all the format is the same for all the worksheets). I have tried this formula
SUMPRODUCT((RIGHT(Site Clearance & Earthwork:BWICS!A:A,2)="PL")*Site Clearance & Earthwork:BWICS!G:G)

but faild :(
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi Veronica_sky,

How about...

=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!A:A"),"*PL",INDIRECT("'"&SheetList&"'!G:G")))

SheetList is a named range.

Place the names of your worksheets somewhere on your sheet, highlight the range, then in the Name Box (above column A) type in SheetList and hit enter.
 
Upvote 0
Hi jeffreybrown,

"Place the names of your worksheets somewhere on your sheet, highlight the range, then in the Name Box (above column A) type in SheetList and hit enter."

The above is it meant that i have to key in all the worksheet's name in the worksheet i use that formula?
 
Upvote 0
No, not all sheets just one.

Let's say you are using this formula on a sheet called Summary, range A1.

In Maybe D1 I would type in the name of the first sheet with D2 containing the next sheet and so on.

Then hightlight D1:D2, or however long, and name this range SheetList
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top