+ Reply to Thread
Results 1 to 5 of 5

Dependant Data Validation - Numbers NOT Lists

  1. #1
    Forum Contributor
    Join Date
    10-22-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    162

    Dependant Data Validation - Numbers NOT Lists

    Hi All,

    Just wondering if anyone knows if this is possible with out any VBA coding or not.

    I have spreadsheet with some dependant data validation for text which works fine using lists, named ranges and the INDIRECT formula. I'm looking for a way to restrict the data validation in one column to a numerical range based on the value of an adjacent cell - "In" or "Out".

    If the cell value is "In" then i'd like to restrict the numerical range from 0 to +1.0000 and if the value is "Out" then restricted from 0 to -1.0000.

    I realise this is possible using a list but with the four decimal places (may need to be expanded to 6) then I don't really fancy listing all the possible numbers.

    Any ideas?

    Thanks, TC

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Dependant Data Validation - Numbers NOT Lists

    Hello TC can you please upload a sample book with your desired results
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Dependant Data Validation - Numbers NOT Lists

    Assuming your Text IN and OUT starts from A2 and you want to apply data validation in column B2.

    go to data validation select custom formula option and copy paste =IF(A2="IN",AND(B2>0,B2<2),IF(A2="Out",AND(B2>-2,B2<0))).

  4. #4
    Forum Contributor
    Join Date
    10-22-2012
    Location
    London, UK
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    162

    Re: Dependant Data Validation - Numbers NOT Lists

    Hi Hemesh,

    Thanks for this, I've never used custom formulas for Data Validation before.

    Perfect, does exactly what I need, much appreciated.

    Thanks again.

    TC

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Dependant Data Validation - Numbers NOT Lists

    You are welcome ! and thanks for the feedback

+ 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. Data Validation. Multiple Dependant Lists Required
    By David_Schop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-29-2013, 07:35 AM
  2. [SOLVED] Data Validation - dependant lists - With a number value
    By philwilliams80 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-11-2013, 06:02 AM
  3. How to use data validation for Mutiple lists dependant on one list
    By excel66 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2011, 02:21 AM
  4. Replies: 3
    Last Post: 10-22-2007, 12:14 PM
  5. Data Validation Lists and dependant formulas HELP!
    By bnesswild in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2007, 02:09 AM

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