+ Reply to Thread
Results 1 to 2 of 2

Validation

  1. #1
    Registered User
    Join Date
    10-02-2015
    Location
    Valdosta, GA
    MS-Off Ver
    2010
    Posts
    2

    Validation

    I am trying to use the formula for cell validation in cell B9 on a spread sheet.

    =FIND(".",B9,1)>=LEN(B9)-2 if I enter 724.00 or 724 I get an error however if I enter 724.01 I get no error. I do need to enter whole dollar numbers at times. How can I get the validation to work with whole numbers also.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,650

    Re: Validation

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    will be true if the decimal part is zero. That is, =INT(724.00)=724.00(=724)=TRUE; =INT(724.01)=724.01=FALSE

    So, you could test for that first to eliminate whole numbers (integers)

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. [SOLVED] Using Dependant Validation. Show error or blank if Inital Validation Changes
    By marsham in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-20-2013, 04:24 PM
  2. Date and count validation in single cell - Custom Validation
    By murugavelmsc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2013, 05:25 AM
  3. Replies: 2
    Last Post: 11-24-2010, 01:07 PM
  4. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  5. Stop Worksheet_Change macro if validation not met in Data Validation
    By Wizz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2010, 12:26 PM
  6. data validation-Can the source of the validation criteria be dfrom a different sheet?
    By yael pinkert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2009, 04:28 AM
  7. Data validation - when copied & pasted validation overlooked.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2008, 04:29 PM
  8. [SOLVED] Validation Data using Validation Table cell range.....
    By Dermot in forum Excel General
    Replies: 10
    Last Post: 01-30-2006, 09:35 PM

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