+ Reply to Thread
Results 1 to 4 of 4

Making a constant and a variable in excel 2007

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Swe
    Posts
    2

    Making a constant and a variable in excel 2007

    Hello!

    I would like some help with a very easy thing in excel 2007, i guess itīs easy. Well, assume we have constant P = 100, K=50 and F=10.

    I would like to "lock" these cells, and have a variable which could adjust and this variable would multiplicate each one and put out the number.

    For example:

    P = 100
    K = 50
    F = 10

    Variable: 10 this would generate a sum of:

    P = 1000
    K = 50
    F = 10

    Could anyone help me?
    Last edited by AKW; 11-23-2008 at 03:45 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,577
    You only multiplied P * 10 and left K and F alone. I assume this was a typo since you said they would all be affected by the variable.

    First go to the cell where you are putting your variable and format cell and go to the Protection Tab and unlock it. (Default is all cells locked)

    Then in the cells where you have P,K and F, change them to
    Please Login or Register  to view this content.
    Then go to TOOLS>Protection> Protect worksheet to keep those cells from being altered.
    Is that what you want?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-18-2008
    Location
    Swe
    Posts
    2
    Quote Originally Posted by ChemistB View Post
    You only multiplied P * 10 and left K and F alone. I assume this was a typo since you said they would all be affected by the variable.

    First go to the cell where you are putting your variable and format cell and go to the Protection Tab and unlock it. (Default is all cells locked)

    Then in the cells where you have P,K and F, change them to
    Please Login or Register  to view this content.
    Then go to TOOLS>Protection> Protect worksheet to keep those cells from being altered.
    Is that what you want?
    Thank you for the help!

    It worked out fine!

    AKW

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Please mark the thread as solved?

    ---------------------------------------------------------

    To mark a thread as solved:

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

    If more than two days have elapsed since your first post, ask a moderator to mark it.
    Entia non sunt multiplicanda sine necessitate

+ 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