+ Reply to Thread
Results 1 to 7 of 7

Search for unique name and copy/past/transpose data to another sheet.

  1. #1
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Search for unique name and copy/past/transpose data to another sheet.

    Dear Excel-specialist,

    I have a challenge?.

    I have one Excel file that contains two worksheets:
    - User_input (the user selects the server name from a drop-down menu that is found in the source_data sheet)
    - Source_data (this contains the server names and the software installations on that server)

    I would like to use the drop-down menu in the User_input sheet, which only selects the unique server names that are found in the Source Data sheet.
    This is challenge 1.

    In addition, I would like to find all unique applications that are installed on that particular server and paste this data in separate rows in the User_Input sheet. Kind of copy/paste and transpose.

    Normally Vlookup?s work fine, but in this case, I sometimes have a 1:N (one-to-many) relationship.

    For example:
    Server A (SQL)
    Server A (Word)
    Server A (Excel)
    Server B (Access)
    Server C (PowerPoint)
    Server C (Dell software)
    Server C (Word)

    Result needed: :-)
    Column 1 Column2 Column3 Column4
    Server A SQL Word Excel

    I attached a file with an example of how it should work (in my case not ☹ ).
    My question is, is this easy to create?

    Thank you in advance for any feedback. 
    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,464

    Re: Search for unique name and copy/past/transpose data to another sheet.

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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,464

    Re: Search for unique name and copy/past/transpose data to another sheet.

    Use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    to get your drop down list.

  4. #4
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Search for unique name and copy/past/transpose data to another sheet.

    Hi TMS,

    I added this formula in the Source_data sheet (C2) and that works like a charm. I can now pick this up with my Vlookup function. :-)
    But there is still one point of concern. My drop-down menu also shows the duplicate server names (User_input sheet). Is that easy to solve?

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

    Re: Search for unique name and copy/past/transpose data to another sheet.

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Search for unique name and copy/past/transpose data to another sheet.

    Found it, I can use the unique function for my drop-down menu. Thank you (both) very much for your support!!
    Problem solved :-)

    Adding reputation.

  7. #7
    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,464

    Re: Search for unique name and copy/past/transpose data to another sheet.

    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. [SOLVED] Search for unique numbers and copy thier specific data to another sheet in excel VBA code
    By Zahid0111 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-19-2020, 09:52 AM
  2. Multiple items Search, select, copy and past in new sheet!
    By nitozinho in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2015, 05:33 AM
  3. [SOLVED] Loop through list of unique values to copy & transpose data
    By YOO629 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2015, 04:34 PM
  4. [SOLVED] every unique data shown in column "A" to past single cell is in transpose order.
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2015, 05:45 AM
  5. [SOLVED] copy past transpose code error
    By anilg0001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2013, 05:14 AM
  6. [SOLVED] Seach for data from one sheet to another sheet and copy past adjacent columns
    By mahtabshaikh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2012, 10:19 AM
  7. Search to find matching cells and copy/transpose adjacent data to original sheet?
    By thump4r in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-12-2009, 09:20 PM

Tags for this Thread

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