+ Reply to Thread
Results 1 to 6 of 6

Formula To Create a List Without Spaces From Data With Spaces

  1. #1
    Registered User
    Join Date
    09-11-2017
    Location
    Sydney
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    3

    Formula To Create a List Without Spaces From Data With Spaces

    Hey everyone, hope someone could help me out with this as I have been trying without luck for hours now!

    I have a column with Names and blank cells and want to consolidate the names into a column without the spaces.

    Please see screenshot here: https://imgur.com/a/WxJU9 I want the names in column L to appear in Column J without the spaces.

    I know I can filter out the blanks but I am trying to automate something and don't wanna do manual filters.

    Thanks so much for your help.

    Cheers
    Attached Files Attached Files
    Last edited by nicklasnicklas; 09-11-2017 at 01:41 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Formula To Create a List Without Spaces From Data With Spaces

    Hi Nick,

    Select the column L, press F5 then click on 'Special' -select 'Blanks' > Ok.
    In the 'Home' tab, Delete > Delete sheet rows.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Formula To Create a List Without Spaces From Data With Spaces

    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-11-2017
    Location
    Sydney
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    3

    Re: Formula To Create a List Without Spaces From Data With Spaces

    Thank you, I have uploaded some sample data. Cheers!

  5. #5
    Registered User
    Join Date
    09-11-2017
    Location
    Sydney
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    3

    Re: Formula To Create a List Without Spaces From Data With Spaces

    Hi, thanks for this. I know this trick but trying to do it automatically so I do not need to do this each time. This tutorial: https://www.myonlinetraininghub.com/...s-from-a-range has basically what I am looking for but I can not get it to work!! Thanks

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula To Create a List Without Spaces From Data With Spaces

    with helper column
    M1=COUNTA(L$1:L1) Try this and copy towards down as much as possible
    J1=IFERROR(INDEX(L:L,MATCH(ROWS(J$1:J1),M:M,0)),"") Try this and copy towards down

    Without helper column
    J1=IFERROR(INDEX($L$1:$L1000,SMALL(INDEX((L$1:L$1000="")*10^10+ROW($L$1:$L$1000),0),ROWS(J$1:J1))),"")
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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. Data validation off list with spaces
    By BWellman in forum Excel General
    Replies: 1
    Last Post: 12-16-2014, 11:02 PM
  2. using if/then and using sorting to parse data and create list without spaces
    By reallynewguy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2013, 08:41 PM
  3. [SOLVED] Skip blank spaces in data validation list
    By skip2mylew in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2013, 09:20 PM
  4. [SOLVED] List of Valuses with Spaces and make a new list without spaces.
    By omallyfoster in forum Excel General
    Replies: 6
    Last Post: 05-21-2013, 08:14 AM
  5. [SOLVED] Replacing double spaces with single spaces
    By EdWoods in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-15-2013, 01:20 AM
  6. Formula to include spaces in linked data validation list
    By hbomb1927 in forum Excel General
    Replies: 2
    Last Post: 10-25-2011, 07:01 PM
  7. Replies: 8
    Last Post: 06-30-2009, 05:32 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