Hi Guys,
In the attached I am trying to extract numbers without 0 in front to column B.
Any simple formula?
Any help is greatly appreciated.
Thank you!!
Hi Guys,
In the attached I am trying to extract numbers without 0 in front to column B.
Any simple formula?
Any help is greatly appreciated.
Thank you!!
Power Query Solution
Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").![]()
Please Login or Register to view this content.
It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.
- Follow this link to learn how to install Power Query in Excel 2010 / 2013.
- Follow this link for an introduction to Power Query functionality.
- Follow this link for a video which demonstrates how to use Power Query code provided.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Try,
PHP Code:
=lookup(10^15,--left(a2,row($1:$15)))
Harry.
The old fashion way
SEARCH for ":" in the string
Take LEFT off the string -1 of the search number.
Convert the textstring to numbers with VALUE
and the 0 disappears in the front.
Formula in B2 and drag down
=VALUE(LEFT(A2,SEARCH(":",A2)-1))
Instead of VALUE you can write
=0+LEFT(A2,SEARCH(":",A2)-1)
=1*LEFT(A2,SEARCH(":",A2)-1)
=--LEFT(A2,SEARCH(":",A2)-1)
instead of SEARCH you can use FIND
/LGS
Last edited by LARS GULYAS; 01-19-2024 at 01:47 PM. Reason: extra formulas
Since you are using XL365, this single formula in cell B2 will automatically process the entire specified range...
=0+TEXTBEFORE(A2:A13,":")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks