How to concatenate two row data in particular column

Hi Team,

I want to concatenate two row value based blank cell,

Input:
image

Expected Output
image

Please help me anyone for this.

Regards,
Raja G

Hi @Raja.G
Can you tell us why did you put concatenated value in the above row

Hi @Gokul001

Because single row data coming two cell so i want concatenate in single row and YY no is not unique

Regards,
Raja G

Hi @Raja.G check this solution.
ConcatenateRowValue.zip (2.5 KB)

1 Like

Hi @Tapan_Behera1

Worked that concatenate row values but unwanted row not removed .

Remove duplicate based on YY no

image

Expected output:
image

Regards,
Raja G

Regards,
Raja G

Hi @Raja.G run the this code and check the excel sheet1 and 2 .

ConcatenateRowValue.zip (2.5 KB)

1 Like

Hi @Raja.G ,

Do we also have a case where there would be two blank cells continuously ?

If so, do we need to concatenate both the blank space corresponding values to the previous rows ?

Hi @Tapan_Behera1

Thanks , concatenate is fine but after concatenate to above then below entire row should remove that only not worked and remove duplicate based on YY no.

Please help me on this

Input
image

Output
image

Hi @supermanPunch ,

Wish Many more Happy Returns of the Birthday .

Whatever blank cell come in YY no, i want to concatenate Name column data concatenate to above row, than remove entire row once concatenate below to above than below entire row to remove

Regards,
Raja G

@Raja.G ,

Could you Check the below workflow :
DT_ConcatenateColumnValue_BasedOnSpace.zip (10.1 KB)

As we are supposed to concatenate the value to the previous row, we could first reverse the Datatable values, so that we can get the check the condition of spaces first and then append those values to the next row. In this way, we are actually adding the values to the Previous row in the original Datatable.

Let us know if this doesn’t work.

Thank you for the wishes :slightly_smiling_face:

1 Like

@supermanPunch @Tapan_Behera1 Thanks guys i got a solution

Regards,
Raja G

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.