+ Reply to Thread
Results 1 to 6 of 6

Expanding a list to repeat values based on another column

  1. #1
    Registered User
    Join Date
    08-09-2004
    Location
    auckland
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    72

    Expanding a list to repeat values based on another column

    Hi,

    I have a list of addresses and names.

    Down one side I have numbers which correspond to properties on another worksheet. Each number appears at least 3 times. On the same page is another column of the same numbers, which don't repeat. I would like to take the suburb name from next to the non repeating numbers and populate the column next to the corresponding numbers which repeat themselves.

    Is this possible?

    Let me know if I didn't make sense and I'll try and clarify.

    Thanks so much
    Ryan
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Expanding a list to repeat values based on another column

    Hi,

    don't quite understanding what you want to achieve, and you uploaded spreadsheet number column values not all appeared 3 times, without seeing your another worksheet, I can't visual it

    are you able to indicate in another worksheet on the final result that you want to achieve and explain it came from which source range/worksheets

    Rgds
    Christopher Yap

  3. #3
    Registered User
    Join Date
    08-09-2004
    Location
    auckland
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    72

    Re: Expanding a list to repeat values based on another column

    Hi Christopher,

    Thanks for the reply.

    Each suburb in the property suburb column has a number assigned, under the property number column are the same numbers, although generally there are about 3 of each number.

    I would like to put the suburb corresponding with number 1 in the blank column next to all "Property Numbers" that also have one. In this spreadsheet it would be the three top entries C2,C3, and C4.

    Hope this makes it a little clearer.

    Ryan

  4. #4
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Expanding a list to repeat values based on another column

    Hi Ryan

    in A2, input formula =INDEX(G:G,MATCH(B2,F:F,0)) and drag down

    Not sure if this is what you want, if not give us the desire result in the column/cell
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-09-2004
    Location
    auckland
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    72

    Re: Expanding a list to repeat values based on another column

    That is exactly it!

    What is that formula?

  6. #6
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Expanding a list to repeat values based on another column

    Hi Ryan,

    INDEX() returns the value of a cell in a table based on the col and row no.

    G:G is the returning column of Property Suburb that you want,
    MATCH() command helps you to match each cell in the number column with Column F ( the unique number col)

    e.g. for Cell G7, Row number = 2, Col number = 7 [Row() and Column() are the command to find the Row/Col no of a cell]


    you can google Index/Match and there are quite a number of explanation, examples, video that you can refer to, Index/match is the same as Vlookup, however Vlookup cannot look up value on the left, while Index/match is the better combination

    Cheers !

+ 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. Segmenting a continuously expanding list based on unique values.
    By Duct in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2019, 02:20 PM
  2. Extract list of values from one column based on values in another column
    By The Speculator in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-21-2019, 11:22 PM
  3. [SOLVED] Consecutive repeat of column headings based on cell values
    By mikear82 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2018, 08:49 AM
  4. Create unique list based on expanding criteria
    By Matster in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2016, 06:55 PM
  5. Replies: 2
    Last Post: 10-25-2013, 07:01 PM
  6. Display differances in values on expanding list
    By macroRoniAndCheese in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2013, 11:56 AM
  7. Replies: 2
    Last Post: 09-28-2011, 08:43 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