Help with textsplit and textjoin formula alternative for excel versions other than office 365

cspengel

Board Regular
Joined
Oct 29, 2022
Messages
173
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have this formula I use in my macro for my desktop computer, however I intend to share my sheet and some may not have office 365. Any assistance would be appreciated in converting this to work in versions of at least 2019.

VBA Code:
.Formula2R1C1 = "=LET(a,TEXTSPLIT(RC[-1],,"" ""),m,MMULT(--(a=TRANSPOSE(a)),SEQUENCE(ROWS(a),,,0)),TAKE(FILTER(a,m=MIN(m)),1))"


VBA Code:
.Formula2R1C1 = "=TEXTJOIN("","",1,(IF(RC[-15]:RC[-11]=RC[-1],RC[-20]:RC[-16],"""")))"


Thanks for any assistance!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
It is not just textsplit and textjoin. Also the LET, SEQUENCE, TAKE functions and the FILTER function are 365 functions. So is the IF(RC[-15]:RC[-11]=RC[-1] construction.

So I don't think this is an easy task!
 
Upvote 0
Which is probaby why such functions were developed. Developing solutions for previous versions is frustrating when one
is used to using 365 functions.
 
Upvote 0

Forum statistics

Threads
1,215,666
Messages
6,126,106
Members
449,292
Latest member
Mario BR

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top