+ Reply to Thread
Results 1 to 7 of 7

Pick up values from a table based on 1 condition

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Pick up values from a table based on 1 condition

    Hi

    How do I get all accounts in the name of James on the feeder sheet into cells from A6. Using a formula

    You would end up with

    A6 - 1222
    A7 - 4785
    A8 - 1588



    excel help.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pick up values from a table based on 1 condition

    Hi and welcome to the forum

    Try this little trick.

    on FEEDER in D4, copied down...
    =COUNTIF($A$4:A4,'Main sheet'!$A$3)
    Then use this, copied down and across on MAIN, A6...
    =IFERROR(INDEX('Feeder sheet'!$A$3:$C$16,MATCH(ROW(A1),'Feeder sheet'!$D$3:$D$16,0),MATCH('Main sheet'!A$5,'Feeder sheet'!$A$3:$C$3,0)),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Pick up values from a table based on 1 condition

    Hi

    Many thanks for this nifty formula. I should have said this is a snapshot of a huge spread sheet. Which has about 50 portfolio managers on it. Can you think of a simpler way of doing this.

    Ultimately on the main spread sheet there would be 50 tables. One for each PM

    James

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pick up values from a table based on 1 condition

    Can you upload a sample that more closely matches your layout/format/data then please

  5. #5
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Pick up values from a table based on 1 condition

    Hi for some reason my upload does no work.

    Basically on the original you would have the same layout as rows 3 and 5 but with a different PM name. for example say cell A11 would be Dave Cell A 20 would be Sarah etc with all their accounts shown underneath.

  6. #6
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Pick up values from a table based on 1 condition

    excel help.xlsx

    Please see updated spreadsheet

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pick up values from a table based on 1 condition

    I created a quick pivot table, see if this is something you can work with?
    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. How to pick a value from table based on condition.
    By nlpman in forum Excel General
    Replies: 1
    Last Post: 03-16-2012, 07:44 AM
  2. Replies: 6
    Last Post: 03-11-2012, 09:28 AM
  3. i want to pick up some values from a table
    By rusulucian85 in forum Excel General
    Replies: 1
    Last Post: 10-06-2008, 04:39 PM
  4. Group data and pick a particular row based on a condition
    By VishalBade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 02:25 PM
  5. how to pick from a range of table values
    By jackoat in forum Excel Formulas & Functions
    Replies: 69
    Last Post: 09-06-2005, 07:05 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