+ Reply to Thread
Results 1 to 10 of 10

formula for data validation

  1. #1
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    formula for data validation

    Hi tio all.
    In the attached workbook

    if ingl put the cells in English column S in column U
    if ita put the cells in Italian column S in column U

    thanks you
    xam
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: formula for data validation

    Please try at U2

    =TEXT(INDEX($S$2:$S$13,ROWS(U$2:U2)*2-($T$2="ita")),"[$-"&IF($T$2="ita","it","en")&"]dddd-mmmm-yyyy")
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    Hi bo_ry, thank you.
    The date is not correct
    Now is is dddd-February-yyyy
    Attached Files Attached Files
    Last edited by xam99; 02-05-2021 at 08:43 AM.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: formula for data validation

    This works in English Excel.

    I don't know Italian, maybe try

    =TEXT(INDEX($S$2:$S$13,ROWS(U$2:U6)*2-($T$2="ita")),"[$-"&IF($T$2="ita","it","en")&"]gggg-mmmm-aaaa")

    1.jpg

  5. #5
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    Why the formula doesn't it copy the same format as the date column S in column U?

  6. #6
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    Hello the correct date with formula is not working.
    it is possible with a private change macro

    if T2 = ing U2 = W6
    if T2 = ita U2 = V6
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    The macro does not report in U6 the same text as V6 or W6
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,700

    Re: formula for data validation

    Shall I move this to the VBA section for you?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    Hi aligw, o.k.

  10. #10
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    483

    Re: formula for data validation

    I don't understand where I'm wrong
    Please Login or Register  to view this content.
    in U6 the values / text of V6 or W6 do not come out

+ 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. [SOLVED] Data Validation formula breaks for half of incorrect data
    By ezraNBC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2020, 02:28 PM
  2. Replies: 7
    Last Post: 02-12-2016, 01:54 PM
  3. Replies: 4
    Last Post: 07-18-2014, 11:48 AM
  4. [SOLVED] How to use INDEX formula in conjunction with Data Validation to output data.
    By Pope_003 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2014, 11:08 AM
  5. [SOLVED] Formula to display data validation results on another sheet based on data chosen?
    By myoung5149 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 02:53 PM
  6. Need to shorten Data Validation formula in order to fit into formula field
    By V57strat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2012, 05:31 PM
  7. [SOLVED] Need Data Validation or Formula to Force Entry of Data in .25 Increments
    By sstravs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2012, 07:16 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