+ Reply to Thread
Results 1 to 4 of 4

How do I have a constant in a formula

  1. #1
    Registered User
    Join Date
    02-18-2010
    Location
    Woodbridge, England
    MS-Off Ver
    Office 365
    Posts
    16

    How do I have a constant in a formula

    Very basic stuff I know but I can't get any sense from the Excel 'Help' pages - (as usual one gets a whole list of totally unrelated subjects!)

    When I copy a formula from one cell into a number of others, sometime I want one of the functions to remail constant. In my old SuperCalc this was very simple as each time one copied a formula, when pasting, the option to keep any of the functions constant always cropped up. I've tried so many times to get an answer to this simple question but, as yet, have failed.

    As a very simple example of what I mean: If I have a column of a number of months income from a number of enterprises and want the average per month I will divide the cell containing the first enterprize income by the cell containing the month number. To get the average for all the other enterprises I would copy the formula and paste in a column under the first answer but I want the cell containing the month number to remain constant. At the moment I would have to repeat the month number in a column for all the enterprises!

    I'm sure there is a very simple solution but I can't find the answer anywhere!!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How do I have a constant in a formula

    You mean absolute referencing rather than relative referencing.

    Use $ signs before the cell reference

    e.g.
    A1 - Column & Row both relative
    $A1 - Column absolute, Row relative
    A$1 - Column relative, Row absolute
    $A$1 - Column and Row both absolute

    You can toggle between these by pressing the F4 button while in Cell Edit mode

    Nice explanation here
    http://web.pdx.edu/~stipakb/CellRefs.htm
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    02-18-2010
    Location
    Woodbridge, England
    MS-Off Ver
    Office 365
    Posts
    16

    Re: How do I have a constant in a formula

    Quote Originally Posted by Ace_XL View Post
    You mean absolute referencing rather than relative referencing.

    Use $ signs before the cell reference

    e.g.
    A1 - Column & Row both relative
    $A1 - Column absolute, Row relative
    A$1 - Column relative, Row absolute
    $A$1 - Column and Row both absolute

    You can toggle between these by pressing the F4 button while in Cell Edit mode

    Nice explanation here
    http://web.pdx.edu/~stipakb/CellRefs.htm
    Thank you for that. Question answered very succinctly.

    No doubt if I had know the terms "absolute & relative referencing" it would have come up in the help folder - what a pity that doesn't identify the term "constant" & link it to that answer.

    Not used to this forum - am I able to mark this as "solved" or isn't that necessary?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How do I have a constant in a formula

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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: 3
    Last Post: 02-25-2013, 03:49 PM
  2. Replies: 3
    Last Post: 09-26-2012, 04:29 PM
  3. [SOLVED] Formula Constant
    By dale1948 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2005, 06:17 PM
  4. Constant in Formula
    By Sige in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 09-28-2005, 04:05 AM
  5. [SOLVED] Constant Value in formula.
    By Nomad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2005, 04:06 PM

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