+ Reply to Thread
Results 1 to 2 of 2

Adapt A Piece of Summing Code

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Adapt A Piece of Summing Code

    Hi,

    My objective is to have two columns of figures AJ & AK with totals at the bottom.

    I have this piece of code which I run to total Column AK -

    Please Login or Register  to view this content.
    It works out where the last cell with data in is and then sums the column in the cell beneath the last cell with figures in it, the data currently ends at AK14373 and there is a sum in AK14374.

    When it has done this calculation I want to move one cell to the left to AJ14374 and sum AJ14373 Upwards to AJ2.

    I can't use the same formula because the data in column AJ ends at AJ13470 and it puts the formula in AJ13471.

    The ranges change each month.

    Thanks for any help.

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Adapt A Piece of Summing Code

    How about adding this to your existing code?
    Please Login or Register  to view this content.


    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

+ 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. [SOLVED] adapt code to various criteria column
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-05-2013, 02:51 PM
  2. Adapt code to delete row
    By Seraph84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2011, 07:39 AM
  3. [SOLVED] Adapt code to show filter
    By Jack in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2006, 07:25 AM
  4. Adapt code to loop through sheets
    By Stuart in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2005, 10:05 PM
  5. [SOLVED] Please help me to adapt this code.
    By Rob Hargreaves in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2005, 05:06 PM

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