+ Reply to Thread
Results 1 to 3 of 3

Can I have a formula but allow data entry in same cell?

  1. #1
    Registered User
    Join Date
    10-01-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    4

    Can I have a formula but allow data entry in same cell?

    Here is what I am looking to do.

    Basically I have column b,c and d. Column b is manually entered with no formula

    Column C Formula : =D19/(B11*B15)

    Column D Formula : =B11*B15*B19*C19

    The D19,C19 and B19 are in the columns so they progress up by one row until all three are at 36 (B36,C36,D36). The B11 and B15 are sums that are determined higher up on the spreadsheet.

    As you can see column c and d rely on being able to enter data into them for either formula to work. however traditionally that erases the formula rendering my sheet useless unless only used as a one time operation which is not what I want. So can I protect the base formula while allowing the person to enter data into that cell? The end result will be the same number anyways. or Do I need to add two additional columns one for results one for entering?

    Its basically kind of an either or situation. you either know column d and need to know column c or you know it vice versa.

    Thanks.

  2. #2
    Registered User
    Join Date
    10-01-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Can I have a formula but allow data entry in same cell?

    In addition.

    How can I copy and paste a formula that will continue to count up but only certain rows/columns.

    Example : =B11*B15*B19*C19 and have it only count up like so =B11*B15*B20*C20 having it only count the last two figures.

    Thank you.

  3. #3
    Forum Contributor
    Join Date
    02-08-2012
    Location
    South Suffolk
    MS-Off Ver
    Excel 2007
    Posts
    102

    Re: Can I have a formula but allow data entry in same cell?

    Addressing just your first question, I have done something like this but it relied on VBA code that fired when a cell in the defined area was changed, calculated the result and put it in the appropriate place.
    The code goes in the code pane of the relevant sheet as
    Please Login or Register  to view this content.
    The range 'Target' provided by Excel lets you work out which cell was changed.
    Have you used VBA at all? If not the solution will require a lot of learning!

    For your second question, you need to modify the relative addressing to absolute:
    Please Login or Register  to view this content.
    This fixes the row for the first two variables.
    Please Login or Register  to view this content.
    This fixes the column for the first two variables.
    Please Login or Register  to view this content.
    This fixes both the row and column for the first two variables.


    Regards
    Last edited by AndyPS; 02-16-2012 at 01:07 PM. Reason: typo correction

+ 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