Insomnia01

New Member
Joined
Oct 11, 2018
Messages
3
Hi,

Ive been trying to wrap my head around doing a formula to sum up a product from a list of numbers in 2 different sheets.

The situation is, I have a list of areas which repeat themselves a few times over in B:B and a range of numbers in P:P. The tables are exactly the same in sheet 1 and sheet 2.
Id like the formula to sum every number from P:P only when a certain criteria appears in that row in B:B.


Example

Sum all rows from both sheets when B is the criteria

B:BP:P
A#
B#
C#
D#
A#
C#
C#
B#
A#

<tbody>
</tbody>


Sorry if this has already been answered.

Thank you
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Isn't this just

=SUMIF(Sheet1!P1:P1000,Sheet1!B1:B1000,"A")+SUMIF(Sheet2!P1:P1000,Sheet2!B1:B1000,"A")
 
Last edited:
Upvote 0
Got me paramaters wrong way round.

=SUMIF(Sheet1!B1:B1000,"A",Sheet1!P1:P1000)+SUMIF(Sheet2!B1:B1000,"A",Sheet1!P1:P1000)
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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