Results 1 to 7 of 7

Loop through group of values, calculate a total

Threaded View

  1. #1
    Registered User
    Join Date
    12-08-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    26

    Arrow Loop through group of values, calculate a total

    The Issue:
    I have a fairly large excel file (2000+ rows) that contains groups of values in column A (that vary in length), then numerical values in columns C and D that are associate with those values. I need to go through each of these groups and calculate a total based on adding all the values for that group that are located in columns C and D.

    The one nice thing is that the values of the groups are all together.

    The Problem:
    My problem is that I'm having a tough time trying to figure an algorithm to compute the proper total. In Java I could use maps and lists and associate it through creating dynamic classes. VBA is a bit different.

    Any help would be greatly appreciated.

    Attached is a sample workbook. Sheet 1 contains the data. Sheet 2 is where I'm trying to print the summary data and what I'm wishing the data to look like.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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