0

Hello I would like to ask how to split this number 122426122427122428122429122430122441 into six digit numbers and put it to rows in google sheets.

How is it possible do this?
Thank you

I tried split functions but i did not find any positions function

2 Answers 2

1

Use byrow(), sequence() and mid(), like this:

=byrow( 
  sequence(len(A2) / 6, 1, 1, 6), 
  lambda( 
    start, 
    mid(A2, start, 6) 
  ) 
)
Sign up to request clarification or add additional context in comments.

Comments

0

try:

=FLATTEN(SPLIT(REGEXREPLACE(A2&""; "(.{6})"; "$1​"); "​"))

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.