+ Reply to Thread
Results 1 to 2 of 2

Dynamic population of data validation field range

  1. #1
    Registered User
    Join Date
    09-13-2007
    Posts
    4

    Dynamic population of data validation field range

    Hey All,

    I'm trying how to figure out how to populate the source field of my data validation rule on a cell based on dynamic info.

    The data validation field is a dropdown list and it references text values on another page, the problem is that list of text values can be any length (usually a few thousand lines though). I've currently put in this in the source field:
    =all_pivot!$B$3:$B$65536

    This then lists all of the text values that I want, but also thousands of blank lines of space. I have checked off the ""ignore blank" option in the data validation setup, but the "all_pivot" page has values of 0 in the B column for any blank entries rather than actual blank entries.

    PS. I already do have a button on my spreadsheet called "refresh" that runs some VB script, so it's not a problem for me to add some VBscript to perform the action that I desire.

    thanks,
    Cam.
    Last edited by camt; 09-13-2007 at 01:57 PM.

  2. #2
    Registered User
    Join Date
    09-13-2007
    Posts
    4
    PS. Is it possible to actually populate a formula with a hard value in a cell?

    For example: say I had a cell that says =sum(a1:a100), but rather than a100 I wanted to use a dynamic number depending on the count of # of rows, so that my function would look like =sum(a1:[cell_b1]) and have the value of cell b1 set to a text value called a100 or something like that? If so this would be useful in many situations.

    I could see it fixing my current problem by hiding the end value I want for my
    data validation function, then using =all_pivot!$B$3:$B$[cell_zz1250] and have cell zz1250 store the end value of the cell range that I want.

+ 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