+ Reply to Thread
Results 1 to 12 of 12

drop down list..if cells contain data

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    drop down list..if cells contain data

    Hello

    I have a drop down list of employees. the file is a template and thus i have dummy names in there for a total of 20 names.

    now, my data validation list contains all 20 names, but more than likely the branch ppl will use a max of 5 ppl to add to this list. so instead of having all the blank spaces in the drop down list, is it possible for it to show only the active names?

    can anyone help, thx you very much!
    Last edited by NBVC; 03-03-2011 at 03:34 PM.

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

    Re: drop down list..if cells contain data

    No attachment??
    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
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    Hello there,

    I have attached a sample. the "CSA" worksheet has the drop down selection...i have highlighted the cells in red.

    so if the drop down list can be dynamic enough to only show the names that are showing?...is that possible? thx you again!!
    Attached Files Attached Files

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

    Re: drop down list..if cells contain data

    Redefine the Name named range as:

    =OFFSET('ISE Performance'!$C$10,1,0,COUNTA('ISE Performance'!$C$11:$C$30),1)

  5. #5
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    thx you oh so much!...have a great day!

  6. #6
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: drop down list..if cells contain data

    open the name manager and type in C11:INDEX(Name,COUNTA(Name))

    and call it something, i used dynamicnamelist then in your cells requiring the DV list, insert the dv list and in the refers to hit F3 and paste the dynamicnamedlist

    you should now have only populated cells in your dv list
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  7. #7
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    Hello

    thx you for your prompt response and help, it works like a charm.

    i have another question.

    i need to be able to sum or count rather the # of CSA (contracts) a sales person has signed.

    here is a formula i had in place, but not sure if im executing it correctly.

    =vlookup($C11,CSA!$D$14:$E$263,2,(countif(CSA!E14:E263,"="&'ISE Performance'!AM10)),false)

    basically, on the "ISE Perf" worksheet, i need to vlookup the sales person name, and count the # of contracts they have signed in a time period i.e. P1, P2 etc....thxs for your help!

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

    Re: drop down list..if cells contain data

    If you have 2007 as your profile indicates, then perhaps:


    =COUNTIFS(CSA!$D$14:$D$263,C11,CSA!$E$14:$E$263,AM10)

    if not,

    =SUMPRODUCT(--(CSA!$D$14:$D$263=C11),--(CSA!$E$14:$E$263=AM10))

  9. #9
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    thx you very much

  10. #10
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    Hello

    thxs for your help earlier. im having some issues with sumif

    i have attached a sample workbook. basically,

    the quota/budget is input early in the year for all 12 months.

    how can i make the column highlighted in "red" to sum only period we are in and past?
    i.e.
    we are in P2 (month 2)
    Period1 = $2000
    Period 2 = $2000
    Period 3 = $2000
    Period 4 = $2000

    there is a cell highlighted in yellow "Period 2"...so the YTD sum should be or column AJ should read $4000, instead of $8000.

    ur help is much appreciated. thx you!
    Attached Files Attached Files

  11. #11
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: drop down list..if cells contain data

    in AJ11 and drag down =SUM(X11:INDEX($X11:$AI11,1,MATCH($D$6,$X$8:$AI$8,0)))

    but i'm not totally sure if this is the ytd you're totaling,

  12. #12
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: drop down list..if cells contain data

    omg thx you so much!....

    that is exactly what i was looking for. to sum only the period we are in and what has passed.!!!! thx you so so much!

+ 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