Hello,
I'm looking for some automation for a workflow (see attached workbook for details) that goes a bit like this:
Workflow A:
- Lookup the price of the first comma-separated value in H*
- Multiply it by the first comma-separated value in I*
- Repeat for all values in H*
- Summarize
- Multiply the sum by (1-(the discount percentage in J*))
- Display the final discounted sum in K*.
Workflow B:
- Lookup the category of the first comma-separated value in H*
- List the category in M*
- Repeat for all values in H*
- Remove duplicates
Notes:
- As I mentioned in my lead, I'm looking for these workflows to be automated. So, I'm hoping to use a formula rather than a macro (unless a macro can be automated to run in a similar fashion as a formula).
- I have two tables for looking up prices and categories in the sheet labeled 'VLOOKUP Tables'
- I have a list of discounts that are used for data validation in column J. Find this list in the sheet labeled 'Data Validation Table.' J is allowed to blank, and this should be used to represent a discount of 0%.
The thing that is giving me the most trouble is that I'm working with comma-separated values (CSVs). I've more or less mastered VLOOKUPs on cells with individual values, but the CSVs are killing me. Any insight into how best to typically handle these would also be greatly appreciated.
Please let me know if any additional clarification is required. Thank you in advance for your time and consideration!