Adding the total from a different worksheet

jme_4477

New Member
Joined
Mar 24, 2016
Messages
43
Hi,

I'm trying to add the totals from a Data sheet onto a Totals sheet.

Here's the Data Sheet:
N O P
Chinese II B 3 Teacher 1
Chinese I B 3 Teacher 1
Chinese I A 3 Teacher 1
Middle Chinese II 0 Teacher 1
Middle Chinese I 0 Teacher 1
Elementary Chinese I 0 Teacher 1
Chinese III B 2 Teacher 1
Elementary Chinese II 0 Teacher 1


Then I'm trying to add the sum of the O column into C2 of this sheet, and I basing the totals on what appears in this sheet from the A3 cell).

A B C
People Total
Teacher 1 11

Here's the formula I have:
SUMIF(Data!$P$2:$P$22),$A3,(Data!$O$2:$O$22)

It does not work :(
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi,

I'm trying to add the totals from a Data sheet onto a Totals sheet.

Here's the Data Sheet:
N O P
Chinese II B 3 Teacher 1
Chinese I B 3 Teacher 1
Chinese I A 3 Teacher 1
Middle Chinese II 0 Teacher 1
Middle Chinese I 0 Teacher 1
Elementary Chinese I 0 Teacher 1
Chinese III B 2 Teacher 1
Elementary Chinese II 0 Teacher 1



Then I'm trying to add the sum of the O column into C2 of this sheet, and I basing the totals on what appears in this sheet from the A3 cell).

A B C
People Total
Teacher 1 11

Here's the formula I have:
SUMIF(Data!$P$2:$P$22),$A3,(Data!$O$2:$O$22)

This doesn't work either:
=SUMIF(Data!$o$2:$o$112=$A3)
 
Last edited:
Upvote 0
Hi,

I'm trying to add the totals from a Data sheet onto a Totals sheet.

Here's the Data Sheet:
N O P
Chinese II B 3 Teacher 1
Chinese I B 3 Teacher 1
Chinese I A 3 Teacher 1
Middle Chinese II 0 Teacher 1
Middle Chinese I 0 Teacher 1
Elementary Chinese I 0 Teacher 1
Chinese III B 2 Teacher 1
Elementary Chinese II 0 Teacher 1


Then I'm trying to add the sum of the O column into C2 of this sheet, and I basing the totals on what appears in this sheet from the A3 cell).

A B C
People Total
Teacher 1 11

Here's the formula I have:
SUMIF(Data!$P$2:$P$22),$A3,(Data!$O$2:$O$22)

It does not work :(

I presume this is what you were trying to explain:
Code:
N            O        P
Chinese II        B        3        Teacher        1
Chinese I        B        3        Teacher        1
Chinese I        A        3        Teacher        1
Middle Chinese        II        0        Teacher        1
Middle Chinese        I        0        Teacher        1
Elementary Chinese    I        0        Teacher        1
Chinese III        B        2        Teacher        1
Elementary Chinese    II        0        Teacher        1

A    B    C
People        Total
Teacher    1    11
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,825
Members
449,096
Latest member
Erald

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