We help IT Professionals succeed at work.
Get Started
Troubleshooting Question

Excel Mac LAMBDA Name content character limit 255, and how to exceed it using Windows Excel

22 Views
Last Modified: 2021-04-08
contd from here: https://www.experts-exchange.com/questions/29212590/Data-capture-of-multiple-text-and-value-pairs-LAMDA-content-too.html

EDIT: Originally this Question was about analysing the LAMBDA formula show below. which was written in Windows Excel and sent to a Mac Excel, where it works as 356 characters long provided no attempt is made to look at it.

we have a tech problem and the formula below is incomplete, now fixed.

=LAMBDA(text,separator,
LET(
LenSep,LEN(separator),Dummy,CHAR(1),
nTokens,LEN(text)-LEN(SUBSTITUTE(text,separator,""))+1,
TokenNum,SEQUENCE(nTokens),
End,
FIND(Dummy,SUBSTITUTE(text&separator,separator,Dummy,TokenNum))
Start,FIND(Dummy,SUBSTITUTE(separator & text,separator,Dummy,TokenNum))-LEN(Dummy),
MID(text,Start+LenSep,End-Start-LenSep)
)
)
(C5,",")
EXPLORING THIS ... which was truncated and the end of it beyond 255 characters was missing, now completed in the above code box.

FIND(Dummy,SUBSTITUTE(text&separator,separator,Dummy,TokenNum))

This Finds within Dummy start digit of, replace within "parameter text cellref contents plus a separator"  just the separator, with Dummy starting from Token No    

Start,FIND(Dummy,SUBSTITUTE(separator & text,separator,Dummy,TokenNum))-LEN(Dummy),    

MID(text,Start+LenSep,End-Start-LenSep))     )

(C5,",")

Missing terms now added, analysed further below.
Comment
Watch Question
Mechanical Engineer
CERTIFIED EXPERT
Most Valuable Expert 2013
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 53 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE