انتقل إلى المحتوى الرئيسي

كيفية البحث عن قيمة المطابقة الأولى أو الثانية أو التاسعة في Excel؟

لنفترض أن لديك عمودين بالمنتجات والكميات كما هو موضح في لقطة الشاشة أدناه. لمعرفة كميات الموز الأول أو الثاني بسرعة ، ماذا ستفعل؟

هنا يمكن أن تساعدك وظيفة vlookup في التعامل مع هذه المشكلة. في هذه المقالة ، سنوضح لك كيفية البحث عن قيمة المطابقة الأولى أو الثانية أو التاسعة باستخدام وظيفة Vlookup في Excel.

يجد Vlookup قيمة المطابقة الأولى أو الثانية أو التاسعة في Excel مع الصيغة

ابحث بسهولة عن قيمة المطابقة الأولى في Excel باستخدام Kutools for Excel


يجد Vlookup قيمة المطابقة الأولى أو الثانية أو التاسعة في Excel

الرجاء القيام بما يلي للعثور على قيمة المطابقة الأولى أو الثانية أو التاسعة في Excel.

1. في الخلية D1 ، أدخل المعايير التي تريد البحث عنها ، وهنا أدخل Banana.

2. هنا سنجد قيمة المطابقة الأولى للموز. حدد خلية فارغة مثل E2 ، انسخ والصق الصيغة =INDEX($B$2:$B$6,MATCH(TRUE,EXACT($D$1,$A$2:$A$6),0)) في شريط الصيغة ، ثم اضغط CTRL + تغير + أدخل مفاتيح في نفس الوقت.

ملاحظات: في هذه الصيغة ، $ B $ 2: $ B $ 6 هو نطاق القيم المطابقة ؛ $ A $ 2: $ A $ 6 هو النطاق الذي يحتوي على جميع معايير vlookup ؛ $ D $ 1 هي الخلية التي تحتوي على معايير البحث المحددة.

ثم ستحصل على أول قيمة مطابقة للموز في الخلية E2. باستخدام هذه الصيغة ، يمكنك فقط الحصول على أول قيمة مقابلة بناءً على معاييرك.

للحصول على أي قيم نسبية ن ، يمكنك تطبيق الصيغة التالية: =INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),1)) + CTRL + تغير + أدخل مفاتيح معًا ، ستُرجع هذه الصيغة القيمة المطابقة الأولى.

ملاحظة:

1. للعثور على قيمة المطابقة الثانية ، يرجى تغيير الصيغة أعلاه إلى =INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),2))، ثم اضغط CTRL + تغير + أدخل مفاتيح في نفس الوقت. انظر لقطة الشاشة:

2. الرقم الأخير في الصيغة أعلاه يعني قيمة المطابقة التاسعة لمعايير vlookup. إذا قمت بتغييره إلى 3 ، فسيحصل على قيمة المطابقة الثالثة ، والتغيير إلى n ، سيتم اكتشاف قيمة المطابقة n.


العثور على Vlookup أول قيمة مطابقة في Excel مع Kutools for Excel

Yيمكنك بسهولة العثور على قيمة المطابقة الأولى في Excel دون تذكر الصيغ بامتداد ابحث عن قيمة في القائمة صيغة صيغة كوتولس ل إكسيل.

قبل التطبيق كوتولس ل إكسيلالرجاء قم بتنزيله وتثبيته أولاً.

1. حدد خلية لتحديد أول قيمة مطابقة (تقول الخلية E2) ، ثم انقر فوق كوتولس > مساعد الصيغة > مساعد الصيغة. انظر لقطة الشاشة:

3. في ال مساعد الصيغة مربع الحوار ، يرجى التهيئة على النحو التالي:

  • 3.1 في اختر صيغة مربع ، ابحث عن وحدد ابحث عن قيمة في القائمة;
    نصائح: يمكنك التحقق من منقي ، أدخل كلمة معينة في مربع النص لتصفية الصيغة بسرعة.
  • 3.2 في Table_array مربع ، حدد الجدول الذي يحتوي على قيم القيمة المطابقة الأولى.;
  • 3.2 في ابحث عن القيمة ، حدد الخلية التي تحتوي على المعايير ستعيد القيمة الأولى بناءً على ؛
  • 3.3 في عمود مربع ، حدد العمود الذي ستعيد منه القيمة المتطابقة. أو يمكنك إدخال رقم العمود في مربع النص مباشرة حسب حاجتك.
  • شنومك انقر فوق OK زر. انظر لقطة الشاشة:

