+ Reply to Thread
Results 1 to 4 of 4

Thread: Get all matched values and copying into one cell

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    Asia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Get all matched values and copying into one cell

    I am new in working with excel and I need help for a formula to get all matched values (in sheet 1) and copying those values in one cell (in sheet 2) with format like following below

    matched1, matched2, matched3

    I did some work in excel but I couldn't get all matched values listed in once cell, only first matched value is appreared (expected format is shown in the picture)

    If anyone could help, I really appreciate it.

    Thank you
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by softindo; 01-31-2012 at 03:21 AM. Reason: SOLVED

  2. #2
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,577

    Re: Get all matched values and copying into one cell

    I can't see the relationship between your two sheets, what are you trying to match?
    Your sample result shows A6 (Mapping!C4) what does this refer to?

    As a side note
    Does this in Report!D2 dragged down give you the answers you need
    =$B$1&INT(B2)&$C$1&INT(C2)
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

  3. #3
    Registered User
    Join Date
    01-26-2012
    Location
    Asia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Get all matched values and copying into one cell

    Hi Marcol, my apologies if you get confused.


    A X Y Position
    A1 2 1 X2Y1
    A2 1 1 X1Y1
    A3 2 1 X2Y1
    A4 2 1 X2Y1
    A5 1 1 X1Y1
    A6 1 1 X1Y1
    A7 1 1 X1Y1

    What I would like to achieve basically is a formula to get all values in column A for each position. Values will be stored in one cell and separated with a comma symbol . For example:

    Position X2Y1 = A1, A3, A4
    Position X1Y1 = A2, A5, A6, A7

    I hope this is clear thank you :D

  4. #4
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,577

    Re: Get all matched values and copying into one cell

    See if this workbook gets you started.

    1/. Concatenation is always limiting with Excel formulae. Do without Column N if you can.

    2/. The formula in H2 is an array formula and must be confirmed with Ctrl+Shift+Enter not just Enter before Dragging Right then Down.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0