Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Transforming Vertical Data to Horizontal Format in Excel

Masond3
8 - Asteroid

Hi Team,

I have an Excel file that contains the following columns:

  • Id (Column A)
  • BMW (Column B)
  • Porsche (Column C)

In Columns B and C, the business has populated each cell with either a value of (A) or (R). (There are also Records which have no value populated)

Example Data 

IDBMWPorsche
11111A 
22222 A
33333AA
44444R 
55555 R
66666RR
77777  


I would like to transform this data from a vertical to a horizontal format.

Desired output 


Id Outcome
11111BMW - A
22222Porsche - A
33333BMW - A
33333Porsche - A
44444BMW - R
55555Porsche - R
66666BMW - R
66666Porsche - R

 

Looking forward to your assistance 

Regards

2 REPLIES 2
Deano478
12 - Quasar

hey @Masond3 have a look at the attached WF

Masond3
8 - Asteroid

@Deano478  You are amazing! Such a simple yet effective solution.

Labels
Top Solution Authors