like these cells
00012345-A
0012345-A
00000012345-A
i think left/right function with len mybe can sovle it?
but idk how to do it :D
anyhelp ?
thanks in advance
like these cells
00012345-A
0012345-A
00000012345-A
i think left/right function with len mybe can sovle it?
but idk how to do it :D
anyhelp ?
thanks in advance
Last edited by bkcffee; 03-16-2017 at 06:51 AM.
Substitute function, maybe
=SUBSTITUTE(D11, "0", "")
I assume your data start from A1, so trywith Control+Shift+EnterFormula:Please Login or Register to view this content.
cytop's solution is shorter, normal (non-array) so use it
thank you
it worked perfectly !!
oh no
i had another preblem
Substitute function removed all the zeros in the cell
example
000000590-A end up being like 59-A and it should be 590-A
004104599-A 414599-A shold be 4104599-A
i only need to remove the zeros in the begining !!
Slightly more complicated...
=SUBSTITUTE(TRIM(SUBSTITUTE(D11,"0"," "))," ","0")
Use what you want
with my formula result is:
Formula:Please Login or Register to view this content.
and this is simple smile3_e0.gif
try with 000123000005670000-C
Last edited by sandy666; 03-16-2017 at 05:56 AM.
im sorry
i tried urs too
but it gave me #value error :/
i copy and past
i'll try to put it in attachment
WTF !!!
nvr used ctlr shift enter with formulas before
and it worked
it added {formula} :D
thank you
If the basic problem is solved
- it's always a good practice to show respect to the person(s) who have helped you
- is a click on the Add Reputation first (left lower corner of the post of person(s) who helped you) and then
- mark the thread as SOLVED (top right corner over your first post - Thread Tools). This is important for all of us,
Thanks
bkcfee,
=MID(A2,FIND(LEFT(SUBSTITUTE(A2&" ","0",""),1),A2),LEN(A2))
Manikandan Arumugam
Excel Learner
One way ...
=--LEFT(A1,LEN(A1)-2)&RIGHT(A1,2)
and another
Formula:Please Login or Register to view this content.
v A B 1 00012345-A 12345-A 2 0012345-A 12345-A 3 00000012345-A 12345-A 4 000000590-A 590-A 5 004104599-A 4104599-A
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks