Consolidate Rows Question

manny805

New Member
Joined
Jun 3, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello-

Hopefully an easy question. Have a large dataset where there are two rows for each Group & Category. Is there's a way to consolidate as in the example below?

Consolidate_Question.xlsx
ABCD
1Current
2GroupCategoryBaseline_CountFollow-up_Count
3Age Group65 to 69 years25
4Age Group65 to 69 years27
5Age Group70 to 74 years28
6Age Group70 to 74 years29
7Age Group75 to 79 years11
8Age Group75 to 79 years12
9Age Group80 to 84 years8
10Age Group80 to 84 years6
11
12
13
14
15Desired
16GroupCategoryBaseline_CountFollow-up_Count
17Age Group65 to 69 years2527
18Age Group70 to 74 years2829
19Age Group75 to 79 years1112
20Age Group80 to 84 years86
Consolidate_Sample


Appreciate any assistance,
Manny
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi.
Please, see if this could help.

1. right click on D3 | Delete | Move cells up | OK
2. select column D | type F5 | Special | Blanks | OK
3. right click on any selected cell | Delete | Entire Row | OK
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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