الآن سيتم ملء قيمة الخلية المقابلة تلقائيًا في الخلية C10 بناءً على تحديد القائمة المنسدلة.

  إذا كنت ترغب في الحصول على نسخة تجريبية مجانية (30 يومًا) من هذه الأداة المساعدة ، الرجاء الضغط لتنزيلهثم انتقل لتطبيق العملية حسب الخطوات المذكورة أعلاه.

أفضل أدوات إنتاجية المكتب

🤖 مساعد Kutools AI: إحداث ثورة في تحليل البيانات على أساس: التنفيذ الذكي   |  إنشاء التعليمات البرمجية  |  إنشاء صيغ مخصصة  |  تحليل البيانات وإنشاء الرسوم البيانية  |  استدعاء وظائف Kutools...
الميزات الشعبية: البحث عن التكرارات أو تمييزها أو تحديدها   |  حذف الصفوف الفارغة   |  دمج الأعمدة أو الخلايا دون فقدان البيانات   |   جولة بدون صيغة 
سوبر بحث: معايير متعددة VLookup    VLookup ذات القيمة المتعددة  |   VLookup عبر أوراق متعددة   |   بحث غامض ....
قائمة منسدلة متقدمة: إنشاء القائمة المنسدلة بسرعة   |  القائمة المنسدلة التابعة   |  قائمة منسدلة متعددة التحديد ....
مدير العمود: إضافة عدد محدد من الأعمدة  |  نقل الأعمدة  |  تبديل حالة رؤية الأعمدة المخفية  |  مقارنة النطاقات والأعمدة 
الميزات المميزة: التركيز على الشبكة   |  عرض تصميم   |   شريط الفورمولا الكبير    مدير المصنفات والأوراق   |  مكتبة الموارد (النص السيارات)   |  منتقي التاريخ   |  اجمع أوراق العمل   |  تشفير/فك تشفير الخلايا    إرسال رسائل البريد الإلكتروني عن طريق القائمة   |  سوبر تصفية   |   مرشح خاص (تصفية غامق / مائل / يتوسطه خط ...) ...
أفضل 15 مجموعة أدوات12 نص الأدوات (إضافة نص, إزالة الأحرف، ...)   |   +50 رسم الأنواع (مخطط جانت، ...)   |   40+ عملي الصيغ (احسب العمر على أساس تاريخ الميلاد، ...)   |   19 إدخال الأدوات (أدخل رمز الاستجابة السريعة, إدراج صورة من المسار، ...)   |   12 تحويل الأدوات (أرقام إلى كلمات, نتيجة تحويل عملة، ...)   |   7 دمج وتقسيم الأدوات (الجمع بين الصفوف المتقدمة, تقسيم الخلايا، ...)   |   ... و اكثر

عزز مهاراتك في Excel باستخدام Kutools for Excel، واختبر كفاءة لم يسبق لها مثيل. يقدم Kutools for Excel أكثر من 300 ميزة متقدمة لتعزيز الإنتاجية وتوفير الوقت.  انقر هنا للحصول على الميزة التي تحتاجها أكثر...

الوصف


يجلب Office Tab الواجهة المبوبة إلى Office ، ويجعل عملك أسهل بكثير

  • تمكين التحرير والقراءة المبوبة في Word و Excel و PowerPointوالناشر والوصول و Visio والمشروع.
  • فتح وإنشاء مستندات متعددة في علامات تبويب جديدة من نفس النافذة ، بدلاً من النوافذ الجديدة.
  • يزيد من إنتاجيتك بنسبة 50٪ ، ويقلل مئات النقرات بالماوس كل يوم!
