Compile different column data

sanket_sk

Board Regular
Joined
Dec 27, 2016
Messages
140
Office Version
  1. 365
Platform
  1. Windows
Hi All,

We are collecting spare sale information using Microsoft, data is getting accumulated as Spare code 1 – Spare code 1 Qty , Spare code 2 – Spare code 2 Qty , Spare code 3 – Spare code 3 Qty , Spare code 4 – Spare code 4 Qty .

Now we want to compile the file as ASC name , spares list with Qty but since data is stored in separate columns (in some cases only 2 spare codes are filled instead of 6) , it is very difficult to compile the file.

Do we have any trick , Formula which will help us in compiling the data

Data format

Name of the ASCSpare Code 1Spare Code 1 QuantitySpare Code 2Spare Code 2 QuantitySpare Code 3Spare Code 3 QuantitySpare Code 4Spare Code 4 QuantitySpare Code 5Spare Code 5 QuantitySpare Code 6Spare Code 6 Quantity
Tatya Electronics3115209536811996510069596199651006959313115209536812

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Need in this format
NameSpare Code25-05-1926-05-1924-05-1927-05-19
Narendra Enterprises3115209536811
996510069596 1
996510069593 1

<colgroup><col><col><col><col span="3"></colgroup><tbody>
</tbody>


Sanket
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,833
Messages
6,121,857
Members
449,051
Latest member
excelquestion515

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