Consulting

Results 1 to 5 of 5

Thread: Is it Vlookup or Sum Product ?

  1. #1
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    188
    Location

    Is it Vlookup or Sum Product ?

    Hi All

    I have a weekly sheet within the workbook and every Tuesday I receive it. Column A is always in the same alphabetical order as in the attached file and it covers rows 2 thru 23 ( although only 3 are displayed with data changed for obvious reasons) I have to do a yearly account say we start with Chunal -SC as displayed and it is entered on the 2nd row of the Yearly Sheet on the (2) Weekly sheet Chunal - SC is automatically updated with the new totals added to the one already in place and so on down the rows 2 thru 23 - I need to retain all the sheets within the workbook for year end checking. Would prefer it within a Macro that on click would do the update.

    Regards

    Sooty 8
    Attached Files Attached Files

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    If all the data is corresponding, you can use a simple formula to total from the first to last selected sheets
    =SUM('Weekly Final (1):Weekly Final (3)'!C2)
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    188
    Location
    Hi MD

    Thanks for the reply - however I cannot get it working will have another try tomorrow - going home now.

    Regards

    Sooty8

  4. #4
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Here's an example
    Attached Files Attached Files
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    188
    Location
    Hi MD

    Thanks for the Example that will do just the job - now learned something new.

    Many Thanks

    Sooty8

Posting Permissions

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