+ Reply to Thread
Results 1 to 3 of 3

Autofilling Tables based on Criteria

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Sunrise, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Red face Autofilling Tables based on Criteria

    I have attached a file for use as an example to the problem I am having.

    Basically, what I would like to do is type in a store number in the tab labeled "table", and have all of the cashiers for that store listed in the table below. The "data" tab contains all the stores and cashier #s.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Autofilling Tables based on Criteria

    In C2 of Data tag:

    =COUNTIF(A$2:A2,Table!$B$3) copied down

    in D2:

    =Max(C:C)

    then in the Table tab, A6:

    =IF(ROWS($A$6:$A6)>Data!$D$2,"",INDEX(Data!B:B,MATCH(ROWS($A$6:$A6),Data!C:C,0)))

    copied down as far as you need.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-19-2010
    Location
    Sunrise, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Autofilling Tables based on Criteria

    Thank you, O God of Excel!

+ 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