+ Reply to Thread
Results 1 to 15 of 15

required remaining digit in 0 to 9 in next col

  1. #1
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2021
    Posts
    177

    required remaining digit in 0 to 9 in next col

    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.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    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.

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: required remaining digit in 0 to 9 in next col

    Solution suitable for Excel 2019:

    Please try in B2 and copy down (confirm the formula with Ctrl + Shift + Enter):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    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)))))
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    @Hans - I believe that a 0 value needs to be at the end of the string, not the beginning.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,319

    Re: required remaining digit in 0 to 9 in next col

    Please Login or Register  to view this content.
    in B2

    =remd(A2)
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  7. #7
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2021
    Posts
    177

    Re: required remaining digit in 0 to 9 in next col

    Thank you mam, for your Fast reply , Getting Current Answer

    Thank you once again...

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    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.

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: required remaining digit in 0 to 9 in next col

    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: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 04-04-2024 at 03:42 AM.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    I always go by what the OP shows as their expected results!

  11. #11
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: required remaining digit in 0 to 9 in next col

    I also added an Excel 2019 solution with the 0 at the end.

  12. #12
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2021
    Posts
    177

    Re: required remaining digit in 0 to 9 in next col

    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

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: required remaining digit in 0 to 9 in next col

    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.

  14. #14
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2021
    Posts
    177

    Re: required remaining digit in 0 to 9 in next col

    I have used Hans sir's formula for now , Thank You Hans Sir, and also John Sir, i got the correct result

  15. #15
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: required remaining digit in 0 to 9 in next col

    You are Welcome! Thanks for the feedback. Glad to have helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Date transfer to 4 Digit Julian code required
    By gediminasfx in forum Excel General
    Replies: 5
    Last Post: 12-01-2022, 02:22 PM
  2. [SOLVED] Formula required to find solitary remaining number from string
    By Marvo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-21-2022, 02:27 PM
  3. [SOLVED] Help required - User input for text search and delete remaining rows
    By ssss2005 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-20-2015, 11:06 AM
  4. How to calculate remaining % using required % and performed %?!
    By rm2slam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2015, 01:17 PM
  5. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  6. Replies: 4
    Last Post: 09-08-2010, 11:17 AM
  7. Excel-formula required to calculate number of days remaining
    By sahar_sultana in forum Excel General
    Replies: 10
    Last Post: 04-03-2009, 02:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1