+ Reply to Thread
Results 1 to 3 of 3

Automatically generate DV list of consecutive numbers

  1. #1
    Registered User
    Join Date
    04-18-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Automatically generate DV list of consecutive numbers

    Hi,

    I've been looking for a quick solution to what I thought would be a simple data validation problem.

    I need to create data validation lists on the fly depending on yes/no answer and a first input number.

    First the user answers yes or no:
    Q1: Do you have any kids?
    A1: yes/no

    Q2: How many kids do you have ?
    A2: Just an integer data validation. However I would like to automatically insert the zero if the answer above was no

    Q3: How many kids live at home with you?
    A3: Here I would like a data validation list created on the fly which would have just the consecutive numbers (1, 2, 3, ...etc up till the maximum possible, i.e., the actual number of kids entered in A2). Of course, if the answer to Q1 was no, I still need a zero here

    It looks simple, yet I have been searching some websites for a while and can't find an answer anywhere...

    Thanks so much for your help!

    JD

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Automatically generate DV list of consecutive numbers

    hi jd2010
    Check attached....
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    04-18-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Automatically generate DV list of consecutive numbers

    Thank you!

    This is very good. I had thought it could be done without VBA, now I see it was more complicated than what I had thought...

+ 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