Using a variable as the end of a SUM range?
Eliminate Pivot Table Annoyances
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Using a variable as the end of a SUM range?

  1. #1
    Guest

    Default

     
    I need to set up the sum of a row whereas the end of the range varies. Example:

    In January, I need to add from January to January; in February, from January to February; and so on. I'd use something like =SUM(A1:CurentMonth). Anybody?

  2. #2
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,445
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,445
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Aloha,

    The way I did mine was to link cells in the worksheets. I ahve 12 sheets named for the months. In the Jan sheet, I have a target cell for the sum of Jan. In Feb, I also have a target cell for the sum of Feb + the sum of Jan. In Mar, I have a target cell for Mar + Feb. The formula would look something like for FEB.
    =sum(b1:b30)+(jan!a31)...etc

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com