+ Reply to Thread
Results 1 to 6 of 6

Extract all entries from a list based on cell value

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    Extract all entries from a list based on cell value

    Hi all,

    I am trying to extract all entries of data from a report dependant on a alpha numeric reference

    THE LIST
    Column B has the reference, which constantly changing entries and amounts
    Column H has the part reference number in it

    CA2 has the desired alpha numeric number to report

    In CC2 I would like this to show the first part numer
    in CC3 the next one
    in CC4 next one

    upto 50 entries if they are in the "LIST"

    hope this makes sense

    I have tried the followi g formula which works ok, but it doesn't extract any duplicate entries

    =INDEX($H$2:$H$17, MATCH(0, IF($CA$2=$B$2:$B$17, COUNTIF($CC$1:$CC1, $H$2:$H$17), ""), 0))

    Many thanks for any help

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Extract all entries from a list based on cell value

    If you are not using column CB, then you can put this formula in cell CB2:

    =IF(H2=$CA$2,MAX(CB$1:CB1)+1,"")

    Copy this down to the bottom of your data (or beyond, to accommodate more data being added). Then you can use this formula in CC2:

    =IFERROR(INDEX($H:$H,MATCH(ROWS($1:1),CB:CB,0)),"")

    then copy down as far as you need it.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    Re: Extract all entries from a list based on cell value

    Boom, that perfect many thanks

  4. #4
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    Re: Extract all entries from a list based on cell value

    Hi Pete,

    just found that if I use the same method for another set of data the formula carries on from the first set of data

    Any way round this issue?

    Thanks again

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Extract all entries from a list based on cell value

    I'm not sure what you mean. It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Pete

  6. #6
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    Re: Extract all entries from a list based on cell value

    Sample file attached

    Many thanks
    Attached Files Attached Files

+ 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. Replies: 1
    Last Post: 11-27-2017, 08:50 PM
  2. [SOLVED] Extract all keywords from a cell based on a defined list
    By elayaz in forum Excel General
    Replies: 4
    Last Post: 08-28-2016, 06:44 AM
  3. [SOLVED] List cell entries based on numerical criteria
    By jcswaby in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-17-2016, 04:06 AM
  4. [SOLVED] Place text in a specific cell based on two separate drop down list entries
    By fazthfc in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-24-2015, 03:34 PM
  5. have vba remove values from one list based on entries from another list
    By frugal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2013, 06:36 AM
  6. How to extract specific cell entries as CSV?
    By Ice Burn in forum Excel General
    Replies: 1
    Last Post: 07-02-2010, 03:35 PM
  7. Extract certain entries from a list...
    By jenestra in forum Excel General
    Replies: 6
    Last Post: 11-03-2009, 06:56 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