atuljadhav
New Member
- Joined
- Aug 25, 2011
- Messages
- 45
Sir
I have file with two sheet
1st sheet having data with company name (A column) and invoice no. (column B)
but every company have more than two invoice details like as below
now what i want, in sheet 2 when i selected company name it automatically display invoice in respective row.
Vllokup is not working because it takes only fist invoice, i want all the invoice details after entering the company name.
<table border="0" cellpadding="0" cellspacing="0" width="347"><col style="width: 132pt;" width="176"> <col style="width: 128pt;" width="171"> <tbody><tr style="height: 25.5pt;" height="34"> <td class="xl22" style="height: 25.5pt; width: 132pt;" width="176" height="34">Company Name</td> <td class="xl22" style="border-left: medium none; width: 128pt;" width="171">Ref. No.</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">A.A. Enginering</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/GJ/674</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/MH/0774</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Desigho Aluminium </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/0077</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/0137</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/351</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Enercon (India) </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/BRD/0295</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/GJ/260</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Farmson Analgesics</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/VD/1000</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">MTAX 220</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Growel Fabs</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0327</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0336</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0397</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">SYSTEM PVT. LTD.</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/ND/0050</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/ND/0066</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/K/0269</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAXB 03/138</td> </tr> </tbody></table>
I have file with two sheet
1st sheet having data with company name (A column) and invoice no. (column B)
but every company have more than two invoice details like as below
now what i want, in sheet 2 when i selected company name it automatically display invoice in respective row.
Vllokup is not working because it takes only fist invoice, i want all the invoice details after entering the company name.
<table border="0" cellpadding="0" cellspacing="0" width="347"><col style="width: 132pt;" width="176"> <col style="width: 128pt;" width="171"> <tbody><tr style="height: 25.5pt;" height="34"> <td class="xl22" style="height: 25.5pt; width: 132pt;" width="176" height="34">Company Name</td> <td class="xl22" style="border-left: medium none; width: 128pt;" width="171">Ref. No.</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">A.A. Enginering</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/GJ/674</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/MH/0774</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Desigho Aluminium </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/0077</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/0137</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/351</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Enercon (India) </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/BRD/0295</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">RETAIL/GJ/260</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Farmson Analgesics</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/VD/1000</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">MTAX 220</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">Growel Fabs</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0327</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0336</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/KA/0397</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17">SYSTEM PVT. LTD.</td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/ND/0050</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/ND/0066</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAX/K/0269</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl23" style="height: 12.75pt; border-top: medium none;" height="17"> </td> <td class="xl24" style="border-top: medium none; border-left: medium none;">TAXB 03/138</td> </tr> </tbody></table>