Comments (43)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
You only return first match with VLOOKUP so your article "How To Vlookup Find The First, 2nd Or Nth Match Value In Excel?" does not make any sense....
This comment was minimized by the moderator on the site
Hi Sima,
"VLOOKUP" is a Google search term, so I used it as a keyword for the article title. The main operation of this article is to lookup values. I'm sorry for the misunderstanding.
This comment was minimized by the moderator on the site
What if the next record on col b is a duplicate how do ignore duplicate? Let's Banana has quantities of 200 twice? Can you please help me figure out how to ignore the duplicate?
This comment was minimized by the moderator on the site
Cna anybody Explain the small function with the IF statement for me please? I don't really understand how that array works :(
This comment was minimized by the moderator on the site
The following formulas works perfect for me:
(a) or(b) =IF(H8='Raw Data'!B4,INDEX('Raw Data'!H6:H20,SMALL(IF(C18='Raw Data'!B6:B20,ROW('Raw Data'!B6:B20)-ROW('Raw Data'!B6:B20)+1),1)))

However, I have encountered a problem where there are 7 sets of the same criteria but in different columns:(1) can the above formula (a) be repeated and search in a different cells in a single formula and(2) the above formula (b) only allows up to two sets of the similar search with matched value result but when trying for the third set in the formula as showed below, Microsoft Excel appeared as "You've entered too many arguments for this function."
=<span style="letter-spacing: 0.2px; color: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit;">IF(H8='Raw Data'!J4,INDEX('Raw Data'!P6:P20,SMALL(IF(C18='Raw Data'!J6:J20,ROW('Raw Data'!J6:J20)-ROW('Raw Data'!J6:J20)+1),1))),</span>
This comment was minimized by the moderator on the site
What do Ctrl + Shift + Enter do?? At the beginning I didn'
This comment was minimized by the moderator on the site
Hi,An array formula needs to hit the Ctrl + Shift + Enter keys simultaneously to get the correct result.
This comment was minimized by the moderator on the site
I have a scenario... How do I get last price of anything for reference... Example: Banana first price was 200... While purchasing for second time; I need to display 200 in my expected price cell and then if I buy that on the day at 220, I will put this value manually as 220... Whenever next time I will buy banana; I need to display 220 from the last purchase price
This comment was minimized by the moderator on the site
Try =INDEX($B$2:$B$6,XMATCH(TRUE,EXACT($D$1,$A$2:$A$6),0,-1))

This is essentially reversing the search order and returning the first match using the XMATCH function.

Better late than never, hopefully helps someone :)
This comment was minimized by the moderator on the site
Perfect explanation, thanks.
This comment was minimized by the moderator on the site
If the first or any of the other entry's for 'banana' column B was blank cell, of which I don't require this number, what changes are required to this formula to skip blank cell in column B.
This comment was minimized by the moderator on the site
Sorry I am using this formula
=INDEX($B$2:$B$6,SMALL(IF($D$1=$A$2:$A$6,ROW($A$2:$A$6)-ROW($A$2)+1),1))
This comment was minimized by the moderator on the site
SOLVED:
=SMALL(IF(A2:A7=D1,IF(B2:B7<>"",B2:B7)),1)

If 2nd or 3rd number required exchange ),1) to 2 or 3

This formula does not require index, as it directly looks at the value in Cell
This comment was minimized by the moderator on the site
Correction to previous formula:
The value was reading either the lesser or greater.

Updated formula
=INDEX($B$2:$B$7,SMALL(IF($A2:$A6=$D$1,IF($B$2:$B$7<>"",ROW($A2:$A6)-ROW($A2)+1)),1))

This skips blank cell and places value of non blank cell. Replace +1 with +2 or +3 for 2nd or 3rd value
This comment was minimized by the moderator on the site
And if you want the last, second last, nth last just add a counter (count the number of events already hapenned) to the end and subtract it by 0,1,n respectively.

Thank you so much! I was searching for this for a long time
This comment was minimized by the moderator on the site
Good Day,
Sorry can't help you with this yet. Thank you for your comment.
This comment was minimized by the moderator on the site
Is it possible to find an average of the non-unique data. Or would it be possible to have a list dropdown on the cell of the various values?
This comment was minimized by the moderator on the site
Good Day,
Sorry can't help you with this yet. Thank you for your comment.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations