cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vehau1 Regular Visitor
Regular Visitor

Transforming table challenge

I need to transform a table to a format that I can work with.

 

My table looks like this after some transformation:

image.png

I need it to be transformed so that it looks like this:

image.png

 

So, what I need is that I want the column header names for all types marked in yellow, to be put in one column, the value of that former columns' row to be placed in its own column ("value"),

and an index, telling me which original row the value came from.

 

Any suggestions? Thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Transforming table challenge

Hi @vehau1 ,

 

Here is my sample file.1-1.PNG

At first, you need to replace “null” with 0. Then add an index column(Start from 1).
Select “Wellname” and “index” column, click unpivot other columns. Now, you can get the result.1-2.PNG

Best Regards,

Eads

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Transforming table challenge

Hi @vehau1 ,

 

Here is my sample file.1-1.PNG

At first, you need to replace “null” with 0. Then add an index column(Start from 1).
Select “Wellname” and “index” column, click unpivot other columns. Now, you can get the result.1-2.PNG

Best Regards,

Eads

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Super User
Super User

Re: Transforming table challenge

Hi,

The first image is very small - I cannot read anything there.  Share lesser data in a format that can be pasted in MS Excel and also show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 60 members 1,063 guests
Please welcome our newest community members: