tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi everyone,
I've got a bit of a problem
I do an index match of my sku's to tell me my stock levels from my weekly CSV readout.
I put the data into sheet "CSV" the simply have a formula in sheet "Stock Level" that index matches the Sku in "D6" (for example) with the data in sheet "CSV"
CSV column K holds the stock levels
CSV column C holds the SKU's
the formula is
=index('CSV'!$K:$K,match(D139,'CSV'!$C:$C,0))
The problem I have is some SKU's are for multi packs so the volue sold needs to be multiplied by the Multipack Number,
the multi pack number is show in the SKU if its multi pack like this
AAAA-AA-AAA-3PK-AAA for 3 pack
or
AAAA-AA-AAA-4PK-AAA for 4 pack etc.
if there is no multi pack 3PK is replaced by it size 10mg for example
so what I need is a way to say in the formula if this sku after the 3rd "-" contains "*PK" the times the lookup value by the number??
any ideas how I can do this??
thanks
Tony<strike>
</strike>
I've got a bit of a problem
I do an index match of my sku's to tell me my stock levels from my weekly CSV readout.
I put the data into sheet "CSV" the simply have a formula in sheet "Stock Level" that index matches the Sku in "D6" (for example) with the data in sheet "CSV"
CSV column K holds the stock levels
CSV column C holds the SKU's
the formula is
=index('CSV'!$K:$K,match(D139,'CSV'!$C:$C,0))
The problem I have is some SKU's are for multi packs so the volue sold needs to be multiplied by the Multipack Number,
the multi pack number is show in the SKU if its multi pack like this
AAAA-AA-AAA-3PK-AAA for 3 pack
or
AAAA-AA-AAA-4PK-AAA for 4 pack etc.
if there is no multi pack 3PK is replaced by it size 10mg for example
so what I need is a way to say in the formula if this sku after the 3rd "-" contains "*PK" the times the lookup value by the number??
any ideas how I can do this??
thanks
Tony<strike>
</strike>