aysam
Board Regular
- Joined
- Jun 24, 2009
- Messages
- 225
- Office Version
- 2010
- Platform
- Windows
I have two columns : one with names in Arabic and the other with names in English which are sorted alphabetically
I used ( look up ) formula but it returns wrong results
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72, align: right"]احمد[/TD]
[/TR]
[TR]
[TD="align: right"]علي[/TD]
[/TR]
[TR]
[TD="align: right"]عمرو[/TD]
[/TR]
[TR]
[TD="align: right"]خالد[/TD]
[/TR]
[TR]
[TD="align: right"]محمود[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]منير[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]هاشم[/TD]
[/TR]
[TR]
[TD="align: right"]سعيد[/TD]
[/TR]
[TR]
[TD="align: right"]وليد[/TD]
[/TR]
[TR]
[TD="align: right"]زغلول[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72, align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Ali[/TD]
[/TR]
[TR]
[TD="align: left"]Amr[/TD]
[/TR]
[TR]
[TD="align: left"]Khaled[/TD]
[/TR]
[TR]
[TD="align: left"]Mahmoud[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Moneer[/TD]
[/TR]
[TR]
[TD="align: left"]Hani[/TD]
[/TR]
[TR]
[TD="align: left"]Hani[/TD]
[/TR]
[TR]
[TD="align: left"]Hashim[/TD]
[/TR]
[TR]
[TD="align: left"]Saeed[/TD]
[/TR]
[TR]
[TD="align: left"]Waleed[/TD]
[/TR]
[TR]
[TD="align: left"]Zaghloul[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]ا[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]الاسم بالعربي[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]زغلول[/TD]
[/TR]
[TR]
[TD="align: right"]سعيد[/TD]
[/TR]
[TR]
[TD="align: right"]عمرو[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]وليد[/TD]
[/TR]
[TR]
[TD="align: right"]خالد[/TD]
[/TR]
[TR]
[TD="align: right"]علي[/TD]
[/TR]
[TR]
[TD="align: right"]منير[/TD]
[/TR]
[TR]
[TD="align: right"]هاشم[/TD]
[/TR]
[TR]
[TD="align: right"]احمد[/TD]
[/TR]
[TR]
[TD="align: right"]محمود[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 87"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]الاسم بالانجليزي[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Saeed[/TD]
[/TR]
[TR]
[TD="align: left"]Amr[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Waleed[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Ali[/TD]
[/TR]
[TR]
[TD="align: left"]Moneer[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Mahmoud[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I used ( look up ) formula but it returns wrong results
Code:
=LOOKUP(G$1:G$100;$A$1:$A$100;$B$1:$B$100)
<tbody>[TR]
[TD][TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72, align: right"]احمد[/TD]
[/TR]
[TR]
[TD="align: right"]علي[/TD]
[/TR]
[TR]
[TD="align: right"]عمرو[/TD]
[/TR]
[TR]
[TD="align: right"]خالد[/TD]
[/TR]
[TR]
[TD="align: right"]محمود[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]منير[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]هاشم[/TD]
[/TR]
[TR]
[TD="align: right"]سعيد[/TD]
[/TR]
[TR]
[TD="align: right"]وليد[/TD]
[/TR]
[TR]
[TD="align: right"]زغلول[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72, align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Ali[/TD]
[/TR]
[TR]
[TD="align: left"]Amr[/TD]
[/TR]
[TR]
[TD="align: left"]Khaled[/TD]
[/TR]
[TR]
[TD="align: left"]Mahmoud[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Moneer[/TD]
[/TR]
[TR]
[TD="align: left"]Hani[/TD]
[/TR]
[TR]
[TD="align: left"]Hani[/TD]
[/TR]
[TR]
[TD="align: left"]Hashim[/TD]
[/TR]
[TR]
[TD="align: left"]Saeed[/TD]
[/TR]
[TR]
[TD="align: left"]Waleed[/TD]
[/TR]
[TR]
[TD="align: left"]Zaghloul[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]ا[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]الاسم بالعربي[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]زغلول[/TD]
[/TR]
[TR]
[TD="align: right"]سعيد[/TD]
[/TR]
[TR]
[TD="align: right"]عمرو[/TD]
[/TR]
[TR]
[TD="align: right"]محمد[/TD]
[/TR]
[TR]
[TD="align: right"]هاني[/TD]
[/TR]
[TR]
[TD="align: right"]وليد[/TD]
[/TR]
[TR]
[TD="align: right"]خالد[/TD]
[/TR]
[TR]
[TD="align: right"]علي[/TD]
[/TR]
[TR]
[TD="align: right"]منير[/TD]
[/TR]
[TR]
[TD="align: right"]هاشم[/TD]
[/TR]
[TR]
[TD="align: right"]احمد[/TD]
[/TR]
[TR]
[TD="align: right"]محمود[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 87"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: right"]الاسم بالانجليزي[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Saeed[/TD]
[/TR]
[TR]
[TD="align: left"]Amr[/TD]
[/TR]
[TR]
[TD="align: left"]Mohamed[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Waleed[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Ali[/TD]
[/TR]
[TR]
[TD="align: left"]Moneer[/TD]
[/TR]
[TR]
[TD="align: left"]Nofel[/TD]
[/TR]
[TR]
[TD="align: left"]Ahmed[/TD]
[/TR]
[TR]
[TD="align: left"]Mahmoud[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]