Hello Experts.
I have a question which I thought would be straight forward, but is proving quite difficult to solve. I have a monthly spreadsheet prepared by a 3rd party software package that I cannot alter. It returns in col A employee name, followed by product categories. In col. B it returns the value of sales for each of the product categories. As the end of each employee in col. B there is a subtotal. The trouble is col. A product categories vary, only categories with sales are shown. Therefore if an employee does not make a sale in one category it will not be displayed.
I need to be able to extract the employee name and total sale. I have tried various lookups/offset and index but have been unable to come to a workable solution. Would be more than happy for a formula or VBA solution. Any assistance would be greatly appreciated.
Thanks
Carolyn
Original Data Format
<tbody>
</tbody>
I have a question which I thought would be straight forward, but is proving quite difficult to solve. I have a monthly spreadsheet prepared by a 3rd party software package that I cannot alter. It returns in col A employee name, followed by product categories. In col. B it returns the value of sales for each of the product categories. As the end of each employee in col. B there is a subtotal. The trouble is col. A product categories vary, only categories with sales are shown. Therefore if an employee does not make a sale in one category it will not be displayed.
I need to be able to extract the employee name and total sale. I have tried various lookups/offset and index but have been unable to come to a workable solution. Would be more than happy for a formula or VBA solution. Any assistance would be greatly appreciated.
Thanks
Carolyn
Original Data Format
Data | Amount |
M. Smith | |
Apple | 20 |
Pear | 20 |
Banana | 40 |
80 | |
P. Noone | |
Apple | 10 |
Pear | 10 |
Banana | 10 |
Orange | 20 |
50 | |
C. Someone | |
Apple | 20 |
Pear | 20 |
Banana | 20 |
60 |
<tbody>
</tbody>