Need Data converted using specific set criteria

Karein

New Member
Joined
Sep 25, 2017
Messages
6
I'm a bit of a novice Excel formula user/creator. I have an extensive formula to create and I'm not sure if it's even possible.

I have 24 different products (see below).

SprinklesSprinkles
VanillaVanillaChocolateChocolate
Plainxxxx
Powderedxxxx
Old_Fashionedxxxx
Coconutxxxx
Jellyxxxx
Cinnamonxxxx

<tbody>
</tbody>


The way the information comes to me is via an Excel spreadsheet (see below) - it's set and can't be changed.
Some of the products come in with a different name (Straight-Forward=Plain / Grape Jelly=Jelly / Dust=Powdered)

Vanilla_FlavorVanilla_Flavor_Qty
Straight_Forward1
Dust1
Straight_Forward1
Cinnamon3

<tbody>
</tbody>


I need to have the formula read the Variety and Flavor to produce the correct Name. The complication comes when there are multiple products (see example below):

The order will come in like this:

Vanilla_FlavorVanilla_Flavor_QtyVanilla_Flavor_w_SprinklesVanilla_Flavor_w_Sprinkles_QtyChocolate_FlavorChocolate_Flavor_QtyChocolate_Flavor_w_SprinklesChocolate_Flavor_w_Sprinkles_Qty
Customer#1Straight_Forward1
Customer#2
Customer#3Cinnamon1
Customer#4Cinnamon1Cinnamon1
Customer#5Straight_Forward1Straight_Forward1
Customer#6Cinnamon3
Customer#7
Cinnamon1Cinnamon1
Customer#8Cinnamon1
Customer#9Connamon1Cinnamon1
Customer#10Cinnamon1

<tbody>
</tbody>

I need the formula to give me this:
ProductQtyProductQty
Customer#1Plain_Chocolate_Donut1
Customer#2
Customer#3Cinnamon_Chocolate_w_Sprinkles_Donut1
Customer#4Cinnamon_Vanilla_w_Sprinkles_Donut1Cinnamon_Chocolate_Donut1
Customer#5Plain_Vanilla_Donut1Plain_Chocolate_Donut1
Customer#6Cinnamon_Vanilla_w_Sprinkles_Donut3
Customer#7Cinnamon_Vanilla_Donut1Cinnamon_Chocolate_Donut1
Customer#8Cinnamon_Chocolate_Donut1
Customer#9Cinnamon_Vanilla_Donut1Cinnamon_Chocolate_Donut1
Customer#10Plain_Chocolate_Donut1

<tbody>
</tbody>

THANKS IN ADVANCE!!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Not sure I follow this convoluted method correctly so all I can say is I recommend you create a SKU Catalog and list your 24 SKUs in a table, include their alias and any other relevant info that you would want to be able to query and retrieve.

I think if you could reorganize your data into tables, it would make calculations much easier. Whenever you work with Excel the preferred format for data is to be in a table. Header on top and data below. What you need sounds possible but I think you are creating extra work for yourself.

Make a table with the aliases at least and when you read, for example, "dust," you will have to lookup dust in a table and see what it means.

I would write a formula but I cant follow all this. Id probably have to sit down with you or something and see your files to suggest something.
 
Last edited:
Upvote 0
Okay... yea, I'm SURE I'm making more work than needs be!

Thank You for your response! I'll try creating a table and see if I can make it work that way!
 
Upvote 0

Forum statistics

Threads
1,216,759
Messages
6,132,542
Members
449,735
Latest member
Gary_M

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top