+ Reply to Thread
Results 1 to 6 of 6

data validation list on changing pivot table

  1. #1
    Registered User
    Join Date
    06-02-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    19

    data validation list on changing pivot table

    Hi guys,

    how can I create a data validation list from pivot table which data are changing?

    1) first problem I have with Pivot table displaying "(blank)" row
    2) second problem I have that the data val. list is displaying all blank rows from the range I specified and also the not wanted "(blank)" value

    See attached xls.
    excel_DataValidationList_PivotTable.xlsx

    Thanks for any tips.

  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,938

    Re: data validation list on changing pivot table

    for 1, click the dropdown and uncheck BLANKS
    for 2, chgange your DV formula to this...
    =INDIRECT("$D$4:D"&COUNTA(D4:D157)+3)
    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
    Registered User
    Join Date
    06-02-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: data validation list on changing pivot table

    Quote Originally Posted by FDibbins View Post
    for 1, click the dropdown and uncheck BLANKS
    Is there a way to do this without touching the pivot filter? When you uncheck the blanks, your pivot will not update with the new records, you need the select all, and uncheck it again... Maybe skip that line in DV formula? IS there a way?

    Thanks

  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,938

    Re: data validation list on changing pivot table

    no, if you add new data, you need to refresh your PT. having blanks unchecked does not affect this

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: data validation list on changing pivot table

    Quote Originally Posted by dusoo View Post
    Is there a way to do this without touching the pivot filter?
    Yes it is possible

    Place the cursor in D5 Cell and in Data Click A-Z sorting button, once you click the the blank will always stay at the bottom eventhogh any increase of decrease in data size. So refreshing the pivot will always keep the blank value in bottom only.

    So like FDibbins suggestion use the blow formula in H3 cell validation List

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Now it will always pick the right values....


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  6. #6
    Registered User
    Join Date
    06-02-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: data validation list on changing pivot table

    Thanks for that

+ 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