+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 Data Valid. with list issue

  1. #1
    Registered User
    Join Date
    10-06-2013
    Location
    Union, SC
    MS-Off Ver
    Office 2007
    Posts
    4

    Excel 2007 Data Valid. with list issue

    The no fill cells (S5 & U5) are for direct entry. The color filled (light green - T5 & V5) do calculate but may be replaced with a direct entry if needed.

    The decimal cells (S5 & T5) generate an invalid entry alert dialog for valid values above 1.12. Meaning if I key in 1.11 all goes well, if I key in 1.13 up to the maximum valid number of 2.00, I get the invalid dialog. If I select any of these numbers from the drop down list, the entry is accepted.

    The whole numbered cells (U5 & V5) accept all keyed in numbers within the associated list. Picking from both drop lists work for all list members. It is the keyed in data for the decimal cells (S5 & T5) that fail for data > 1.12 If I convert the decimal list to whole numbers, (By keying in whole numbers into Lists!G5:G7) then it magically works again without changing any of the underlying formulas. Why is that & how to fix it?

    The Ranges are dynamically created from the Min, Step, & Max entries on the Lists sheet. The TPR range is maintained by
    [ =OFFSET(Lists!$AA$2,0,0,COUNT(Lists!$AA:$AA),1) ] Column AA , XYZ range uses the same formula with Z column nomenclature.

    EDIT: Sorry for the confusion. I edited my post to hopefully improve understanding. I'll be uploading a new workbook with the above text included. I hope this is better than my last attempt. Apparently I was more fatigued than I realized.
    Attached Files Attached Files
    Last edited by SCClockDr; 02-20-2017 at 12:00 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Excel 2007 Data Valid. with list issue

    Hello,

    your problem description is really, REALLY hard to understand. Can you please try again and use some punctuation this time? Punctuation helps us figure out where one sentence ends and the next one starts. Your text all runs into one big mess.

    When you refer to a cell, please use a cell address, like S5 instead of "the decimal cells". Describe what the problem is. What is "invalid entry"? What is showing in the cell? Why is it invalid? What should be showing instead?

    Please help us help you and use a bit more care when writing your message.

    cheers, teylyn

  3. #3
    Registered User
    Join Date
    10-06-2013
    Location
    Union, SC
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Excel 2007 Data Valid. with list issue

    Here is the updated workbook.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-06-2013
    Location
    Union, SC
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Excel 2007 Data Valid. with list issue

    Quote Originally Posted by teylyn View Post
    Hello,

    your problem description is really, REALLY hard to understand.
    I apologize
    Can you please try again and use some punctuation this time? Punctuation helps us figure out where one sentence ends and the next one starts. Your text all runs into one big mess.

    When you refer to a cell, please use a cell address, like S5 instead of "the decimal cells". Describe what the problem is. What is "invalid entry"?
    Happens when I key in any number from 1.13 - 2.00 into cell S5 or T5
    What is showing in the cell?
    The number I keyed in displayed as selected focus remains on S5 or T5
    Why is it invalid?
    The data is valid but Excel throws up the Value is not valid dialog. The list being used to validate the decimal cells contains numbers from 1.00 to 2.00 in 0.01 increments. Picking from the drop list works as expected for all numbers 1.00-2.00.
    What should be showing instead?
    The number as keyed in with the selection moving on to the next cell (down if hitting return, right if TAB or Right key etc.)

    Please help us help you and use a bit more care when writing your message.

    cheers, teylyn
    Last edited by SCClockDr; 02-20-2017 at 12:31 AM.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Excel 2007 Data Valid. with list issue

    Thank you. That is much clearer.

    The reason for the error message is probably in the tiny, tiny inaccuracies that Excel has with floating point precision (see here).

    You can get rid of that error by rounding the number that is calculated in the Lists sheet. In cell AA2 of the Lists sheet use this formula

    =IF(OR(G$6=0,AA2+G$6>G$7),NA(),ROUND(AA2+G$6,2))

    and copy down. The numbers have now been rounded to exactly two decimals and floating point inaccuracies have been removed.

    Now you can type any number in the valid range in the Track Master sheet without any error message.

  6. #6
    Registered User
    Join Date
    10-06-2013
    Location
    Union, SC
    MS-Off Ver
    Office 2007
    Posts
    4

    Re: Excel 2007 Data Valid. with list issue

    Thank You teylyn, this will help immensely.

+ 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. Replies: 2
    Last Post: 08-08-2013, 02:22 PM
  2. Date Format Issue: Importing data into Excel 2007
    By harribry in forum Excel General
    Replies: 1
    Last Post: 08-18-2011, 11:17 AM
  3. Excel 2007 Data Validation Issue
    By dgaller in forum Excel General
    Replies: 1
    Last Post: 03-02-2011, 04:04 PM
  4. Replies: 3
    Last Post: 07-29-2010, 02:27 PM
  5. Excel 2007 : Data entry issue for Excel 2007
    By Dena Marie in forum Excel General
    Replies: 6
    Last Post: 09-09-2009, 05:14 PM
  6. Mail Merge Issue - Excel 2007 to Word 2007
    By JBG2007 in forum Excel General
    Replies: 1
    Last Post: 07-18-2008, 12:43 PM
  7. Pivot table drop down list with data no longer valid?
    By John_Mtl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2007, 11:01 AM
  8. [SOLVED] Excel 2007 Issue: Charting numerous strings of data
    By Hunter in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-26-2006, 06:20 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