Excel Tutorial - Example of how to use the VLOOKUP function أكسل تعليمي - مثال لكيفية استخدام vlookup وظيفة
Posted on September 5, 2007 at 1:50 pm على موقع سبتمبر 5 ، 2007 في 1:50 بعد الظهر
Make sure to read other posts from the Excel Tutorials series! تأكد لقراءة وظائف اخرى من سلسلة دروس اكسل!
- Microsoft Excel Basics Tutorial - Learning how to use Excel اساسيات مايكروسوفت إكسل تعليمي - تعلم كيفية استعمال اكسل
- Excel Tips & Tricks - How to unprotect only a portion of an Excel spreadsheet نصائح اكسل & ألاعيب - كيف غير يحمي سوى جزء من وجود جداول البيانات اكسل
- Excel Basics - How to use the Conditional Sum wizard أكسل الاساسيات - كيفية استخدام المبلغ المشروط المعالج
- How to use Data Validation in Microsoft Excel to create dropdown lists كيفية استخدام التأكد من صحه البيانات في مايكروسوفت أكسل لانشاء القوائم المنسدله
- Excel Tutorial - How to make a simple graph or chart in Excel أكسل - تعليمي كيفية جعل بسيطة او الرسم البياني الرسم البياني في إكسل
- Excel Tutorial - Example of how to use the VLOOKUP function أكسل تعليمي - مثال لكيفية استخدام vlookup وظيفة
Here’s a quick tutorial for those who need help using the VLOOKUP function in Excel. Here'sa سريعه تعليمي لأولئك الذين يحتاجون الى المساعدة باستخدام vlookup وظيفة في اكسل. VLOOKUP is a very useful function for easily searching through one or more columns in large worksheets to find related data. Vlookup هو مفيد جدا لمهمة البحث بسهولة عن طريق واحد أو أكثر من اعمدة كبيرة في العثور على ورقات البيانات ذات الصلة. You can use HLOOKUP to do the same thing for one or more rows of data. يمكنك استخدام hlookup الى ان تفعل الشيء نفسه بالنسبة لواحد او اكثر من صفوف البيانات. Basically when using VLOOKUP, you’re asking “Here’s a value, find that value in this other set of data, and then return to me the value of another column in that same set of data.” اساسا عند استخدام vlookup ، كنت طالبا "here'sa القيمه ، نجد أن قيمة أخرى في هذه المجموعة من البيانات ، والعودة بعد ذلك الى لي قيمة في عمود آخر ان نفس المجموعة من البيانات."
So you might ask how this can be useful? حتى انك قد تسأل كيف هذا يمكن ان يكون مفيدا؟ Well, take for example, the following حسنا ، ان تتخذ على سبيل المثال ، ما يلي sample spreadsheet عينه الكشوف I have created for this tutorial. انني خلقت لهذه الدورة التعليميه. The spreadsheet is very simple: one sheet has information on a couple of car owners such as name, id of the car, color and horsepower. جدول البيانات بسيطة جدا : صحيفة واحدة لديها معلومات عن اثنين من اصحاب السيارات مثل الاسم ورقم تعريف من السياره ، ولون حصان. The second sheet has the id of the cars and their actual model names. الثانية صحيفة لديه رقم تعريف للسيارات واحتياجاتها الفعليه نموذج الاسماء. The common data item between the two sheets is the car id. البند البيانات المشتركة بين الجانبين صحائف السياره هو معرف.
Now if I wanted to display the name of the car on sheet 1, I can use VLOOKUP to lookup each value in the car owners sheet, find that value in the second sheet, and then return the second column (the car model) as my desired value. الان اذا اردت اظهار اسم السياره على الصاج 1 ، يمكنني استخدام vlookup لمشاهدة كل قيمة في صحيفة مالكي السيارات ، نجد ان القيمه في الصفحه الثانية ، وبعد ذلك عد الى الخانه الثانية (السياره النموذجيه) لي القيمه المرجوة. So how do you go about this? فكيف هل تذهب نحو هذا؟ Well first you’ll need to enter the formula into cell H4 . اولا جيدا عليك ان تدخل حيز الصيغة خلية h4. Notice that I have already entered the full formula into cell F4 through F9 . أشعار بأنني دخلت بالفعل الى صيغة كاملة خلية f4 عن طريق f9. We’ll walk through what each parameter in that formula actually means. سنقوم من خلال المشي بارامتر كل ما في الواقع يعني ان صيغة.
Here’s what the formula looks like complete: اليك ما يشبه الصيغة الكاملة :
=VLOOKUP(B4,Sheet2!$A:$B,2,FALSE) = Vlookup (B4 ، sheet2! دولار أ : دولار ب ، 2 ، كاذبة)
There are 5 parts to this function: هناك 5 اجزاء لهذه الوظيفة :
1. =VLOOKUP - The = denotes that this cell will contain a function and in our case that is the VLOOKUP function to search through one or more columns of data. 1 - = vlookup - = يدل على ان هذه الخلايا سوف تحتوى على وظيفة في حالتنا هذه هي vlookup الوظيفة الى البحث عن طريق واحد أو أكثر من اعمدة البيانات.
2. B4 - The first argument for the function. 2 - B4 - الحجه الاولى لهذه الوظيفة. This is the actual search term that we want look for. هذا هو النموذج الحقيقي عند البحث عن كلمة نريد ان نبحث عن. The search word or value is whatever is entered into cell B4. البحث عن كلمة أو القيمه هي ما دخلت خلية B4.
3. Sheet2!$A:$B - The range of cells on Sheet2 that we want to search through to find our search value in B4. 3 - sheet2! دولار أ : دولار ب - مجموعة من الخلايا على sheet2 التي نريد البحث من خلال سعينا لايجاد القيمه في B4. Since the range resides on Sheet2, we need to precede the range with the name of the sheet followed by an !. منذ طائفة ويقيم sheet2 ، ونحن بحاجة الى ان تسبق طائفة مع اسم الصفحه يلية!. If the data is on the same sheet, there is no need for the prefix. اذا كانت البيانات هي على نفس الصفحه ، ليست هناك حاجة لالبادءه. You can also use named ranges here if you like. كما يمكنك استخدام اسم نطاقات هنا اذا اردت.
4. 2 - This number specifies the column in the defined range that you want to return the value for. 4 - 2 - يحدد عدد هذا العمود في طائفة ان تعرف انك تريد العودة للقيمة. So in our example, on Sheet2, we want to return the value of Column B or the car name, once a match is found in Column A. Note, however, that the column’s position in the Excel worksheet does not matter. حتى في مثالنا ، على sheet2 ، نحن نريد العودة الى قيمة العمود باء او اسم السياره ، مرة واحدة في المباراة ويرد في العمود الف - علما ، مع ذلك ، ان موقف العمود في ورقة بيانات اكسل لا يهم. So if you move the data in Columns A and B to D and E, let’s say, as long as you defined your range in argument 3 as $D:$E , the column number to return would still be 2. لذا اذا كنت تنتقل البيانات في الاعمده وأ ب الى د) و (ه ، دعنا نقول ، ما دمت تعرف طائفة الخاص بك في الحجه 3 كما دولار د : $ ه ، العمود عدد العودة سيظل 2. It’s the relative position rather than the absolute column number. فمن الوضع النسبي وليس المطلق عدد العمود.
5. False - False means that Excel will only return a value for an exact match. 5 - كاذبة كاذبة - يعني ان أكسل لن يؤدي الا الى العودة قيمة لمطابقه تامة. If you set it to True, Excel will look for the closest match. اذا قمت بتثبيت لأنه صحيح ، اكسل سوف تبحث عن اقرب مباراة. If it’s set to False and Excel cannot find an exact match, it will return #N/A . لو كان لمجموعة كاذبة واكسل لا يمكن العثور على مطابقه تامة ، فإنه سيعود # ن / أ.

Hopefully, you can now see how this function can be of use, especially if you have lots of data exported out from a normalized database. ومن المأمول ، يمكنك الآن ان نرى كيف يمكن ان تكون هذه المهمة للاستعمال ، وخاصة اذا كان لديك الكثير من البيانات تصدر بها من قاعدة البيانات الى طبيعتها. There may be a main record that has values stored in lookup or reference sheets. قد تكون هناك الرئيسية سجل له قيمة مخزنة في المشاهده او اشارة صحائف. You can pull in other data by “joining” the data using VLOOKUP. يمكنك الجذب الاخرى في البيانات عن طريق "الانضمام" البيانات باستخدام vlookup.
Another thing you may have noticed is the use of the $ symbol in front of the column letter and row number. شيء آخر ولعلكم قد لاحظوا هو استخدام الرمز للدولار امام العمود رسالة وعدد الصف. The $ symbol tells Excel that when the formula is dragged down to other cells, that the reference should remain the same. مبلغ الرمز اكسل يروي انه عندما تكون الصيغة ننجر وراء تراجع الى الخلايا الاخرى ، التي ينبغي ان تبقى المرجعيه نفسها. For example, if you were to copy the formula in cell F4 to H4, remove the $ symbols and then drag the formula down to H9, you’ll notice that the last 4 values become #N/A. فعلى سبيل المثال ، لو انك كنت على نسخة الصيغة في الخلية f4 الى h4 ، ازالة دولار رموز وثم اسحب صيغة نزولا الى h9 ، you'll اشعار بان الاخير 4 القيم اصبحت # ن / أ.

The reason for this is because when you drag the formula down, the range changes according to the value for that cell. والسبب في ذلك هو انه عندما تكون انت اسحب صيغة أو هبوطا ، ومدى التغييرات وفقا لقيمة لتلك الخلية. So as you can see in the picture above, the lookup range for cell H7 is Sheet2!A5:B8 . ذلك كما ترون في الصورة اعلاه ، المشاهده للطائفة خلية h7 هو sheet2! A5 : b8. It simply kept adding 1 to the row numbers. انها ببساطة ابقى مضيفا 1 الى الصف ارقام. To keep that range fixed, you need to add the $ symbol before the column letter and row number. يبقى ان طائفة ثابتة ، عليك ان تضيف مبلغ الرمز امام العمود رسالة وعدد الصف.
One note: if you’re going to set the last argument to True, you need to make sure that the data in your lookup range (the second sheet in our example) is sorted in ascending order otherwise it will not work! واحد ملاحظه : اذا كنت الذهاب الى المجموعة الاخيرة الى حجة صحيح ، انت بحاجة الى التأكد من ان البيانات الخاصة بك في نطاق المشاهده (الصفحه الثانية في مثالنا) هو في مرتبة من أجل الصعود والا فانه لن يعمل!
Any questions, post a comment! ايه اسءله ، ارسال تعليق!
Technorati Tags: Technorati العلامات : vlookup Vlookup , ، vlookup function Vlookup وظيفة , ، how to use vlookup كيفية استخدام vlookup , ، vlookup help Vlookup مساعدة , ، vlookup examples Vlookup امثلة , ، vlookup tutorial Vlookup تعليمي
If you enjoyed this post, make sure you اذا كنت تتمتع هذه الوظيفة ، تأكد انك subscribe to my RSS feed ار اس اس للاكتتاب بلدي الغذاء ! !
» Filed Under »المقدمة تحت MS Office Tips مايكروسوفت مكتب نصائح
Related Posts الوظائف ذات الصلة
- How to use Data Validation in Microsoft Excel to create dropdown lists كيفية استخدام التأكد من صحه البيانات في مايكروسوفت أكسل لانشاء القوائم المنسدله
- Excel Basics - How to use the Conditional Sum wizard أكسل الاساسيات - كيفية استخدام المبلغ المشروط المعالج
- Microsoft Excel Basics Tutorial - Learning how to use Excel اساسيات مايكروسوفت إكسل تعليمي - تعلم كيفية استعمال اكسل
- Excel Tips & Tricks - How to unprotect only a portion of an Excel spreadsheet نصائح اكسل & ألاعيب - كيف غير يحمي سوى جزء من وجود جداول البيانات اكسل
- Excel Tutorial - How to make a simple graph or chart in Excel أكسل - تعليمي كيفية جعل بسيطة او الرسم البياني الرسم البياني في إكسل
























