formulas across multiple sheets

Rhodestransit

New Member
Joined
Feb 8, 2011
Messages
41
I need help in writing a formula for multiple columns
Here is the formula I have now
=SUMIF(AM!C$3:C$65536,'employee daily tally'!A2,'Run data'!B$2:B$192)
I need to add AM!F$3:F$65536,'employee daily tally'!A2,'Run data'!C$2:C$192)
and I will need to repeat this for another 10 or so columns.
I dont know how to enter this all into a single cell without getting the error messages.
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Airfix9

Well-known Member
Joined
Sep 23, 2005
Messages
886
I am assuming you wish to sum all the values in all ten columns, is that right?

=SUMIF(AM!C$3:C$65536,'employee daily tally'!A2,'Run data'!B$2:B$192)+SUMIF(AM!F$3:F$65536,'employee daily tally'!A2,'Run data'!C$2:C$192)+ etc
 

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
I need help in writing a formula for multiple columns
Here is the formula I have now
=SUMIF(AM!C$3:C$65536,'employee daily tally'!A2,'Run data'!B$2:B$192)
I need to add AM!F$3:F$65536,'employee daily tally'!A2,'Run data'!C$2:C$192)
and I will need to repeat this for another 10 or so columns.
I dont know how to enter this all into a single cell without getting the error messages.
Airfix9 showed you how to do it but...

=SUMIF(AM!C$3:C$65536,'employee daily tally'!A2,'Run data'!B$2:B$192)
The sum_range is not the same size as the criteria_range BUT the formula will use a sum_range that IS the same size as the criteria range.

So, if effect, your formula is doing:

=SUMIF(AM!C$3:C$65536,'employee daily tally'!A2,'Run data'!B$2:B$65535)
 

Rhodestransit

New Member
Joined
Feb 8, 2011
Messages
41
Here is what im using
=SUMIF($AM.C$2:C$45;$'employee daily tally'.A2;$'Run data'.B$2:B$75)
+SUMIF($AM.F$2:F$45;$'employee daily tally'.A2;$'Run data'.C$2:C$75)
+SUMIF($AM.I$2:I$45;$'employee daily tally'.A2;$'Run data'.D$2:D$75)
+SUMIF($AM.M$2:M$45;$'employee daily tally'.A2;$'Run data'.E$2:E$75)
+SUMIF($AM.P$2:P$45;$'employee daily tally'.A2;$'Run data'.F$2:F$75)
+SUMIF($AM.S$2:S$45;$'employee daily tally'.A2;$'Run data'.B$78:B$98)
+SUMIF($AM.W$2:W$45;$'employee daily tally'.A2;$'Run data'.C$78:C$98)

it is only working for data in columns C, F, I none of the others return any of the values?
Is there a maximum number that it can check.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,385
Messages
5,601,328
Members
414,444
Latest member
lionking15

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
Top