+ Reply to Thread
Results 1 to 2 of 2

Custom Validation Criteria

  1. #1
    Registered User
    Join Date
    02-08-2007
    Posts
    1

    Custom Validation Criteria

    Hi everyone,

    I am validating some cells that are depenedant on the values in the adjacent column. i.e. If people work under 50 hours in column I they are only entitled to a travel allowance of $50 or below. If they work 50 hours or above they are entitled to between $50 - $100.

    I have entered the custom validation of =IF(I10<50,J10<=50,AND(J10>=,J10<=120)) which seems to work fine.

    However, I have seen it enetered elsewhere as =IF(I10<50,J10<=50,AND(50<=J10,J10<=120)) which also works. My basic question is, how does his second way work, I don't understand th 50<=50 part.

    Thanks in Advance

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by AHaigh1042
    Hi everyone,

    I am validating some cells that are depenedant on the values in the adjacent column. i.e. If people work under 50 hours in column I they are only entitled to a travel allowance of $50 or below. If they work 50 hours or above they are entitled to between $50 - $100.

    I have entered the custom validation of =IF(I10<50,J10<=50,AND(J10>=,J10<=120)) which seems to work fine.

    However, I have seen it enetered elsewhere as =IF(I10<50,J10<=50,AND(50<=J10,J10<=120)) which also works. My basic question is, how does his second way work, I don't understand th .

    Thanks in Advance
    50<=50 part ?

    50<=J10 is the same as J10>=50

    hth
    ---
    Si fractum non sit, noli id reficere.

+ 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