+ Reply to Thread
Results 1 to 23 of 23

Data validation error

  1. #1
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Unhappy Data validation error

    Hi. I'm trying to put a data validation condition for an calendar data between 01.01.1700 and TODAY, but I receive an error message. Screenshot 2022-11-20 133455.jpg
    Where I'm wrong? Tks for the answer!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    dates less than 1900 will be text and cannot be formally used in DV for calculations

  3. #3
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Even if I change the date, doesn't work...
    Attachment 805810

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    read big yellow banner at the top of this page HOW TO ATTACH excel file properly

    btw. type =TODAY() in any cell (not manually formatted) and see the format generated by Excel
    Last edited by sandy666; 11-20-2022 at 08:02 AM.

  5. #5
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    I've read it, I I'm aware how to post an file, but I can't post the file with the data validation condition, because if it has an error and I can't save the file, so the error can't be seen. Sorry, if I'm doing something wrong, I'm a noob in Excel. Tks for the TODAY suggestion

    Update and question...
    If I have another question about data validation, but with different condition, do I have to open another thread?
    Last edited by Dariana; 11-20-2022 at 08:15 AM.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    tested and it works

    dvdate.png

    dvdate2.png

    DV works if you manually enter value, date or number etc. but if you will use copy/paste it doesn't work properly
    Last edited by sandy666; 11-20-2022 at 08:23 AM.

  7. #7
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Ok, but if I want the data to be formatted as 01.01.1900 how can I do this, because my Excel generate the date as 20,11,2022... As I insert the data, I want to insert the data with a dot, not with comma or slash...
    Last edited by Dariana; 11-20-2022 at 08:25 AM.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    see your format of dates

    formatcell.png

    also select your A2 cell and resize to bigger than now , if your date is aligned to the left it means this is not a proper date but text
    you can try with selected A2 and change format to General, if you see number it will be a date if you still see "date" - this is a text not a date
    Last edited by sandy666; 11-20-2022 at 08:36 AM.

  9. #9
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: Data validation error

    minimum date 1/1/1900
    Attached Images Attached Images

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    @wk9128 see post #2

  11. #11
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    I'm sorry if I don't express myself correctly, to make myself understood... so, the regional settings are of the type date dd.mm.yyyy, with the dot...
    Screenshot 2022-11-20 145427.jpg
    My cell is formatted as custom like [$-ro-RO ]dd.mm.yyyy. but, if I want to enter the date from the keyboard like 01.01.1900, the validation condition does not work.
    Screenshot 2022-11-20 150010.jpg
    I don't want every time I enter the date, to have to enter it with a comma.
    Screenshot 2022-11-20 135706.jpg



    Sorry if the images are to big, I did not know how to resize it!

    If I have another question about data validation, but with different condition, do I have to open another thread?
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Dariana; 11-20-2022 at 10:26 AM.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    if it will be the same problem you can continue here

    as I can see your dates in the cells are TEXT
    romania.png

    in Format Cells check date format not in Custom but in Date (see post#8)

    Custom format is What You See not What You Really Have
    dates.png


    desc.png
    Last edited by sandy666; 11-20-2022 at 10:07 AM.

  13. #13
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Ok, I understood. Tks a lot for your help.

    P.S. Sorry for the Book1.xlsx file, it was wrong...

    P.S2. My second problem is about data validation by list from external source... can I insert an condition on data validation as list, but the source to be another workbook than the original? Because I've tried, but it can't work... How I can do this?
    Last edited by Dariana; 11-20-2022 at 10:42 AM.

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    DV doesn't accept direct reference to another workbook, but you can create a list in another worksheet and use it after hiding this worksheet, but maybe I'm wrong and someone else will give a better solution, I am Power Query user

    you can define Name for your list and use it everywhere in the workbook

    listname.png

    or with Power Query you can import list from another workbook, load to the sheet and use it as normal list in DV
    Last edited by sandy666; 11-20-2022 at 11:37 AM.

  15. #15
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Tks for the suggestion, I know how to refer to an inbuilt list in the same workbook...
    I wanted to know if is possible to refer to an external source.

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    as I said, you can use Power Query but with formula you'll need to wait for someone else
    have a nice day

  17. #17
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Tks a lot for your effort and for the time. I will wait to see is someone knows this. I have an old book who says that is possible, but may be only in the old versions of office.

  18. #18
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    in the book is "it's possible" and that's all?

    you can try with INDIRECT() but workbook with list must be open
    try here
    Drop Down List from Another Workbook
    Last edited by sandy666; 11-20-2022 at 01:44 PM.

  19. #19
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    No, it is not all... the book says this:

    Step 1. Open workbook „balkaniada” with FileOpen.
    Step 2. We configure the Excel window so that both registers are opened simultaneously through Windows Arrange.
    Step 3. We position ourselves in the spreadsheet where we have the "Competition_discipline" field. We check that the values ​​we will use for the validation list are constituted in an Excel list.
    Step 4. Through Insert Name Define we will give the name "discipline", and in the editing area Refers to... we delete the existing reference and by outlining with the mouse we enter the references of the discipline_de_concurs column from the "inspected" register which is active!
    Step 5. In the Define Name window we add the new name.
    Step 6. We select the "balkaniada" register and position ourselves on the cell where we want to insert the validation through the (drop-down) list.
    Step 7. We open the Data Validation validation window, enter the name of the domain (created as an external reference!) preceded by the = sign. See the attached screenshot.
    Careful! Let's not forget that the "inspected" register must be open when editing the "participants" database!
    This are the pictures...
    Picture2.png

    What you suggested seems to be the same as my book, but doesn't work...
    Last edited by Dariana; 11-20-2022 at 05:47 PM. Reason: invalid attachment

  20. #20
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    I can suggest nothing because I prefer life easier not harder

    btw. your attachment doesn't work = incorrect attachment

    I did what she said in the link from above and it working as hell !

    dvs.png

    Both workbooks MUST be open !

    and use View - Zoom - 100% picture should be smaller
    Attached Files Attached Files
    Last edited by sandy666; 11-20-2022 at 06:11 PM.

  21. #21
    Registered User
    Join Date
    04-04-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2210 Build 16.0.15726.20188) 32-bit
    Posts
    22

    Re: Data validation error

    Tks for the support, I will try and I will tell you if it works.

  22. #22
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation error

    my pleasure

  23. #23
    Registered User
    Join Date
    11-14-2022
    Location
    Canada
    MS-Off Ver
    Office 95 (7.0)
    Posts
    8

    Re: Data validation error

    Good information. I will try.

+ 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: 04-18-2022, 11:22 PM
  2. Data Validation Error
    By Sanga Fanai in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2018, 12:19 PM
  3. Data Validation Error
    By Bradleypike in forum Excel General
    Replies: 5
    Last Post: 09-28-2017, 12:45 AM
  4. Error 400 and Data Validation
    By dreicer_Jarr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2016, 04:50 PM
  5. Error on VBA for Data Validation
    By phpolicylady in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2015, 08:47 PM
  6. Data Validation Error
    By zayn in forum Excel General
    Replies: 4
    Last Post: 01-18-2010, 09:33 AM
  7. [SOLVED] #VALUE# error with Data Validation
    By KG in forum Excel General
    Replies: 1
    Last Post: 05-28-2005, 01:05 AM

Tags for this Thread

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