Closed Thread
Results 1 to 2 of 2

Extract number between a position and the first comma after it

  1. #1
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    276

    Extract number between a position and the first comma after it

    Hello, I need some help coming up with this formula.

    text string:
    R1:50,R2:71,R3:18,R4:50,R5:128,R6:27,R7:113,R8:50,R9:10,R10:80,R11:67,R12:123,R13:80,R14:28

    the first part R followed by a number can be any integer from R1 to R10000
    the number after ":" can be any integer from 1 to 50000

    I need a formula given the position of the R portion extract the number.

    say for R14, I need to extract 28
    for R12, I need to extract 123
    etc etc

    thanks so much in advance
    Attached Files Attached Files
    Last edited by lynnsong986; 01-24-2023 at 04:46 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,328

    Re: Extract number between a position and the first comma after it

    Please take a moment to review the forum rules.

    Duplicate threads are not allowed.

    Thread closed.

    https://www.excelforum.com/forum-rul...rum-rules.html
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] IF List, Extract text before first comma ELSE copy value
    By argou001 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-24-2021, 12:11 PM
  2. Extract number from any position of the text
    By Chau Vu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2020, 11:17 PM
  3. [SOLVED] How to extract capitalize letter text at certain position
    By harimin in forum Excel General
    Replies: 16
    Last Post: 02-09-2016, 11:21 PM
  4. [SOLVED] Extract Text After Second To Last Comma in A Text String
    By ChaidaJones in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-05-2016, 02:00 PM
  5. [SOLVED] Help needed on how to extract substrings from comma delimited text
    By kknb0800 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-18-2013, 03:18 PM
  6. Extract postcode after last comma in text string
    By TheRobsterUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 09:35 AM
  7. How to extract text from-to a specific position in a text
    By Sven in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-13-2005, 04:00 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