formulas across multiple sheets

Rhodestransit

New Member
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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Airfix9

Well-known Member
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

Rhodestransit

New Member
That was easier than I thought!
Thank you

T. Valko

Well-known Member
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
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.

Replies
0
Views
446
Replies
28
Views
732
Replies
1
Views
720
Replies
1
Views
283
Replies
7
Views
296

1,171,885
Messages
5,878,041
Members
433,313
Latest member
Excelnoob69

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.

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

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