+ Reply to Thread
Results 1 to 6 of 6

Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

  1. #1
    Forum Contributor
    Join Date
    08-22-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    157

    Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Hi all,

    How would I go about having my workbook so it automatically inserts "N/A" into column J when "Internal" is selected from the drop down list in column H?

    I have attached a copy of my workbook to hopefully make things clearer.

    Thanks,

    Alex
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Hi
    Put this formula into cell J11 and copy down:

    =IF(H11="Internal","N/A","")

    Tony

  3. #3
    Forum Contributor
    Join Date
    08-22-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Quote Originally Posted by ARGK View Post
    Hi
    Put this formula into cell J11 and copy down:

    =IF(H11="Internal","N/A","")

    Tony
    Hi Tony,

    This didn't solve my problem but only because I didn't explain it clear enough. The formula works perfectly just not in my case.

    The part I left out was that I have a button that inserts rows to the top of the table and I need this formula to work in the newly inserted rows as well. Can this be done with a formula or would I need VBA?

    Still getting rep points from me as the formula was spot on, thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Hi Alex
    Thanks for the feedback. I have modified your NewRow macro to include the formula in the new row that is inserted. It needs testing as I don't know how you are calling this macro so I couldn't test it.
    Let me know if it works okay for you.
    Tony

  5. #5
    Forum Contributor
    Join Date
    08-22-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Did you modify it in the file I uploaded? Or did you mean I should put that formula into the macro and see if it works?

  6. #6
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Inputting "N/A" into a cell when "Internal" is typed into another cell on the same row

    Hi Alex
    Sorry - I forgot to attach the amended file :-(.
    Here it is.
    Tony
    Attached Files Attached Files

+ 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: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  3. [SOLVED] Data validation: allow entry into a cell if other three cells have "X", "Y" and "Z"?
    By RogerRangeRover in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 04:49 AM
  4. Recognize "formulas "result" as "typed data", through and through.
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2009, 01:30 PM
  5. Replies: 1
    Last Post: 01-30-2006, 06:10 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