+ Reply to Thread
Results 1 to 4 of 4

Multiple data validation in a single cell

  1. #1
    Registered User
    Join Date
    06-05-2017
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    MS-2013
    Posts
    8

    Multiple data validation in a single cell

    Hi

    I want multiple data validation in a single cell. for example i want a custom formula to valid data in that cell at the same time i want users to put only integer number in the cell.

    is there any possible way?

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Multiple data validation in a single cell

    With data validation you need to choose one or the other
    If the cell initially receives a value from a formula and you want to allow the user to overwrite with an integer THEN use 2 cells

    EXAMPLE
    A1 has the formula
    A2 has Data Validation to control user input (integer).
    The value in A1 is to be used unless a user has put a value in A2, then use A2

    Use correct value in A3 and multiply it by 100
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by kev_; 06-07-2017 at 05:14 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    06-05-2017
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    MS-2013
    Posts
    8

    Re: Multiple data validation in a single cell

    Hi @Kev_

    Thank you. I understand ur logic. Actually I want a single cell with double data validation. One data validation will come from a custom formula for data validation and in the same cell i wand a second data validation with integers.

    Example
    I went to Tab DATA\ DATA VALIDATION\custom
    i put the formula =AND(G9<>"",L19<>L20)
    Now the cell works fine with fractions too. but i want users to put only integers in this cell. that means i need another data validation here.

    Now what can i do? Plz help.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Multiple data validation in a single cell

    Not possible within the same data validation

    Your Data Validation should be forcing the user to input an integer

    the condition =AND(G9<>"",L19<>L20) should drive the values elsewhere

    You could block (via VBA) user access to the cell if condition not met
    Last edited by kev_; 06-07-2017 at 08:27 AM.

+ 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: 0
    Last Post: 09-25-2015, 02:56 PM
  2. Replies: 1
    Last Post: 09-28-2014, 09:09 AM
  3. Data Validation List from single source cell
    By Crispie38 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-10-2014, 08:05 PM
  4. Multiple lookup in a single cell with data validation
    By luckiest man in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2011, 01:17 AM
  5. Multiple lookup in a single cell with data validation
    By luckiest man in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2011, 01:02 AM
  6. Dynamic Data Validation based on series in a single cell
    By ExcelLefty in forum Excel General
    Replies: 4
    Last Post: 09-29-2009, 08:45 AM
  7. [SOLVED] multiple validation in a single cell
    By whowatwerwyhow in forum Excel General
    Replies: 5
    Last Post: 04-15-2005, 10:06 AM

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