EXCEL - Is there a formula for TEXTSPLIT from 3 different rows into a sequencing of rows without data text duplication

0 votes
Column A Column B Column C
a, b, c a
a, c, e b
b, a, d c
d
e

I can textsplit, but I want the three rows from Column A to join into a single sequencing row in split text without duplication, similar in Column C.

Feb 26, 2023 in Others by narikkadan
• 63,600 points
531 views

1 answer to this question.

0 votes

SORT a UNIQUE TEXTSPLIT To Column

Simple

  • Be aware of the TEXTJOIN limitation.
=SORT(UNIQUE(TEXTSPLIT(TEXTJOIN(", ",,A2:A4),,", ")))

Practice REDUCE

=SORT(DROP(REDUCE("",A2:A4,LAMBDA(cResult,cCell,
    UNIQUE(VSTACK(cResult,TEXTSPLIT(cCell,,", "))))),1))

A LAMBDA Function

  • In the Ribbon, select Formulas->Defined Names->Define Name.
  • Under Name, input the function name e.g. SplitDelColumn, under Comment, add a short description, and under Refers to enter the following formula:
=LAMBDA(Data,Delimiter,SORT(DROP(REDUCE("",Data,LAMBDA(cRow,cCell,
    UNIQUE(VSTACK(cRow,TEXTSPLIT(cCell,,Delimiter))))),1)))
  • Now you can use it like any other Excel function:
=SplitDelColumn(A2:A4,", ")
  • Note that you can do the same with the simple formula.
answered Mar 17, 2023 by Kithuzzz
• 38,000 points

Related Questions In Others

0 votes
1 answer

Is there a maximum number of formula fields allowed in Excel (2010)

See http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx for limits on specs it doesn't indicate ...READ MORE

answered Sep 30, 2022 in Others by narikkadan
• 63,600 points
899 views
0 votes
1 answer

Is there any way in python to auto-correct spelling mistake in multiple rows of an excel files of a single column?

Use Spellchecker for doing your stuff: import pandas ...READ MORE

answered Oct 14, 2022 in Others by narikkadan
• 63,600 points
2,082 views
0 votes
1 answer

Copy last 3 rows, excluding the rows for which there is a "0" in column "C"

The copy inside the loop is overwriting ...READ MORE

answered Jan 10, 2023 in Others by narikkadan
• 63,600 points
477 views
0 votes
1 answer

Is there a way in Microsoft Excel to give specific bins different bin widths when making a histogram plot?

Excel built-in histogram tool only allows equal ...READ MORE

answered Oct 2, 2022 in Others by narikkadan
• 63,600 points
2,043 views
0 votes
1 answer

Calculate Birthdate from an age using y,m,d in Excel

Hello, yes u can find your birthdate using ...READ MORE

answered Feb 16, 2022 in Others by Edureka
• 13,690 points
4,134 views
0 votes
1 answer

Calculate Birthdate from an age using y,m,d in Excel

Hi To Calculate the date, we can ...READ MORE

answered Feb 16, 2022 in Others by Edureka
• 13,690 points
2,014 views
0 votes
0 answers

Convert Rows to Columns with values in Excel using custom format

1 I having a Excel sheet with 1 ...READ MORE

Feb 17, 2022 in Others by Edureka
• 13,690 points
994 views
0 votes
1 answer

IF - ELSE IF - ELSE Structure in Excel

In this case, you can use nested ...READ MORE

answered Feb 18, 2022 in Others by gaurav
• 23,260 points
3,726 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP