+ Reply to Thread
Results 1 to 9 of 9

Converting a range of cells into one single straight down column on another sheet

  1. #1
    Registered User
    Join Date
    07-05-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    36

    Post Converting a range of cells into one single straight down column on another sheet

    Hey guys! I could use a formula/function to convert this range of cells from Guest_Info sheet F4:V1000 to Guest_name sheet (A4). Also if theres anything to add in the formula to not allow duplicate names on this list that would be amazing! Here is an example with the attached sheet! Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,937

    Re: Converting a range of cells into one single straight down column on another sheet

    Unpivot your data with Power Query.

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,434

    Re: Converting a range of cells into one single straight down column on another sheet

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

  4. #4
    Registered User
    Join Date
    07-05-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    36

    Re: Converting a range of cells into one single straight down column on another sheet

    I used the Power Query code and changed the name (Table1) to (GuestList) and I'm getting this. "DataFormat.Error: Invalid cell value '#VALUE!'."

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,937

    Re: Converting a range of cells into one single straight down column on another sheet

    Were you using the same file or a different one? Was the layout of your actual file exactly the same as your sample file?

  6. #6
    Registered User
    Join Date
    07-05-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    36

    Re: Converting a range of cells into one single straight down column on another sheet

    I see what you're saying. So this is an actual example of some of the partial data. There is technically a couple hundred rows of names I have to put in the list. Also will this work when new names are added? I just want the registered guests 1-15 while having none of the other columns. How do I do that?
    Attached Files Attached Files

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,937

    Re: Converting a range of cells into one single straight down column on another sheet

    @Chandler8

    This should do what you want. Post back if you need additional help.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-05-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    36

    Re: Converting a range of cells into one single straight down column on another sheet

    alansidman

    Thank you so much for your help! Much appreciated. Power Query seems like it has some serious potential with what I am trying to achieve. Would it also be able to grab (when a certain name is listed what their check in/check out dates are, their sponsor names, the guest last names, their total number of days stayed, their eligibility, etc. all from the "Guest_Info" sheet?) Because the gist here is that a guest can only use the amenities for 14 days or within their first two stays regardless of if they use them or not. Would something like this be possible on power query? Thanks in advance!! The same from the data sheet above. (All the columns listed).
    Attached Files Attached Files

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,937

    Re: Converting a range of cells into one single straight down column on another sheet

    Yes. It is possible. If you like some assistance on that, then open a new thread and post your sample data and what you would like your results to look like and then we can give it a go.

+ 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. [SOLVED] Copy non-blank cells in a range and paste all into a single column
    By excellerant8 in forum Excel General
    Replies: 2
    Last Post: 05-03-2018, 10:53 AM
  2. Replies: 2
    Last Post: 09-01-2016, 12:14 AM
  3. Replies: 2
    Last Post: 08-12-2015, 07:11 PM
  4. Converting a range of data into a single column
    By MrCD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2014, 12:00 PM
  5. Converting a (single column) range into the column number
    By NukedWhale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2010, 01:29 AM
  6. Plotting straight line using a single value
    By cogar in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-05-2008, 08:53 PM
  7. Replies: 3
    Last Post: 02-15-2006, 01:10 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