+ Reply to Thread
Results 1 to 6 of 6

Populating Cells Automatically Based On Other Cells

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2007
    Posts
    14

    Populating Cells Automatically Based On Other Cells

    I need to have excel 2007 display "N/A" in cells C44:V44 if the specified conditions are not met; like in this formula.

    =IF(OR(C$4="a",C$4="b",C$4="c",C$4="d",C$4="e",C$4="f",C$4="g",C$4="h",C$4="i",C$4="j",C$4="k"),C44="",C44="N/A")

    But I need it to not be in the cell array so I can input a date (manually) in the blank cell without loosing the "code", and I need it to apply to all C44 rows across the workbook.

    I do not know much about VBA so please be as detailed as possible.

    Thank you.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Populating Cells Automatically Based On Other Cells

    Hi BellaxPalus,

    welcome to the forum.

    If you wish to input data manually, then only VBA is the solution here.. can you upload a sample workbook. thanks.


    Regards,

    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Populating Cells Automatically Based On Other Cells

    Sample Workbook.xlsx

    Here is a sanitized workbook that contain the relevant areas. On the real workbook the item is located much further down the page. All sheets in the book will have the same number of rows but the number of columns will change.

    Thank you for the help.

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Populating Cells Automatically Based On Other Cells

    Hi BellaxPalus

    Not quite sure what you mean, but you could shorten those formulas. For instance in C7 Executive's Safety, change to the following formula and edit for the other management positions.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy across.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  5. #5
    Registered User
    Join Date
    04-26-2013
    Location
    Everywhere
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Populating Cells Automatically Based On Other Cells

    Quote Originally Posted by Kevin UK View Post
    Hi BellaxPalus

    Not quite sure what you mean, but you could shorten those formulas. For instance in C7 Executive's Safety, change to the following formula and edit for the other management positions.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy across.
    That still leaves the formula in the cell. If I type a date in a cell that does not have "N/A" in it then that formula is lost. I need to be able to have the cell empty and fillable. If the status of a person changes from "a" to "m" then I need to have their space read N/A. If I put a date in the box the formula goes away and it would have to be copied across. I will not be the only person using this so I need it to be automated.

  6. #6
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Populating Cells Automatically Based On Other Cells

    @ BellaxPalus

    As I said in post #4 "Not quite sure what you mean".
    So all I have done is given you a shortened version for your formula, not a answer to your question.

+ 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