+ Reply to Thread
Results 1 to 2 of 2

Data Validation > List > Default Entry?

  1. #1
    Registered User
    Join Date
    05-08-2009
    Location
    Vancouver
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Data Validation > List > Default Entry?

    So I have a row that I have set to choose from a list (ex. Tom, Jerry, Sam)

    Is there a way to make all the cells default to 'Sam' if a different value hasn't been selected yet? In effect I would see 'Sam' where a blank cell would be.

    Thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation > List > Default Entry?

    I'm assuming you mean, "When I start filling out data in one row, I'd like Sam's name to appear in a particular cell, but have a data validation list I can use when I get to that cell so I can choose another name if needed."

    First, remove the data validation from those cells.

    Next, let's assume column A is the first field for all rows and this data validation is over in say...column D. In D2, enter this:
    =IF(A2="","","Sam")

    Now copy that formula down the data set as far as needed. For all the rows that have no data in them yet, this column will remain blank. As soon as you later add the first value in column A, "Sam" will appear.

    Now, highlight the entire column/dataset again and reapply your data validation list to it. Now you're ready to go.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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