Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 988

MS Excel: How to Find & Replace 15+ character text preventing becoming Scientific Notation

$
0
0

Problem Statement

We have an Excel Sheet with a column of data like below:

+-----------------------+| XYZ Data              |+-----------------------+| XYZ:12345678912345678 || XYZ:98765432198765432 || XYZ:12345678912345    |+-----------------------+

We deliberately prepended the XYZ: before the original data to prevent becoming Scientific Notation in MS Excel.

Now we need to find XYZ: and replace it with an empty string so that we can get our original value.

What already Tried

What we've already tried:

  1. Find XYZ:& Replace with `` - ❌we failed
  2. Find XYZ:& Replace with `` with Formatting Text - ❌we failed
  3. Find XYZ:& Replace with `` with Formatting Custom with ################# - ❌we failed

In all the cases the replaced data immediately becomes Scientifically notated

Is there a way we can get our original value back in MS Excel?

A Glimpse of Light

However,
We could solve the issue with a formula like this:
=IF(ISNUMBER(FIND("XYZ:", A1)), MID(A1, 5, LEN(A1)-4), A1)

But...

However, the process is lengthy and needs special training which is impossible for mass/external audiences.

Any smarter solution other than this would be much appreciated.


Viewing all articles
Browse latest Browse all 988

Trending Articles