Calculate the last cell as oppose to the first cell

CMACY

New Member
Joined
May 14, 2014
Messages
3
Good day I am trying to calculate some data in excel and I urgently need some assistance in getting the formula to work well.

Issue:

A1 B1

80 100% 96% 80%
60 69% 50% 50%
50 70% 40% 20%
63 55% 30%
50 69%

So based on the example above, I am trying to sum the data in column A while dragging across other columns. So in other words. in cell A15 I should have (sum(50+63+50+60+80), then in B15 i should have (sum(63+50+60+80), then in c15 i should have sum(50+60+80).

So i need the formula to work that way, whereby it sums from the bottom up and drops the last cell in column A as it goes across.

Let me know if this not clear. I appreciate any help available.
 
Hi CMacy,

I don't know if this is the most elegant solution, but it works.

=SUM(INDIRECT("A1:A" & COUNT($A$1:$A$14) - COLUMN() + 1))

You might have to modify your ranges.


Kim.
 
Upvote 0
Hi CMacy,

I don't know if this is the most elegant solution, but it works.

=SUM(INDIRECT("A1:A" & COUNT($A$1:$A$14) - COLUMN() + 1))

You might have to modify your ranges.


Kim.

Good day Kim, Thank you for your assistance. I tried the formula you presented but it produce different results than I needed. I am trying to have the formula sum from the last last cell upwards.
 
Upvote 0
Hi,

Assuming your original data is in A1:A5:

=SUM($A$1:INDEX($A$1:$A$5,ROWS($A$1:$A$5)-COLUMNS($A:A)+1))


Copy across as required.

Regards
 
Last edited:
Upvote 0

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