Work Project - Formula help needed!

sjohnson77

New Member
Joined
Apr 17, 2021
Messages
11
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi Guys :)

I am a novice Excel user who is looking to automate my workload to save me time.

I am currently working on a financial project for my business and I have attached a screenshot to show what I am talking about.

I have my data which gets pulled automatically on the left and then I have my analysis tables ready on the right. So far I have automated the total spend column to calculate the total spend correctly depending on the year selected in the drop down (top table).

I now am working on a way to total the amounts in the admissions & Evidenced tables (Salary, properties investments etc.) and to collectively total the admissions/Evidence automatically in the top table corresponding to the correct year. Is there a formula I can use to automate this for me? I will be manually typing the admissions and evidenced values in anyway (middle table and bottom table on the right), but I want a way for the spreadsheet to calculate all the values collectively and to show the values in the table at the top once I have typed them in?

Any help would be greatly appreciated!

Kind regards
 

Attachments

  • Project.JPG
    Project.JPG
    247.6 KB · Views: 29

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
MrExcelPlayground4.xlsx
HIJKLM
1CYTotal SpendTotal AdmissionsTotal Evidenced
22017$ 14,074,621$ 21
32018$ 6$ -
42019$ 3$ 54
52020$ 300$ -
62021$ 2,700$ -
7
8
9Admissions
1020172018201920202021
11Salary$ 55,000$ 2$ 200
12Prop$ 18,000$ 1$ 100$ 300
13Inv$ 29,000$ 3$ 1$ 200$ 400
14Sav$ 5,555,555$ 2$ 500
15Inher$ 4,521$ 600
16Other$ 8,412,545$ 700
17
18Evidenced
1920172018201920202021
20Salary$ 1$ 7
21Prop$ 2$ 8
22Inv$ 3$ 9
23Sav$ 4$ 9
24Inher$ 5$ 10
25Other$ 6$ 11
Sheet7
Cell Formulas
RangeFormula
J2:J6J2=SUM(INDEX($I$11:$M$16,{1,2,3,4,5,6},XMATCH(H2,$I$10:$M$10,0)))
K2:K6K2=SUM(INDEX($I$20:$M$25,{1,2,3,4,5,6},XMATCH(H2,$I$19:$M$19,0)))
 
Upvote 0
probably with something like
=SUM(INDEX($I$8:$K$10,,MATCH($H2,$I$7:$K$7,0)))
Where I8:K10 is the data
AND
I7:K7
is the headers

Book1
HIJK
1
2201860
3
4
5
6
7201720182019
8A110100
9B220200
10C330300
Sheet1
Cell Formulas
RangeFormula
I2I2=SUM(INDEX($I$8:$K$10,,MATCH($H2,$I$7:$K$7,0)))
 
Upvote 0
Solution
Great responses :) thank you both for your help! Etaf's was more user friendly for the novice in me :) I couldn't get James's to work unfortunately.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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