0

A1 value is 485065/1, 2, 3 and I expect 485065 and 1, 2, 3
but it comes out 485065 and 1, 2, 2003.

=split(a1,"/",false)

Please help me why it does.

  • as you know, it was =split(a1,"/",false) I tried but it came out the above result. – user221290 Jun 21 '19 at 3:04
  • this is done coz of sheets' autocorrection of numbers into dates. regex treats it as text even after the split so no autocorrection kicks in – user0 Jun 21 '19 at 11:37
0
  • use REGEXEXTRACT instead:

    =REGEXEXTRACT(A1, "(.)/(.)")

    0

| improve this answer | |
0

Or do this:

=SPLIT(A1, "/,", 1, 1)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.