# Posts by Outofmyleague

• ## Possibly need help with find, loops, and sums

This is my first post. Thank you in advance for taking the time to assist me.

I have a formatting question that involves calculations. I have data with several columns, with the focus on 2 columns, namely the 3rd column ("C") and the 8th column ("H"). Column "C" has repeating values and column "H" has their corresponding totals. I need to summarize the values that are found in column "C" and their respective sums at the end of the data (number of rows vary from time to time), numerically in their order as they may appear with a slight variation. The values in "C" can be 11,12,14,21,23. They may not always appear but I need to make sure they are checked if found and listed below with their totals. I did not find exactly what I need, just a combination of these steps separately but not sure how to put it together cleanly. I am sorry if this is unclear. Please let me know if you need more info.

The formatting part involves other information that needs to summarize the data. It should look like this at the end. Column I7 holds the sum of H1:H6, I8 holds the sum of all values for "14", I9 holds the sum of all vaule for "21", and H10 holds the sum of the values for "14" & "21" in column I. The values in column "D" in each respective sum row will also need to be part of the coding.

 A B C D E F G H I 11 8701 9004 1030 1001 12.30 11 8701 6650 1020 1003 55.00 14 8701 2200 5656 3500 45.31 14 8701 3350 6006 3000 40.50 21 8701 4450 6412 1003 60.55 21 8701 4000 6501 1003 65.00 11 2020 278.66 14 2802 85.81 21 2802 125.55 11 2801 211.36