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.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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
 
Upvote 0
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)
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,388
Members
448,957
Latest member
Hat4Life

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