Ok, what I'm trying to do with a spreadsheet of tens of thousands of rows is the following:
Please see attached workbook, and the sheet called "Data"
1. If the value in column A is the same AND
2. the verb in column B is the same as the verb in the previous row, THEN
3. Merge the rows, while calculating the weighted average for columns C, D and E
This is illustrated on the sheet called "Desired Result".
For example, the new value for column C, row 3 is calculated using the following equation:
New weighted Time = average { (time1/average(time1, time 2, time 3))*time 1,
(time2/average(time1, time 2, time 3))*time 2,
(time3/average(time1, time 2, time 3))*time 3}
The new values in columns D and E are calculated similarly.
I've hit a wall with this and am not sure where to start with creating a macro.
Thank you.
Bookmarks