+ Reply to Thread
Results 1 to 7 of 7

Data Validation Formula Help

  1. #1
    Registered User
    Join Date
    05-15-2011
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2007, Excel MAC 2008
    Posts
    64

    Data Validation Formula Help

    Guys
    Looking for small bit of help on data validation formula

    I want to force a user to enter a date in C2 if B2 contains any of the words Car, Boat or House

    If B2 is blank, then no action needed

    Appreciate any help as ever

    Barbara

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Data Validation Formula Help

    =IF(OR(UPPER(B1)="HOUSE",UPPER(B1)="CAR",UPPER(B1)="BOAT"),NOW(),"")

    put this in column C and copy down...I set it up so if they enter it in lower case the match will work...HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Data Validation Formula Help

    Sorry....you'll also need to format column C in date format

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Data Validation Formula Help

    Will the user type also in another column something else?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Data Validation Formula Help

    I suppose technically mine will not force them to type those words....it will do the second part of your question....to do the data validation part you can set up a standard data validation list....

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Data Validation Formula Help

    @ Ernest. Point is that you can not force anyone to do something if you don't block him(her) for doing something else..

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Data Validation Formula Help

    @Fotis - I totally agree....which is why I sort of retracted my thought....thanks for clarifing
    @Barbara - If you want a date in Col C if one of the words shows up in col B then setup data validation in Col B for those word and use my formula and then nobody will "Have to" enter the date in Col C if the choose something from the data validation...unless you really want to force the user to enter the date...I guess another question is what date are they entering?....my formula enters today....I hope I'm not confusing the situation....

+ Reply to Thread

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