Sum amounts from various sheets

Suresh Kusunuri

Board Regular
Joined
Dec 28, 2007
Messages
138
Office Version
  1. 2007
Platform
  1. Windows
Hi All,

I have 12 sheets work book for Salaries. I wish to calculate total salary of each person during the year.

I used the following formula, but its showing "#REF".
=SUMPRODUCT(SUMIF(INDIRECT(""&Months&EMP),$C5,(INDIRECT("'"&Months&$O$5:$O$72))))
Months = List of Sheets
EMP = List of Employees
Range in RED = Salary Column (in Each Sheet)
$C5 = Employee's Name
Can any one help me in this calculation or suggest other formula

Thanks
Suresh
 
Post 10 " Only thing is the source data should be same size in each month (No of employees).
To get result, I am inserting blank rows to reach the size of Data."

This is not very clear. Your earlier posts implied less that a 100 employees. If you have more than 100, increase the ranges to an appropriate number.
If you have less than 100 employees, the formula should work as written.
 
Upvote 0
Solution

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Post 10 " Only thing is the source data should be same size in each month (No of employees).
To get result, I am inserting blank rows to reach the size of Data."

This is not very clear. Your earlier posts implied less that a 100 employees. If you have more than 100, increase the ranges to an appropriate number.
If you have less than 100 employees, the formula should work as written.
Thank you Mr. Dave.
 
Upvote 0

Forum statistics

Threads
1,224,847
Messages
6,181,337
Members
453,032
Latest member
Pauh

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