+ Reply to Thread
Results 1 to 4 of 4

Data Validation

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Warminster, England
    MS-Off Ver
    Excel 2010
    Posts
    73

    Data Validation

    I am trying to do some Data Validation on a column. I have selected a cell "D3" and have set the criteria as follows:
    Allow - WHole Number
    Data - Between
    Minimum - 0
    Maximum - =G2 (this is a cell that has a number currently 20 but it can be changed by the user)

    My problem is that the cell works fine but I want to apply the same rule to the whole column. When I select the cell handle and drag downwards, the validating is applied, but rather than the Maximum being =G1 it will choose the next cell i.e G2 then G3 and so on.

    How do I overcome this please?

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Data Validation

    You use =$G$2 instead of =G2 in your data validation.
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Registered User
    Join Date
    01-23-2012
    Location
    Warminster, England
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Data Validation

    Quote Originally Posted by Søren Larsen View Post
    You use =$G$2 instead of =G2 in your data validation.
    Superb answer, many thanks!
    Last edited by dadrew; 09-11-2012 at 03:29 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Data Validation

    EDIT: Delete

+ 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