+ Reply to Thread
Results 1 to 10 of 10

Returning output before delimiters

  1. #1
    Registered User
    Join Date
    10-24-2011
    Location
    Orlando, FL
    MS-Off Ver
    Office 365 for Business
    Posts
    87

    Returning output before delimiters

    Hello:
    Struggling for a few days with this. Have tried all sorts of variations of formulas and functions with no luck.
    On attached sample file, I have jobs listed in specific buildings, floors, and rooms.
    From column B, Room #s, I want to pull the first digit of each room number, separated by commas. That will be the floor number. Column D shows my desired result, and column E shows my desired result, less duplicates.
    Column C is my attempted formula. With different formulas, I either get all three room number digits, or, I get the first digit before the first comma only, and not anything from before the remaining commas.
    In summary, I want to: separate floor numbers from room numbers, then, eliminate floor number duplicates.

    As always, any help would be greatly appreciated! Thank you.

    Screenshot 2024-04-16 142629.jpg
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Returning output before delimiters

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    All in one (adjust range as required):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 04-16-2024 at 03:23 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Returning output before delimiters

    Or this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,088

    Re: Returning output before delimiters

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Returning output before delimiters

    Dohhh. Been there, done that, should have remembered.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Returning output before delimiters

    Is this resolved?


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon 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 those who helped.

  7. #7
    Registered User
    Join Date
    10-24-2011
    Location
    Orlando, FL
    MS-Off Ver
    Office 365 for Business
    Posts
    87

    Re: Returning output before delimiters

    Thank you, very helpful! Fluff13!

  8. #8
    Registered User
    Join Date
    10-24-2011
    Location
    Orlando, FL
    MS-Off Ver
    Office 365 for Business
    Posts
    87

    Re: Returning output before delimiters

    These worked great! Thank you so much, TMS!!

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,088

    Re: Returning output before delimiters

    Glad to help & thanks for the feedback.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Returning output before delimiters

    You're welcome. Thanks for the rep.

+ 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. Returning an output for all rows with a common value
    By raffles7 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 03-07-2023, 01:03 PM
  2. [SOLVED] Error on output range of when returning my Array loop of multiple columns.
    By Fishtail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2023, 01:46 PM
  3. [SOLVED] Delimiters
    By Bschutz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-06-2019, 05:52 AM
  4. Data tables not returning correct output
    By blaketus17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2016, 10:56 AM
  5. vlookup with delimiters
    By karthik013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2014, 11:28 AM
  6. concatenating w/ delimiters
    By goji in forum Excel General
    Replies: 3
    Last Post: 09-21-2009, 02:34 PM
  7. [SOLVED] Returning formatted output from a User defined function
    By Salman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2006, 03:05 AM

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