<!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--> Hi Mr Excel forum members,
I haven’t posted here for a number of years, I normally find answers on Mike and Bills YouTube videos, but have not found anything, or have not correlated the examples to my situation.
I am struggling to accomplish a text extraction task and would greatly appreciate help on this.
I have exported a very large table of sales data. I need to extract 1 to 2 text strings from column F that has a minimum of 3 rows of combined text data so that I can make a useable table for pivot table analysis. I can only extract the data in the format shown below, hence the task in hand.
Excel 2010
<tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6E5F4"]Verbe/Kunde/Material[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Planned Sales[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Actual Sales[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #FFFDBF"]** 50073 Sales Person A[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,144,064 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]3,582,392 PC[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #FFFDBF"]* 54865 Piatti Freschi Italia[/TD]
[TD="bgcolor: #FFFDBF, align: right"]297,456 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]594,912 PC[/TD]
[TD="align: center"]4[/TD]
[TD="bgcolor: #A2C3EA"] 118262 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]240,000 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]480,000 PC[/TD]
[TD="align: center"]5[/TD]
[TD="bgcolor: #A2C3EA"] 101860 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]6[/TD]
[TD="bgcolor: #A2C3EA"] 101861 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]7[/TD]
[TD="bgcolor: #FFFDBF"]* 54936 Nuova Jolli s.r.l.[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]285,120 PC[/TD]
[TD="align: center"]8[/TD]
[TD="bgcolor: #A2C3EA"] 105313 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]152,064 PC[/TD]
[TD="align: center"]9[/TD]
[TD="bgcolor: #A2C3EA"] 181301 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]133,056 PC[/TD]
[TD="align: center"]10[/TD]
[TD="bgcolor: #FFFDBF"]* 55373 S.A. Mamma Lucia N.V.[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="align: center"]11[/TD]
[TD="bgcolor: #A2C3EA"] 160303 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="align: center"]12[/TD]
[TD="bgcolor: #FFFDBF"]** 50091 Sales Person "***B***"[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,891,808 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]6,480,176 PC[/TD]
[TD="align: center"]13[/TD]
[TD="bgcolor: #FFFDBF"]* 200003 Compagnie des Fromage[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]754,080 PC[/TD]
[TD="align: center"]14[/TD]
[TD="bgcolor: #A2C3EA"] 156162 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]69,120 PC[/TD]
[TD="align: center"]15[/TD]
[TD="bgcolor: #A2C3EA"] 156163 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]112,320 PC[/TD]
[TD="align: center"]16[/TD]
[TD="bgcolor: #A2C3EA"] 156460 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]572,640 PC[/TD]
[TD="align: center"]17[/TD]
[TD="bgcolor: #FFFDBF"]* 200049 Gendreau[/TD]
[TD="bgcolor: #FFFDBF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]308,880 PC[/TD]
[TD="align: center"]18[/TD]
[TD="bgcolor: #A2C3EA"] 852914 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]275,616 PC[/TD]
[TD="align: center"]19[/TD]
[TD="bgcolor: #A2C3EA"] 852917 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]33,264 PC[/TD]
</tbody>
My target is to separate the text stings and have the various parts in columns adjacent to the raw sales data, which is coloured blue. The text location (thankfully) is uniform in its position within the relevant cell (although not showing blank spacing in post untill the last table). The adjacent yellow rows are unimportant (subtotals), after extraction they will be deleted along with column F once I have copied the table to another sheet as values only, so they could be left blank or have a “-“ if it makes the formula easier to create. Also note the number before the Sales Person e.g. ** 50073, does not have to be include in my table.
I am aiming to achieve a useable table for analysis as below:
Excel 2010
<tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6E5F4"]Verbe/Kunde/Material[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Planned Sales[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Actual Sales[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #FFFDBF"]** 50073 Sales Person A[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,144,064 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]3,582,392 PC[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #FFFDBF"]* 54865 Piatti Freschi Italia[/TD]
[TD="bgcolor: #FFFDBF, align: right"]297,456 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]594,912 PC[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]118262[/TD]
[TD="bgcolor: #A2C3EA"] 118262 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]240,000 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]480,000 PC[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]101860[/TD]
[TD="bgcolor: #A2C3EA"] 101860 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]101861[/TD]
[TD="bgcolor: #A2C3EA"] 101861 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]7[/TD]
[TD="bgcolor: #FFFDBF"]* 54936 Nuova Jolli s.r.l.[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]285,120 PC[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]54936[/TD]
[TD="align: right"]105313[/TD]
[TD="bgcolor: #A2C3EA"] 105313 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]152,064 PC[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]54936[/TD]
[TD="align: right"]181301[/TD]
[TD="bgcolor: #A2C3EA"] 181301 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]133,056 PC[/TD]
[TD="align: center"]10[/TD]
[TD="bgcolor: #FFFDBF"]* 55373 S.A. Mamma Lucia N.V.[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]55373[/TD]
[TD="align: right"]160303[/TD]
[TD="bgcolor: #A2C3EA"] 160303 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="align: center"]12[/TD]
[TD="bgcolor: #FFFDBF"]** 50091 Sales Person "***B***"[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,891,808 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]6,480,176 PC[/TD]
[TD="align: center"]13[/TD]
[TD="bgcolor: #FFFDBF"]* 200003 Compagnie des Fromage[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]754,080 PC[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156162[/TD]
[TD="bgcolor: #A2C3EA"] 156162 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]69,120 PC[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156163[/TD]
[TD="bgcolor: #A2C3EA"] 156163 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]112,320 PC[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156460[/TD]
[TD="bgcolor: #A2C3EA"] 156460 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]572,640 PC[/TD]
[TD="align: center"]17[/TD]
[TD="bgcolor: #FFFDBF"]* 200049 Gendreau[/TD]
[TD="bgcolor: #FFFDBF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]308,880 PC[/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]200049[/TD]
[TD="align: right"]852914[/TD]
[TD="bgcolor: #A2C3EA"] 852914 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]275,616 PC[/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]200049[/TD]
[TD="align: right"]852917[/TD]
[TD="bgcolor: #A2C3EA"] 852917 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]33,264 PC[/TD]
</tbody>
I have created formulas to extract the various text parts but it’s the repeating the first three columns I am struggling with and the formula in the first column works up until there is a change in Sales Person. I gladly accept and corrections or formula efficiencies.
Thanks you for your time and help in advance, James.
Excel 2010, Win 7
I haven’t posted here for a number of years, I normally find answers on Mike and Bills YouTube videos, but have not found anything, or have not correlated the examples to my situation.
I am struggling to accomplish a text extraction task and would greatly appreciate help on this.
I have exported a very large table of sales data. I need to extract 1 to 2 text strings from column F that has a minimum of 3 rows of combined text data so that I can make a useable table for pivot table analysis. I can only extract the data in the format shown below, hence the task in hand.
Excel 2010
F | G | H | |
---|---|---|---|
<tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6E5F4"]Verbe/Kunde/Material[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Planned Sales[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Actual Sales[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #FFFDBF"]** 50073 Sales Person A[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,144,064 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]3,582,392 PC[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #FFFDBF"]* 54865 Piatti Freschi Italia[/TD]
[TD="bgcolor: #FFFDBF, align: right"]297,456 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]594,912 PC[/TD]
[TD="align: center"]4[/TD]
[TD="bgcolor: #A2C3EA"] 118262 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]240,000 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]480,000 PC[/TD]
[TD="align: center"]5[/TD]
[TD="bgcolor: #A2C3EA"] 101860 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]6[/TD]
[TD="bgcolor: #A2C3EA"] 101861 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]7[/TD]
[TD="bgcolor: #FFFDBF"]* 54936 Nuova Jolli s.r.l.[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]285,120 PC[/TD]
[TD="align: center"]8[/TD]
[TD="bgcolor: #A2C3EA"] 105313 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]152,064 PC[/TD]
[TD="align: center"]9[/TD]
[TD="bgcolor: #A2C3EA"] 181301 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]133,056 PC[/TD]
[TD="align: center"]10[/TD]
[TD="bgcolor: #FFFDBF"]* 55373 S.A. Mamma Lucia N.V.[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="align: center"]11[/TD]
[TD="bgcolor: #A2C3EA"] 160303 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="align: center"]12[/TD]
[TD="bgcolor: #FFFDBF"]** 50091 Sales Person "***B***"[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,891,808 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]6,480,176 PC[/TD]
[TD="align: center"]13[/TD]
[TD="bgcolor: #FFFDBF"]* 200003 Compagnie des Fromage[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]754,080 PC[/TD]
[TD="align: center"]14[/TD]
[TD="bgcolor: #A2C3EA"] 156162 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]69,120 PC[/TD]
[TD="align: center"]15[/TD]
[TD="bgcolor: #A2C3EA"] 156163 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]112,320 PC[/TD]
[TD="align: center"]16[/TD]
[TD="bgcolor: #A2C3EA"] 156460 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]572,640 PC[/TD]
[TD="align: center"]17[/TD]
[TD="bgcolor: #FFFDBF"]* 200049 Gendreau[/TD]
[TD="bgcolor: #FFFDBF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]308,880 PC[/TD]
[TD="align: center"]18[/TD]
[TD="bgcolor: #A2C3EA"] 852914 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]275,616 PC[/TD]
[TD="align: center"]19[/TD]
[TD="bgcolor: #A2C3EA"] 852917 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]33,264 PC[/TD]
</tbody>
My target is to separate the text stings and have the various parts in columns adjacent to the raw sales data, which is coloured blue. The text location (thankfully) is uniform in its position within the relevant cell (although not showing blank spacing in post untill the last table). The adjacent yellow rows are unimportant (subtotals), after extraction they will be deleted along with column F once I have copied the table to another sheet as values only, so they could be left blank or have a “-“ if it makes the formula easier to create. Also note the number before the Sales Person e.g. ** 50073, does not have to be include in my table.
I am aiming to achieve a useable table for analysis as below:
Excel 2010
A | B | C | D | E | F | G | H | |
---|---|---|---|---|---|---|---|---|
Sales Person | Account No. | Customer | Product Coder | Product Description | ||||
- | - | - | - | - | ||||
- | - | - | - | - | ||||
Sales Person A | Piatti Freschi Italia | Vitessa CPET tray | ||||||
Sales Person A | Piatti Freschi Italia | Vitessa CPET tray | ||||||
Sales Person A | Piatti Freschi Italia | Vitessa CPET tray | ||||||
- | - | - | - | - | ||||
Sales Person A | Nuova Jolli s.r.l. | Vitessa CPET tray | ||||||
Sales Person A | Nuova Jolli s.r.l. | Vitessa CPET tray | ||||||
- | - | - | - | - | ||||
Sales Person A | S.A. Mamma Lucia N.V. | Vitessa CPET tray | ||||||
- | - | - | - | - | ||||
- | - | - | - | - | ||||
Sales Person "***B***" | Compagnie des Fromage | Vitessa CPET tray | ||||||
Sales Person "***B***" | Compagnie des Fromage | Vitessa CPET tray | ||||||
Sales Person "***B***" | Compagnie des Fromage | Vitessa CPET tray | ||||||
- | - | - | - | - | ||||
Sales Person "***B***" | Gendreau | Convina-Plus Barr | ||||||
Sales Person "***B***" | Gendreau | Convina-Plus Barr |
<tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: #A6E5F4"]Verbe/Kunde/Material[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Planned Sales[/TD]
[TD="bgcolor: #A6E5F4, align: center"]Actual Sales[/TD]
[TD="align: center"]2[/TD]
[TD="bgcolor: #FFFDBF"]** 50073 Sales Person A[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,144,064 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]3,582,392 PC[/TD]
[TD="align: center"]3[/TD]
[TD="bgcolor: #FFFDBF"]* 54865 Piatti Freschi Italia[/TD]
[TD="bgcolor: #FFFDBF, align: right"]297,456 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]594,912 PC[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]118262[/TD]
[TD="bgcolor: #A2C3EA"] 118262 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]240,000 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]480,000 PC[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]101860[/TD]
[TD="bgcolor: #A2C3EA"] 101860 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]54865[/TD]
[TD="align: right"]101861[/TD]
[TD="bgcolor: #A2C3EA"] 101861 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]57,456 PC[/TD]
[TD="align: center"]7[/TD]
[TD="bgcolor: #FFFDBF"]* 54936 Nuova Jolli s.r.l.[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]285,120 PC[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]54936[/TD]
[TD="align: right"]105313[/TD]
[TD="bgcolor: #A2C3EA"] 105313 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]152,064 PC[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]54936[/TD]
[TD="align: right"]181301[/TD]
[TD="bgcolor: #A2C3EA"] 181301 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]133,056 PC[/TD]
[TD="align: center"]10[/TD]
[TD="bgcolor: #FFFDBF"]* 55373 S.A. Mamma Lucia N.V.[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]484,704 PC[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]55373[/TD]
[TD="align: right"]160303[/TD]
[TD="bgcolor: #A2C3EA"] 160303 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]484,704 PC[/TD]
[TD="align: center"]12[/TD]
[TD="bgcolor: #FFFDBF"]** 50091 Sales Person "***B***"[/TD]
[TD="bgcolor: #FFFDBF, align: right"]2,891,808 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]6,480,176 PC[/TD]
[TD="align: center"]13[/TD]
[TD="bgcolor: #FFFDBF"]* 200003 Compagnie des Fromage[/TD]
[TD="bgcolor: #FFFDBF, align: right"][/TD]
[TD="bgcolor: #FFFDBF, align: right"]754,080 PC[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156162[/TD]
[TD="bgcolor: #A2C3EA"] 156162 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]69,120 PC[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156163[/TD]
[TD="bgcolor: #A2C3EA"] 156163 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]112,320 PC[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]200003[/TD]
[TD="align: right"]156460[/TD]
[TD="bgcolor: #A2C3EA"] 156460 Vitessa CPET tray[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]572,640 PC[/TD]
[TD="align: center"]17[/TD]
[TD="bgcolor: #FFFDBF"]* 200049 Gendreau[/TD]
[TD="bgcolor: #FFFDBF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFDBF, align: right"]308,880 PC[/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]200049[/TD]
[TD="align: right"]852914[/TD]
[TD="bgcolor: #A2C3EA"] 852914 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"]156,816 PC[/TD]
[TD="bgcolor: #FFFFFF, align: right"]275,616 PC[/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]200049[/TD]
[TD="align: right"]852917[/TD]
[TD="bgcolor: #A2C3EA"] 852917 Convina-Plus Barr[/TD]
[TD="bgcolor: #FFFFFF, align: right"][/TD]
[TD="bgcolor: #FFFFFF, align: right"]33,264 PC[/TD]
</tbody>
I have created formulas to extract the various text parts but it’s the repeating the first three columns I am struggling with and the formula in the first column works up until there is a change in Sales Person. I gladly accept and corrections or formula efficiencies.
Excel 2010 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Sales Person | Account No. | Customer | Product Coder | Product Description | Verbe/Kunde/Material | Planned Sales | Actual Sales | ||
2 | Sales Person A | ** 50073 Sales Person A | 2,144,064 PC | 3,582,392 PC | ||||||
3 | Sales Person A | 54865 | Piatti Freschi Italia | * 54865 Piatti Freschi Italia | 297,456 PC | 594,912 PC | ||||
4 | Sales Person A | 118262 | Vitessa CPET tray | 118262 Vitessa CPET tray | 240,000 PC | 480,000 PC | ||||
Sheet1 (3) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C3 | =IF(LEFT($F3,1)="","-",MID($F3,19,21)) | |
A2 | =IF(LEFT($F2,3)="** ",MID($F2,16,40),LOOKUP(2,A2,$A$2:A2)) | |
A3 | =IF(LEFT($F3,3)="** ",MID($F3,16,40),LOOKUP(2,A3,$A$2:A3)) | |
A4 | =IF(LEFT($F4,3)="** ",MID($F4,16,40),LOOKUP(2,A4,$A$2:A4)) | |
B2 | =IF(LEFT(F2,2)="**","",MID(F2,16,40)) | |
B3 | =IF(LEFT($F3,1)="","-",MID($F3,11,6)) | |
D4 | =IF(LEFT($F4,1)="","-",MID($F4,14,7)) | |
E4 | =IF(LEFT($F4,1)="","-",MID($F4,23,17)) |
Thanks you for your time and help in advance, James.
Excel 2010, Win 7