Lookups and Sum Functions

oleshbecky

New Member
Joined
Sep 23, 2018
Messages
2
I have an Excel dilemma I am hoping you can help with. I am creating a balance sheet and income statement from a trial balance I import from Great Plans. I have two data categories, one is the main heading of the section and the other is the line items below. I would like some type of formula that will look at the heading, then look at the line item name and sum up the amounts and place the total in the cell to the right. I created a table and thought that might be the way to start. The problem comes when Selling Expenses, G&A Expense, etc. have the same sub-categories such as Salaries, Insurance, Contract Services, etc.

Sales
Less Sales Discount
Freight Out
Fuel Surcharge
Total Net Sales

My table looks something like this:

Acct Number Description Amount Category Sub-Category
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi,

if you have correctly designed your reference Table with all your sub-categories and their respective parent category ... it becomes a simple Index() Match() combination ... :wink:
 
Upvote 0

Forum statistics

Threads
1,215,007
Messages
6,122,670
Members
449,091
Latest member
peppernaut

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