+ Reply to Thread
Results 1 to 2 of 2

Data entry and validation with custom number formatting

  1. #1
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    UK
    MS-Off Ver
    365
    Posts
    525

    Data entry and validation with custom number formatting

    Hi,

    I am seeking a solution for the following topic:

    - two cells have data validation set up as a list being {1,2,3,4,5}
    - the first call has general number format while the second ons is formatted as a custom number format being: "0;;-"
    - data entry in these cells is now possible either via the drop-down menu or directly into the cell
    - however: while in the first cell manual data entries are possible as {1,2,3,4,5}, I can enter into the cell with custom number formatting only {1,2,3,4), i.e. neither the entries "0" nor its formatted 'value' of "-" are being permitted by the data validation

    Is there a way to set this up differently, format it differently etc. so that I can input values into the cell containing the data validation also manually and not only via the drop-down (ideally in both ways, i.e. in the form of the actual data valiation ("0") as also in the form of the formatted 'value' ("-"))?

    Thanks

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,747

    Re: Data entry and validation with custom number formatting

    If you provide a data validation list of {1,2,3,4,5}, then no other values are allowed. That is how data validation is defined. You cannot enter 0. If 0 is a valid entry then your list should be {0,1,2,3,4,5}. You can't prohibit it and allow it both at the same time.

    I don't understand your last sentence but you cannot type in "-" and have it interpreted as 0. That is just how it is displayed using the format you provided.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Custom formatting and data validation combinations, with criteria
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2017, 04:30 PM
  2. Replies: 3
    Last Post: 08-13-2016, 06:10 AM
  3. [SOLVED] Data Validation Conditional Formatting allow entry into only one of two cells
    By dgibney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2015, 01:44 AM
  4. custom data validation for alphanumeric entry
    By wotadude in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-19-2009, 04:23 PM
  5. Replies: 7
    Last Post: 05-06-2009, 07:29 PM
  6. Data Validation and Custom Number Formats
    By Sloth in forum Excel General
    Replies: 1
    Last Post: 08-03-2006, 05:25 PM
  7. Data validation with custom number formatting
    By rbekka in forum Excel General
    Replies: 1
    Last Post: 06-19-2006, 03:35 AM

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