+ Reply to Thread
Results 1 to 3 of 3

Drop down list with values 5, 10, 15, ..., 30 - Possible to include cell-reference also?

  1. #1
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Drop down list with values 5, 10, 15, ..., 30 - Possible to include cell-reference also?

    Hi all,

    I have created a drop down list predefined with values 5, 10, 15, 20, ..., 30. This is for the purpose of calculating statistics on a large table using OFFSET. Usually, I'm most interested in the recent past, but I would like to include the option of viewing the entire table.

    For this table that would be cell F5 = 1500. I find 1500 using a COUNT formula. F5 is a dynamic value as the table can both grow and shrink.

    Upon creating this question I realized I could accomplish this by simply creating a range where the bottom cell references F5.

    I still wonder if this is possible to accomplish directly in DataValidation by a formula as it would negate creating a lot of lists in other documents also.

    Thanks in advance.
    Attached Images Attached Images

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,717

    Re: Drop down list with values 5, 10, 15, ..., 30 - Possible to include cell-reference als

    Instead of typing your list into Data Validation, create a named range.

    Somewhere in your workbook (it can be a different sheet) put the following in a column:

    5
    10
    15
    20
    25
    30
    =Sheet1!F5 (or whatever your sheet is called)

    Then select those 7 cells. In the address bar, type TableNumber or whatever name you want.

    Then in Data Validation replace the list you typed with

    =TableNumber
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Re: Drop down list with values 5, 10, 15, ..., 30 - Possible to include cell-reference als

    Hi, 6StringJazzer,

    That works well, although I still have to create a reference in my sheets. No problem though. I was merely curious if there existed a formula I could enter directly in the Data Validation field.

    Thanks for helping.

    Elijah

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 10-22-2018, 01:06 AM
  2. [SOLVED] show data of reference cell instead of drop-don list
    By adeel1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-05-2017, 09:43 AM
  3. Replies: 1
    Last Post: 07-08-2015, 08:32 PM
  4. Cell reference from drop down list
    By seanpmac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-26-2014, 07:33 PM
  5. reference a cell on multiple worksheets that has a drop down list.
    By TrendWendy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-04-2013, 04:26 PM
  6. Excel 2007 : Drop down list Cell reference
    By Schibbinger in forum Excel General
    Replies: 0
    Last Post: 08-22-2011, 03:10 AM
  7. Create drop list jump to reference cell
    By localhost in forum Excel General
    Replies: 5
    Last Post: 12-31-2007, 04:05 AM

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