Need Help with Financial spreadsheet

enjef

New Member
Joined
May 14, 2019
Messages
2
Hi, I have a workbook that is meant to track travel costs across various departments. it has 11 department spreadsheets and one summary sheet. My issue is finding either a macro or function that will transfer the individual travel cost entries on the various sheets, to a single cost cell on the summary sheet and keep it as a running total for each dept sheet.
Can anyone help??
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Depends how your data is laid out on other tabs - you could consider using an INDIRECT function if the department sheets share a similar layout, hard to tell without knowing your workbook
 
Upvote 0
For example you could have something like this on your SUMMARY sheet:

ABCDEFGHIJKLM
1SUMMARYDept1Dept2Dept3Dept4Dept5Dept6Dept7Dept8Dept9Dept10Dept11TOTAL
2Travel59.99250.5029.9933.33355.0020.50495.0056.34414.40101.5029.401845.95
3Food13.504.993.0028.2027.002.5047.20560.5028.5099.0035.30849.69
4Drink6.990.004.5016.1013.003.583.20292.0039.4097.5247.40523.69

<tbody>
</tbody>

Where B2 holds the formula that can be copied across to L4:

=INDIRECT(B$1&"!"&CELL("address",$B1))

Assuming here that Travel/Food/Drink costs appear in cells B1/B2/B3 cells respectively on the Dept No. worksheets - again this is due to the layout I have tested on. But this is to give an idea of what can be achieved with INDIRECT.
 
Last edited:
Upvote 0
For example you could have something like this on your SUMMARY sheet:

ABCDEFGHIJKLM
1SUMMARYDept1Dept2Dept3Dept4Dept5Dept6Dept7Dept8Dept9Dept10Dept11TOTAL
2Travel59.99250.5029.9933.33355.0020.50495.0056.34414.40101.5029.401845.95
3Food13.504.993.0028.2027.002.5047.20560.5028.5099.0035.30849.69
4Drink6.990.004.5016.1013.003.583.20292.0039.4097.5247.40523.69

<tbody>
</tbody>

Where B2 holds the formula that can be copied across to L4:

=INDIRECT(B$1&"!"&CELL("address",$B1))

Assuming here that Travel/Food/Drink costs appear in cells B1/B2/B3 cells respectively on the Dept No. worksheets - again this is due to the layout I have tested on. But this is to give an idea of what can be achieved with INDIRECT.

Thanks for the reply:

The summary sheet is laid out as below. I need the data from the cost lines (Bus, taxi, Rail, Flights) to populate into the Summary sheet from the individual sheets as running totals. So in the example below, Bus would = 37
Taxi = 29 Rail = 131 Flights 233 - Is this possible using INDIRECT?

Summary Sheet
DeptMonthBusTaxirailFlightsTotal Cost
Dept 1
Dept 2
Dept 3
Dept 4
Individual Sheets
Dept 1DateBusTaxiRailFlights
01/05 15 95
05/05 08 36
8/05 14 86
10/05 29 147

<colgroup><col span="7"></colgroup><tbody>
</tbody>
 
Upvote 0
Hey,

Can you total each category up on the individual sheets? Or does it have to left as is?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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