+ Reply to Thread
Results 1 to 10 of 10

Need to auto-populate cells "N/A" when selecting from a drop-down list.

Hybrid View

  1. #1
    Registered User
    Join Date
    08-17-2015
    Location
    Vancouver, WA
    MS-Off Ver
    MS Office 2013
    Posts
    6

    Re: Need to auto-populate cells "N/A" when selecting from a drop-down list.

    Right now, nothing happens to the cells if you change the drop-down selection. My thoughts and hopes would be if you did select a number, specific cells would fill in N/A. (I added conditional formatting to have that cell turn grey if an N/A is present).
    So if my vision can work...if I were to change the number from 2 to a 3, the N/A's would change accordingly.

    About the merged cells...I can't just expand a column because it would mess with my formatting on the entire page. I have a bunch of data entry forms above and below the section I posted here. And expanding would distort everything else.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,018

    Re: Need to auto-populate cells "N/A" when selecting from a drop-down list.

    If you change from 3 to 2 it will just add N/A into some cells.
    But when you change 2 to 3 some N/A will be removed.
    What will happen with those cells? Blank? Some formula? Some value?
    Never use Merged Cells in Excel

  3. #3
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Need to auto-populate cells "N/A" when selecting from a drop-down list.

    I can put together some VBA to:
    1. on change of dropdown -clear the old N/As and set the new N/A
    2. I could colour the cells accordingly as part of the VBA or leave that to your conditional formatting

    Obviously:
    1. if the new drop down value causes N/A in new cells the old values will be lost
    2. if N/A are cleared from some cells they will be blank

    doing this in VBA will allow values to be overtyped


    click on the * Add Reputation if this was useful or entertaining.

+ 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. Is it possible to reverse the order in a cells "Drop Down List"?
    By ElmerFud in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2015, 02:16 PM
  2. [SOLVED] Auto-populate "Yes" "No" based on multiple criteria.
    By jtmoore in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2014, 09:12 AM
  3. Cmd Button to populate all drop down list on a worksheet as "Yes"
    By mike1199 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-29-2013, 02:55 PM
  4. Solution to populate cell with "X" by selecting "R"
    By nirola in forum Excel General
    Replies: 4
    Last Post: 11-17-2012, 10:15 AM
  5. Replies: 0
    Last Post: 08-30-2012, 04:39 PM
  6. Getting "like named" products to populate from drop down list
    By ssa9320 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2008, 08:16 PM
  7. [SOLVED] "Create a drop-down list from a range of cells"
    By DILNAVAS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-03-2006, 03:45 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