I have digits in text format in A column in an excel sheet1, I want the to required remaining digits in 0 to 9 through formula or vba code.
REMANING DIGIT IN 0 TO 9.JPG
Pls help me
Thank you in Advance.
I have digits in text format in A column in an excel sheet1, I want the to required remaining digits in 0 to 9 through formula or vba code.
REMANING DIGIT IN 0 TO 9.JPG
Pls help me
Thank you in Advance.
Are you still using Excel 2019?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Solution suitable for Excel 2019:
Please try in B2 and copy down (confirm the formula with Ctrl + Shift + Enter):Formula:Please Login or Register to view this content.
If you have 2021:
=LET(n,{1,2,3,4,5,6,7,8,9,0},TEXTJOIN("",,FILTER(n,ISNUMBER(SEARCH(n,A2))=FALSE)))
copied down.
If you have 365, then this spill formula:
=LET(n,{1,2,3,4,5,6,7,8,9,0},BYROW(A2:A6,LAMBDA(r,TEXTJOIN("",,FILTER(n,ISNUMBER(SEARCH(n,r))=FALSE)))))
@Hans - I believe that a 0 value needs to be at the end of the string, not the beginning.
in B2Please Login or Register to view this content.
=remd(A2)
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Thank you mam, for your Fast reply , Getting Current Answer
Thank you once again...
What does "getting current answer" mean? If either of my formulae work, then you have upgraded from Excel 2019.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.
Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
The OP does show that in his example, but doesn't indicate it in his description.
However, if the 0 must be at the end, try this formula in Excel 2019:Formula:Please Login or Register to view this content.
Last edited by HansDouwe; 04-04-2024 at 03:42 AM.
I always go by what the OP shows as their expected results!
I also added an Excel 2019 solution with the 0 at the end.
It will also be okay if I get 0 last, or it will also be okay if it happens first. no problem , Thank again Mam
OK - but you also need to thank Hans, who gave you the 2019 options.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.
Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
I have used Hans sir's formula for now , Thank You Hans Sir, and also John Sir, i got the correct result
You are Welcome! Thanks for the feedback. Glad to have helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks