+ Reply to Thread
Results 1 to 7 of 7

Auto-Fill names based on a Validation?

Hybrid View

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

    Re: Auto-Fill names based on a Validation?

    No, I don't think it is macro time

    Try this:

    In I2 of Setup sheet, enter: =IF(H2='Team Overview (Breakdown)'!$F$3,COUNT($I$1:I1),"")

    and copy down to bottom

    then in say, G3 of the Team sheet enter: =MAX(Setup!I:I) (you can match font to background colour to hide it)

    Then in D5 enter:

    =IF(COUNTA($C$5:C5)+1>$G$3,"",INDEX(Setup_Consultants,MATCH(COUNTA($C$5:C5)+1,Setup!$I$2:$I$53,0)))

    copy that cell and then paste to each of the other cells in that row to populate.
    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.

  2. #2
    Forum Contributor
    Join Date
    12-03-2009
    Location
    Providence RI
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    260

    Re: Auto-Fill names based on a Validation?

    Small correction to NBVC's post, I2 needs to be,

    =IF(H2='Team Overview (Breakdown)'!$F$3,COUNTIF($H$2:H2,H2),"")

    and this would be copied down.

    The formula was missing the first person under the manager.

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

    Re: Auto-Fill names based on a Validation?

    Thanks for catching that Dulanic,

    I just missed a +1...

    so formula should be:

    =IF(H2='Team Overview (Breakdown)'!$F$3,COUNT($I$1:I1)+1,"")


    Note: COUNT() is I think more efficient then COUNTIF()

  4. #4
    Forum Contributor
    Join Date
    12-03-2009
    Location
    Providence RI
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    260

    Re: Auto-Fill names based on a Validation?

    That would make sense too

+ 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