Sum values in a row in ALL Columns upto the selected column

vikrampnz

Board Regular
Joined
Jun 20, 2006
Messages
111
Office Version
  1. 2007
Platform
  1. Windows
Hello

I have a table with Unit Numbers, Unit Value and then 11 columns for 11 Financial Quarters showing Money received against that unit in each quarter. (Sample sheet attached for your reference) and then total of money received against that unit in all quarters.

I am trying to create something that will enable me to select the end date (i.e. a Financial Quarter) for the total money received till end of that quarter.

At the moment I am thinking of creating a drop down showing header for each column i.e. Quarter Names. I want to be able to select a "Quarter" from the drop down list and in the total column it should show a total of ALL the columns till the selected column from drop down.
Upto Quarter
Q2-2022.23Q3-2022.23Q4-2022.23Q1-2023.24Q2-2023.24Q3-2023.24Q4-2023.24Q1-2024.25Q2-2024.25Q4-2024.25
Sr NoUnit noUnit considertaionReceived amount Till Q2 - FY2022-23 (30.09.2022)Received amount Till Q3 - FY2022-23 (31.12.2022)Received amount Till Q4 - FY2022-23 (31.03.2023)Received amount Till Q1 - FY2023-24 (30.06.2023)Received amount Till Q2 - FY2023-24 (30.09.2023)Received amount Till Q3 - FY2023-24 (31.12.2023)Received amount Till Q4 - FY2023-24 (31.03.2024)Received amount Till Q1 - FY2024-25 (30.06.2024)Received amount Till Q2 - FY2024-25 (30.09.2024)Received amount Till Q3 - FY2024-25 (31.12.2024)Received amount Till Q4 - FY2024-25 (31.03.2025)Total Received Till Date
1B-10150,05,000
23,80,953​
6,50,0008,50,0006,30,00045,10,953
2B-10215,0006,50,0006,65,000
3B-10378,00,000
0​
3,50,0009,20,0001,05,0009,90,00023,65,000
4B-10496,80,000
29,47,434​
6,06,0003,21,0002,75,00041,49,434
5B-10566,84,200
22,58,312​
3,65,0004,40,00030,63,312



For example I have following quarters in my sheet and also in drop down:
1) Q2-2022.23
2) Q3-2022.23
3) Q4-2022.23
4) Q1-2023.24
5) Q2-2023.24
6) Q3-2023.24
7) Q4-2023.24
8) Q1-2024.25
9) Q2-2024.25
10)Q3-2024.25
11) Q4-2024.25

If I select "Q3-2023.24" from dropdown list, then I want it to show total of values in each row in table shown under
Q2-2022.23 + Q3-2022.23 + Q4-2022.23 + Q1-2023.24 + Q2-2023.24 + Q3-2023.24

I hope I am not too confusing

Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,214,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

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