Results 1 to 8 of 8

cell format: only numbers (no date) with any amount of decimals

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    cell format: only numbers (no date) with any amount of decimals

    Hi,
    I need a cell to restrict the input:
    -Only numbers are allowed.
    -No date posible.
    -Any amount of decimals (they must all be shown in the cell).

    I tried using the data validation and using the IsNumber() to restrict any non numeral input. The problem with this approach is that if the user enters a date; it apprears as a date format (eg: "5.May"). I'm using an european excel, where the decimal separator is a comma instead of a point; so if a user accidentaly types "5.5" instead of "5,5"; the cell will show "5.May".

    I also tried the cell format/number/number format. The problem in here is that I dont know how many decimal positions will the input number have; and I need them all to be shown.

    Is there any way to accomplish this?

    P.S. Unfortunatelly I am not allowd to use macros to solve this issue.

    Thanks a million.
    Last edited by Wizz; 09-08-2009 at 06:02 AM.

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