+ Reply to Thread
Results 1 to 2 of 2

List all items depending on Drop-list Value

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Caernarfon, Wales
    MS-Off Ver
    Excel 2010
    Posts
    3

    List all items depending on Drop-list Value

    Hello there,

    I've got a worksheet where each row has a drop-box input with the values "material ordered", "in progress" and "at subcontractors". What I aim to do is have, on another worksheet in the same document, a table which lists all the "works order numbers" (Cell range A:A) that are currently in the "material ordered" state, "job in progress" etc.

    So, for example - I would enter data into Row A, sheet 1, mark it as "material ordered", and as soon as I have done so, the cell-value from A1 would pop up under the "material ordered" column in Sheet 2. I attempted to do this with INDEX-MATCH, which somewhat worked - the problem being that there were large gaps in the list, as the INDEX-MATCH would only show the values in their corresponding rows, meaning that the table on sheet 2 would have to be as long as that in sheet 1, which defeats the purpose.

    Would this be possible?

    Thanks in Advance for the help

    (I have attached the worksheet I am working on, The data will be entered in "schedule", the drop-down values are in the column marked "progress" the value i want displayed is W.O.N and the Data is to be displayed int the columns at the bottom of the "SEARCH" sheet)
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: List all items depending on Drop-list Value

    Hi,

    The attached should do what you need. The formulae on the SCHEDULE sheet columns AG:AI use COUNTIF to create a running total of how many times each possible entry has appeared. You can then use these in your INDEX/MATCH combination on the SEARCH sheet to return the first, second, third instance of each.
    =IFERROR(INDEX(SCHEDULE!A:A,MATCH(ROW()-23,SCHEDULE!AG:AG,0)),"-")
    AS you can see from the above, I've used ROW()-23 to generate the number 1 for the first returned row on the SEARCH sheet (which is row 24), 2 on the second, etc etc.

    As a general comment, use of merged cells really slows down this sort of analysis, making copy/paste and autofill not work as you would like, and nearly put me off finishing this at all. Please avoid merged cells when doing this sort of thing!
    Attached Files Attached Files
    Kind Regards,

    Out of the Hat

    "Computers are stupid - they do EXACTLY what you tell them to"

    If I've helped you with a problem, please say thanks by clicking the small star icon on the left.

+ 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.6.0 RC 1