lctradingni
New Member
- Joined
- Sep 19, 2018
- Messages
- 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]NAME[/TD]
[TD]PRICE PER PACK[/TD]
[TD]NO. PER PACK[/TD]
[TD]PRICE PER UNIT[/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product a 2 x 150ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]24[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product b 3 x 200ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product c 6 x 300ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product d 4 x 500ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]46[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product e[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product f 2 x 150ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a set of data like this. I require a formula that looks for the strings "2 x", "3 x", "4 x" etc in column A and returns the corresponding number in cell c to allow me to quickly work out my cost prices per unit instead of per pack. I've tried loads of formulas but can't get it working. The highest I would really need is up to "6 x" but an explanation of how to add bigger pack quantites e.g. "16 x" etc would be really appreciated. Thanks!
<tbody>[TR]
[TD]NAME[/TD]
[TD]PRICE PER PACK[/TD]
[TD]NO. PER PACK[/TD]
[TD]PRICE PER UNIT[/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product a 2 x 150ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]24[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product b 3 x 200ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product c 6 x 300ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]64[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product d 4 x 500ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]46[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product e[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR]
[TD="width: 128"]product f 2 x 150ml[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a set of data like this. I require a formula that looks for the strings "2 x", "3 x", "4 x" etc in column A and returns the corresponding number in cell c to allow me to quickly work out my cost prices per unit instead of per pack. I've tried loads of formulas but can't get it working. The highest I would really need is up to "6 x" but an explanation of how to add bigger pack quantites e.g. "16 x" etc would be really appreciated. Thanks!