+ Reply to Thread
Results 1 to 2 of 2

only allow data entry to 2nd decimal

  1. #1

    only allow data entry to 2nd decimal

    When entering sales data in an exel spreadsheet, some extra numbers are
    getting keyed in mistake.

    the spreadsheet is formatted in accounting, 2 decimal places. the
    correct figure is $24.13. However sometimes this is keyed in $24.133
    by mistake, and the user doesn't know, because the number is still
    formatted $24.13.

    Is therre a way to get the user to enter data with no more than 2
    decimal places?


  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Select all the cells that are affected then select from the menu: Data>Validation>Select tab Settings. Allow:Custom, Formula: =ROUND(A1,2)=ROUND(A1,3)

    Note that A1 is the first cell in your selected range.

    Hope it helped
    Ola Sandström

+ 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