Parse out data with merged cells and several headings in one column

cubbear

New Member
Joined
Oct 22, 2004
Messages
20
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello Community,

I have a raw data in which displays as merged cells and several headings within one column.

Here is what I have
KeyTextRepair Time
123Job 1Days
1
Hours
3
234Job 2Days
0
Hours
4

I have been attempting to use If with vlookup and hlookup to accomplish this by using the Key as the unique identifier and then hlookup for either "Days" or "Hours".

KeyTextDaysHours
123Job 113
234Job 204

My goal is to setup the table and be able to refresh it when I get a new data dump. All ideas are welcomed.

Thank you in advance!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Nothing in your post appears to show merged cells. Could you post the sample data and expected results again with XL2BB?
 
Upvote 0
I appreciate the suggestion Peter.

MrExcel_parse_20220211.xlsb
E
12
Raw


MrExcel_parse_20220211.xlsb
E
24
End Resut
 
Upvote 0
Thanks for updating your version information. (y)

To use XL2BB you need to select the range in your sheet that you want to show before clicking 'Mini Sheet' and then pasting in the forum. :)
 
Upvote 0
Thanks for your patience :)

MrExcel_parse_20220211.xlsb
ABC
1KeyTextRepair Time
2123Job 1Days
31
4Hours
53
6234Job 2Days
70
8Hours
94
Raw


MrExcel_parse_20220211.xlsb
ABCD
1KeyTextDaysHours
2123Job 113
3234Job 204
End Resut
 
Upvote 0
Thanks for the XL2BB sample data.

See if this is any use. The result is not a formal table but will automatically update (without manually refreshing) when new data is added in columns A:C
Where I have 100 (& 99) in my formulas you just need to make sure that in place of 100 you use a number at least as big as your data will ever be (& one less than that in place of the 99)

22 02 16.xlsm
ABCDEFGHI
1KeyTextRepair TimeKeyTextDaysHours
2123Job 1Days123Job 113
31234Job 204
4Hours
53
6234Job 2Days
70
8Hours
94
10
Convert Layout
Cell Formulas
RangeFormula
F2:G3F2=FILTER(A2:B100,A2:A100<>"")
H2:I3H2=FILTER($C3:$C100,$C2:$C99=H1)
Dynamic array formulas.
 
Upvote 0
Solution
Thank you for your patience Peter! The formula works brilliantly :)
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,025
Members
448,939
Latest member
Leon Leenders

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