Need to work on the formulas to get this data

Ahmed Fawad

New Member
Joined
Mar 1, 2011
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Hi

here is the table



26I337 TAMWEEL ORGANIZATION DUBAI
26I338 Al Wathba National Insurance Co. ORGANIZATION ABU DHABI
26I339 Al Wathba National Insurance Co. ORGANIZATION ABU DHABI
26I340 Bassam A.A. Chilmeran PERSON ABU DHABI
26I341 Al Wathba National Insurance Co. ORGANIZATION ABU DHABI
26I342 ZIAD OMAR ZIAD JAAFAR ALASKARI PERSON ABU DHABI
26I343 NAILA JAMAL MAJID BIN THENIYA PERSON DUBAI
26I344 Landbanc Limited ORGANIZATION Dubai
26I345 Faris Al-Azzawi PERSON Abu Dhabi
26I346 Said Abdelhamid Kayali PERSON Dubai
26I347 Amir Seyed Ali Lajevardi PERSON Dubai
26I348 Muhammad Asad Iqbal PERSON Dubai
26I349 Walid Abdulrahman Alturki PERSON Dubai
26I350 Al Wathba National Insurance Co. ORGANIZATION ABU DHABI
26I351 Al Wathba National Insurance Co. ORGANIZATION ABU DHABI
26I352 Zaid Fadhel Abdul Rassool Ali PERSON Dubai

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



thats the data and here I'm doing input to get the details:

ClusterPropertyNameTypeCityREMARKS
2612
269
264

<tbody>
</tbody>


Now from data from data LOCATION CODE will be cluster # and 12th entry
i.e. cluster 26 property 12 is the 12th Entry of series starting from digit 26.
Now i need the name of the customer from 12th entry of series starting from 26 locationcode. every series has 16 entries.


Any help ?
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Formula in H2 copied down and across:

<b>Excel 2010</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th><th>J</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Code</td><td style=";">Name</td><td style=";">Type</td><td style=";">City</td><td style="text-align: right;;"></td><td style=";">Cluster</td><td style=";">Property</td><td style=";">Name</td><td style=";">Type</td><td style=";">City</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">26I337</td><td style=";">TAMWEEL</td><td style=";">ORGANIZATION</td><td style=";">DUBAI</td><td style="text-align: right;;"></td><td style="text-align: right;;">26</td><td style="text-align: right;;">12</td><td style=";">Muhammad Asad Iqbal</td><td style=";">PERSON</td><td style=";">Dubai</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">26I338</td><td style=";">Al Wathba National Insurance Co.</td><td style=";">ORGANIZATION</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;">26</td><td style="text-align: right;;">9</td><td style=";">Faris Al-Azzawi</td><td style=";">PERSON</td><td style=";">Abu Dhabi</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">26I339</td><td style=";">Al Wathba National Insurance Co.</td><td style=";">ORGANIZATION</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;">26</td><td style="text-align: right;;">4</td><td style=";">Bassam A.A. Chilmeran</td><td style=";">PERSON</td><td style=";">ABU DHABI</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style=";">26I340</td><td style=";">Bassam A.A. Chilmeran</td><td style=";">PERSON</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style=";">26I341</td><td style=";">Al Wathba National Insurance Co.</td><td style=";">ORGANIZATION</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style=";">26I342</td><td style=";">ZIAD OMAR ZIAD JAAFAR ALASKARI</td><td style=";">PERSON</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style=";">26I343</td><td style=";">NAILA JAMAL MAJID BIN THENIYA</td><td style=";">PERSON</td><td style=";">DUBAI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style=";">26I344</td><td style=";">Landbanc Limited</td><td style=";">ORGANIZATION</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style=";">26I345</td><td style=";">Faris Al-Azzawi</td><td style=";">PERSON</td><td style=";">Abu Dhabi</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style=";">26I346</td><td style=";">Said Abdelhamid Kayali</td><td style=";">PERSON</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style=";">26I347</td><td style=";">Amir Seyed Ali Lajevardi</td><td style=";">PERSON</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style=";">26I348</td><td style=";">Muhammad Asad Iqbal</td><td style=";">PERSON</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style=";">26I349</td><td style=";">Walid Abdulrahman Alturki</td><td style=";">PERSON</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style=";">26I350</td><td style=";">Al Wathba National Insurance Co.</td><td style=";">ORGANIZATION</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style=";">26I351</td><td style=";">Al Wathba National Insurance Co.</td><td style=";">ORGANIZATION</td><td style=";">ABU DHABI</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style=";">26I352</td><td style=";">Zaid Fadhel Abdul Rassool Ali</td><td style=";">PERSON</td><td style=";">Dubai</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">H2</th><td style="text-align:left">=INDEX(<font color="Blue">B$2:B$17,MATCH(<font color="Red">$F2&"*",$A$2:$A$17,FALSE</font>)+$G2-1</font>)</td></tr></tbody></table></td></tr></table><br />
 

Ahmed Fawad

New Member
Joined
Mar 1, 2011
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Its working fine... why $G2-1 ???
I think only +$G2 is fine....
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
MATCH returns the position of the lookup_value, 1 in the example. So to return the 12th item you need to add 12 and deduct 1.
 

Similar threads

Watch MrExcel Video

Forum statistics

Threads
1,122,670
Messages
5,597,482
Members
414,144
Latest member
UDFNewbie

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
Top