Alteryx Designer Desktop Discussions

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

Dynamically serach string and the value in next cell

hegdepavithra10
9 - Comet

Hi,

 

I have a excel file as below:

hegdepavithra10_0-1608274739876.png

 

Is there a way to dynamically serach for the string and then the value next to it. For eg: Sum of PL's ,may not occur in the same cell always. How can i dynamically search for that string and the value next to it?

This is my desired output.

 

hegdepavithra10_1-1608274856298.png

 

So far , i have selecting the columns using select and then using filter tool to segragate it. However my method would be static if the value moved cells.

11 REPLIES 11
atcodedog05
22 - Nova
22 - Nova

Hi @hegdepavithra10 

 

Can you provide the data as a sample file.

messi007
15 - Aurora
15 - Aurora

@hegdepavithra10,

 

Please see below:

 

messi007_1-1608282252667.png

 

 

Hope that helps!

 

Regards,

hegdepavithra10
9 - Comet

Hi @atcodedog05 

 

hegdepavithra10_0-1608296930170.png

 

 

Here is the sample data. I want to search for the string and the extract the cell next to it. And the output must be in the same format irrespective of where the data may reside. for eg : on the file you will see "Sum PL's" and the data is in A4 and B4, there is a chance that when i use a different file its location may be in E4 and F4. Hence i am looking for how they can be extracted and then placed in the same format mentioned in the out put section:1. Sum of PL's 2.Leaves so on and so forth. There are multiple files with the same data that i have to put under one file.

 

I hope the requirement is clear.

atcodedog05
22 - Nova
22 - Nova

Hi @hegdepavithra10 

 

Here is a workflow for the task.

Input:

atcodedog05_0-1608299535027.png

Output:

atcodedog05_1-1608299599100.png

Workflow:

atcodedog05_2-1608299627420.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

hegdepavithra10
9 - Comet

@atcodedog05 

I am looking for the output to be displayed in the same order as in the screenshot. With the method that you have provided if the position of the values change ,then order will also change. 

atcodedog05
22 - Nova
22 - Nova

Hi @hegdepavithra10 

 

Here is a workflow for the task.

Workflow:

atcodedog05_0-1608302942495.png

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

hegdepavithra10
9 - Comet

@atcodedog05  I just want to understand for a restricted rows and column from Excel , is there a way to extract searching for a string? For eg : for four rows and ten columns that I select in alteryx for a excel input can I search for "Sum of Pl's" string and the cell next to it ?

atcodedog05
22 - Nova
22 - Nova

@hegdepavithra10 

 

Sure should be possible

hegdepavithra10
9 - Comet

@atcodedog05  can the same be implemented for this requirement in that case ?

Labels