Good day,
Say I am importing a list of the number of doughnuts sold to my customers from an external database, and this list comes in the form of a string. I import it to one cell in Excel, let's say cell B1, and the list is "1,6,2,8,3,10,1004,12". Let's say this were today, then today I have a data string of 8 customers.
Each purchase is separated by a comma, representing the next customer number for that day. The value stored between each comma would be the number of doughnuts that customer purchased.
I want to populate individual cells according to the number of doughnuts sold to that customer number, given that this list will be variable in length AND variable in doughnuts sold to each customer, day by day. In other words, there is not going to necessarily be 8 customers tomorrow, I may have less and I may have more. Furthermore, I may have any whole-number of doughnuts sold to every customer tomorrow, but I want to use the same formula to populate my data cells.
I've attached my hypothetical problem. How on earth could I go about doing this? I can't get the FIND, SEARCH, and MAX functions to help me. Any suggestions?
Bookmarks