+ Reply to Thread
Results 1 to 7 of 7

Formula for data validation for entry series number only

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Question Formula for data validation for entry series number only

    Hello Guys,

    Kindly help me creating a formula for Data Validation that can enter only a series number.

    Example if in cell A1 = 1000. The only data can be entered in cell A2 SHOULD BE plus 1 or 1001. The number 1002, 1003, 1004, or 1000 or 999 and others should be restricted. Even if I am going to directly entered in A3 up to A100 SHOULD BE plus 1 from the last serial number which is 1001.

    Thanks in advance.
    Click * below if this answer helped

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Formula for data validation for entry series number only

    1. Enter 1000 in A1
    2. select A2
    3. Go to Data Validation
    4. Select Whole number
    5. In formula, type =A1+1
    6. Copy validation and paste in other cells as well by selecting validation in paste special.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Formula for data validation for entry series number only

    Quote Originally Posted by shivya View Post
    1. Enter 1000 in A1
    2. select A2
    3. Go to Data Validation
    4. Select Whole number
    5. In formula, type =A1+1
    6. Copy validation and paste in other cells as well by selecting validation in paste special.
    Hi it is working when I enter in the immediate next cell. However, it is not applicable if I will skip a cell (skip cell A2) and I enter in A3. Ex. A1 = 1000, i go directly to A3 , the data validation is not working. the actual cell range is A1 - A10. if A1 is 1000, and i go directly to A6 its hould have 1001. Another instance, if A1 is 1000, A2 is 1001 and i go directly to A7 it should 1002. Can you possibly do this. Thanks.

  4. #4
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Formula for data validation for entry series number only

    Quote Originally Posted by shivya View Post
    1. Enter 1000 in A1
    2. select A2
    3. Go to Data Validation
    4. Select Whole number
    5. In formula, type =A1+1
    6. Copy validation and paste in other cells as well by selecting validation in paste special.
    Uncheck "ignore blank"

    Now. User will not be able to leave any cell blank

  5. #5
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Formula for data validation for entry series number only

    Yeah its working they cannot leave the blank cell. The problem is, there are instances that they need to skip a blank cell and a need to proceed to the next cell and when they do in the next cell it supposed to be in a series number. Please help. thanks in advance. Ex. A1 = 1000. cell A2 need to be skipped. So, they need to go to A3. A3 = 1001.
    Last edited by reimar_rem; 10-22-2017 at 08:41 AM.

  6. #6
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Formula for data validation for entry series number only

    Enter your starting value in A1

    In A2 use =IF(ISBLANK(B2),"",MAX($A$1:A1)+1)

    Adjust cell references if you are starting in other than A1
    Last edited by shivya; 10-22-2017 at 09:05 AM.

  7. #7
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: Formula for data validation for entry series number only

    Thank you so much. I think this fine for me MAX($A$1:A1)+1. it can leave blank but still in series.

+ 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: 7
    Last Post: 02-12-2016, 01:54 PM
  2. Replies: 1
    Last Post: 01-24-2014, 09:47 AM
  3. Replies: 6
    Last Post: 04-07-2013, 01:35 AM
  4. [SOLVED] Macro to find last entry in a series and count number
    By jefflawrie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2012, 12:33 PM
  5. [SOLVED] Need Data Validation or Formula to Force Entry of Data in .25 Increments
    By sstravs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2012, 07:16 PM
  6. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  7. Replies: 2
    Last Post: 08-30-2011, 03:40 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