+ Reply to Thread
Results 1 to 3 of 3

Automatically updating a formula

  1. #1
    Registered User
    Join Date
    01-12-2006
    Posts
    13

    Automatically updating a formula

    I have the following formula in cell D7 (=sumif(MAR!$C:$C,C7,MAR!$O:$O)). Every month I have to update the "MAR" with the new month (i.e., next month it will be "APR"). "MAR", "APR", etc are the name of the other tabs that contain the data I need. Is there a way to link that part ("MAR") of the formula to a cell (the name of the tab), so when I change the value in the cell it automatically updates my formula?

    Any help is highly appreciated,

    Thanks -----
    J Garces

  2. #2
    Don Guillett
    Guest

    Re: Automatically updating a formula

    You can use indirect or edit/replace

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "JGarces" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have the following formula in cell D7
    > (=sumif(MAR!$C:$C,C7,MAR!$O:$O)). Every month I have to update the
    > "MAR" with the new month (i.e., next month it will be "APR"). "MAR",
    > "APR", etc are the name of the other tabs that contain the data I need.
    > Is there a way to link that part ("MAR") of the formula to a cell (the
    > name of the tab), so when I change the value in the cell it
    > automatically updates my formula?
    >
    > Any help is highly appreciated,
    >
    > Thanks -----
    > J Garces
    >
    >
    > --
    > JGarces
    > ------------------------------------------------------------------------
    > JGarces's Profile:
    > http://www.excelforum.com/member.php...o&userid=30406
    > View this thread: http://www.excelforum.com/showthread...hreadid=536406
    >




  3. #3
    Niek Otten
    Guest

    Re: Automatically updating a formula

    Look in HELP for the INDIRECT() function

    --
    Kind regards,

    Niek Otten

    "JGarces" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have the following formula in cell D7
    | (=sumif(MAR!$C:$C,C7,MAR!$O:$O)). Every month I have to update the
    | "MAR" with the new month (i.e., next month it will be "APR"). "MAR",
    | "APR", etc are the name of the other tabs that contain the data I need.
    | Is there a way to link that part ("MAR") of the formula to a cell (the
    | name of the tab), so when I change the value in the cell it
    | automatically updates my formula?
    |
    | Any help is highly appreciated,
    |
    | Thanks -----
    | J Garces
    |
    |
    | --
    | JGarces
    | ------------------------------------------------------------------------
    | JGarces's Profile: http://www.excelforum.com/member.php...o&userid=30406
    | View this thread: http://www.excelforum.com/showthread...hreadid=536406
    |



+ 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