Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Excel like lookup on rows and column and get the value

prthmesh111
8 - Asteroid
Cost CC136110141463648590100037584544006882
648500020001037202500
101402502001003810780
003700025100395790
64850005006000301000
688200050100005900
0037007090800200500700

70

 

the above table contains rows name eqaul to column name i want the below output 

 

Cost CCValue
6485200
101425
003739
6485500
68820
0037

200

 

Tried using transpose but didn't get the desired output

4 REPLIES 4
echuong1
Alteryx Alumni (Retired)

Is this what you're looking for?

 

I used a transpose with the Cost CC as a key value (to pivot around it), to get all of the columns in a Name-Value format. From there, I used a filter to find the rows where Cost CC = Name, which would have corresponded with the column name originally.

 

echuong1_0-1612843061746.png

 

Tyro_abc
11 - Bolide

Hi 

 

Here is my approach, let me know if it helps

 

arundhuti726_0-1612843273481.png

 

 

Regards

Arundhuti

prthmesh111
8 - Asteroid

Hi echuong1,

 

Your approach is right, but i am using multiple columns due to which output is not coming proper

 

afv2688
16 - Nebula
16 - Nebula

Hello @prthmesh111,

 

Could you please ellaborate? What are the issues you are facing?

 

We may be able to give you a better example given the exceptions you show us.

 

Regards

Labels
Top Solution Authors