Forum

Notifications
Clear all

[Solved] formula

8 Posts
3 Users
0 Reactions
324 Views
(@univer)
Posts: 2
New Member
Topic starter
 

hi.. is there formula to do this..

thankyou very much

 

 
Posted : 21/05/2025 2:51 am
Riny van Eekelen
(@riny)
Posts: 1248
Member Moderator
 

@univer

I would do that with Power Query as demonstrated in the attached file.

 

Edit: Thought of a formula solution as well. Enter the formula below anywhere in the file.

=TEXTSPLIT(
    TEXTJOIN(
        "-",
        TRUE,
        REPT(
            Table1[Column2] & "-",
            Table1[Column1]
        )
    ),
    ,
    "-",
    TRUE
)

 

 
Posted : 21/05/2025 3:12 pm
(@univer)
Posts: 2
New Member
Topic starter
 

hi... nice.. thankyou verymuch for your help...

regards,

 
Posted : 22/05/2025 11:48 pm
Md Saliha
(@navsal66)
Posts: 121
Estimable Member
 

Hi Riny,

 

this formula can work in 2019 ver

 
Posted : 24/05/2025 4:18 pm
Riny van Eekelen
(@riny)
Posts: 1248
Member Moderator
 

@navsal66 

TEXTJOIN works in E2019, but TEXTSPLIT does not.

 
Posted : 24/05/2025 5:03 pm
Md Saliha
(@navsal66)
Posts: 121
Estimable Member
 

@riny 

i have tried Textjoin, possible any split function in 2019 or any other way

 
Posted : 28/05/2025 2:01 pm
Riny van Eekelen
(@riny)
Posts: 1248
Member Moderator
 

@navsal66 

Can't think of a formula without TEXTSPLIT. I would opt for the Power Query solution, as it's very easy.

 
Posted : 28/05/2025 2:30 pm
Md Saliha
(@navsal66)
Posts: 121
Estimable Member
 

ok thanks i will try my side

 
Posted : 30/05/2025 7:41 pm
Share: