+ Reply to Thread
Results 1 to 3 of 3

Data Validation Help

  1. #1
    Josh O.
    Guest

    Data Validation Help

    I am trying to set a data validation to respond this way:
    If A1="Add", then value must be >=0.
    If A1="Drop", then value must be <=0.
    If A1=(Any Other Value), then accept any value.

    Here is the formula in the data validation that I am using now. It does
    everything except allow any value if A1 is not Add or Drop.
    =IF(B14="Drop",E14<=0,IF(B14="Add",E14>=0,""))

  2. #2
    Ron Coderre
    Guest

    RE: Data Validation Help

    Try this:

    Formula: =IF(B14="Drop",E14<=0,IF(B14="Add",E14>=0,TRUE))

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "Josh O." wrote:

    > I am trying to set a data validation to respond this way:
    > If A1="Add", then value must be >=0.
    > If A1="Drop", then value must be <=0.
    > If A1=(Any Other Value), then accept any value.
    >
    > Here is the formula in the data validation that I am using now. It does
    > everything except allow any value if A1 is not Add or Drop.
    > =IF(B14="Drop",E14<=0,IF(B14="Add",E14>=0,""))


  3. #3
    Josh O.
    Guest

    RE: Data Validation Help

    Perfect...thank you.

    "Ron Coderre" wrote:

    > Try this:
    >
    > Formula: =IF(B14="Drop",E14<=0,IF(B14="Add",E14>=0,TRUE))
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    > XL2002, WinXP-Pro
    >
    >
    > "Josh O." wrote:
    >
    > > I am trying to set a data validation to respond this way:
    > > If A1="Add", then value must be >=0.
    > > If A1="Drop", then value must be <=0.
    > > If A1=(Any Other Value), then accept any value.
    > >
    > > Here is the formula in the data validation that I am using now. It does
    > > everything except allow any value if A1 is not Add or Drop.
    > > =IF(B14="Drop",E14<=0,IF(B14="Add",E14>=0,""))


+ 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