Group sum based on the Location, but in increasing order.

Status
Not open for further replies.

vasu2007

New Member
Joined
Nov 16, 2014
Messages
9
Office Version
  1. 2019
Platform
  1. Windows
Hello Experts,

I need to sum the numbers in col "B" based on the locations in Col "A", but is in increasing order.

COL#A COL#B
A - 1
A - 1
B - 2
B - 1
C - 3
C - 1

OUT PUT:
C(4)+B(3)+A(2) = 9

C+B+A should be in ascending order based on the sum in column B. This is the tricky part.
I have searched for this kind of requirement, but unable to find

Data & output is given in Below Picture.

Please help. Thanks in advance.

Consolidate.xlsx
ABCDEFGH
1LocationValueOUTPUTSL NOLOCATIONSum
2A11B+A+C17.5
3C0.82A+B+D+C49.9
4A4.73A+D+B+C65.9
5B11
617.5
7D1.3
8D4.5
9C4.8
10A31.4
11B4.9
12B1.3
13B1.7
1449.9
15C4.5
16C0.7
17B15.9
18D3.7
19D2.2
20D14.8
21A24.1
2265.9
Sheet1
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Duplicate to: Group sum based on the Ascending order of the number

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

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