+ Reply to Thread
Results 1 to 4 of 4

Create sequencial number list to use for Data Validation

  1. #1
    Forum Contributor
    Join Date
    02-26-2014
    Location
    Aylsham, Norfolk, UK
    MS-Off Ver
    Excel 365
    Posts
    126

    Create sequencial number list to use for Data Validation

    Hi All,

    I need a formula that I can use in order to create a list that I can use with Data Validation.

    So cell D14 is where they enter the maximum number.

    I need a list to be generated and for Data Validation to look at so that it can produce a list with D14 being the last number in the list.

    Data Validation list: 1,2,3 ... (upto D14 value)

    Numbers are always integers.

    I hope that makes sense.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    18,525

    Re: Create sequencial number list to use for Data Validation

    Create named range: I have called it "List" in the attached in Column C

    Refers to: =OFFSET(Sheet1!$C$2,,,COUNT(Sheet1!$C:$C),1)

    in C2

    =IF(ROWS($1:1)<=$D$14,ROWS($1:1),"")

    Copy down until blank )or to maximum value in D14)

    in DV

    Source: =List
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-26-2014
    Location
    Aylsham, Norfolk, UK
    MS-Off Ver
    Excel 365
    Posts
    126

    Re: Create sequencial number list to use for Data Validation

    Your formula worked perfectly, obviously had to do a few fiddles to make it fit my needs, but amazing. I always forget how useful formulas are in Name Manager.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    18,525

    Re: Create sequencial number list to use for Data Validation

    Thank for the feedback and rep.

+ 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. Create temporary data validation list
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-02-2016, 11:29 PM
  2. Create data validation based on lookup to get a list
    By Rocky2013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-16-2013, 11:31 AM
  3. Replies: 3
    Last Post: 05-23-2013, 06:23 AM
  4. [SOLVED] create list of spreadsheet's data validation rules
    By ShoshanaM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-03-2012, 05:33 PM
  5. Replies: 4
    Last Post: 02-15-2012, 12:11 PM
  6. Excel 2007 : Data Validation - Cannot create List
    By oopsieny in forum Excel General
    Replies: 3
    Last Post: 08-16-2010, 12:46 PM
  7. [SOLVED] How do you create a list & data validation in same cell?
    By JLS in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-12-2006, 10:50 PM

Tags for this Thread

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