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

كيفية VLOOKUP وإرجاع عدة قيم مقابلة أفقية في Excel؟

doc-vlookup-horizontal-1
بشكل افتراضي ، يمكن لوظيفة VLOOKUP إرجاع قيم مقابلة متعددة في المستوى الرأسي في Excel ، وفي بعض الحالات ، قد ترغب في إرجاع قيم متعددة في المستوى الأفقي كما هو موضح أدناه لقطة الشاشة. سأخبرك هنا بصيغة يمكنها حل هذه المهمة.
VLOOKUP وإرجاع قيم متعددة أفقيًا

السهم الأزرق الحق فقاعة VLOOKUP وإرجاع قيم متعددة أفقيًا

على سبيل المثال ، لديك مجموعة من البيانات كما هو موضح أدناه ، وتريد VLOOKUP أسعار Apple.
doc-vlookup-horizontal-2

1. حدد خلية واكتب هذه الصيغة =INDEX($B$2:$B$9, SMALL(IF($A$11=$A$2:$A$9, ROW($A$2:$A$9)-ROW($A$2)+1), COLUMN(A1))) فيه ، ثم اضغط على شيفت + كترل + إنتر واسحب مقبض الملء التلقائي إلى اليمين لتطبيق هذه الصيغة حتى #NUM! يبدو. انظر لقطة الشاشة:
doc-vlookup-horizontal-3

2. ثم احذف ال # NUM !. انظر لقطة الشاشة:
doc-vlookup-horizontal-4

تلميح: في الصيغة أعلاه ، B2: B9 هو نطاق العمود الذي تريد إرجاع القيم فيه ، A2: A9 هو نطاق العمود الذي توجد فيه قيمة البحث ، A11 هي قيمة البحث ، A1 هي الخلية الأولى في نطاق البيانات الخاصة بك ، A2 هي الخلية الأولى في نطاق الأعمدة الذي تبحث فيه عن قيمته.

إذا كنت تريد إرجاع قيم متعددة عموديًا ، يمكنك قراءة هذه المقالة كيفية البحث عن قيمة إرجاع عدة قيم مقابلة في إكسيل؟


ادمج بسهولة أوراق / مصنف متعدد في ورقة واحدة أو مصنف واحد

قد يكون دمج الأوراق المتعددة أو المصنفات في ورقة واحدة أو مصنف واحد أمرًا صعبًا في Excel ، ولكن مع ملحق دمج في Kutools for Excel ، يمكنك دمج عشرات الأوراق / المصنفات في ورقة واحدة أو مصنف واحد ، كما يمكنك دمج الأوراق في واحدة بعدة نقرات فقط.  انقر للحصول على نسخة تجريبية مجانية كاملة المواصفات لمدة 30 يومًا!
الجمع بين الأوراق
 
Kutools for Excel: مع أكثر من 300 وظيفة إضافية مفيدة في Excel ، يمكنك تجربتها مجانًا دون قيود في أيام 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 (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
This article says this uses VLOOKUP, but it uses INDEX... which does not help me. I need a solution for multiple values using VLOOKUP or XLOOKUP in tables.
This comment was minimized by the moderator on the site
you can use TEXTSPLIT function followed by TEXTJOIN FUNCTION in excel 365
This comment was minimized by the moderator on the site
For anyone experiencing issues in a big data range, ensure you dont have any cells existent with "#N/A" or it will break it. Simple error but can be overlooked.
This comment was minimized by the moderator on the site
Hello, I want to use keyword instead of specific text or value here for multiple return values, can you please share code formula for same.
This comment was minimized by the moderator on the site
Hello - This formula worked perfectly - thank you! However, I want to apply it to a long list of lookup values. When I copy and paste the formula it obviously returns the same results as the first lookup value so I removed the $'s from $A$11, but that changes the result to something incorrect. How can I quickly apply this same formula for a long list of lookup values?

Thank you!

M
This comment was minimized by the moderator on the site
Bonjour,

J'ai retransposé mon problème exactement dans les mêmes positions de colonne que l'exemple et j’obtiens le message #VALEUR! dès la première case.

Mon excel fonctionne en francais, j'ai tout retranscrit en francais, passé ";"au lieu de ",", appuyé sur CTRL+MAJ+Entrée... des idées sur l'origine du problème?

Fanny
This comment was minimized by the moderator on the site
what you want to put the price in order of highest qty from column c?
This comment was minimized by the moderator on the site
i have to find vertical value first, in vertical value there are more horizontal value and i have choose grater value which i have. which function or formula can help
This comment was minimized by the moderator on the site
Hi. I have three google spreadsheet. First sheet is named "Summary. It is a table containing the name of our employee and number of evaluation in a week from 1-7. The next sheet is named "Chat Score"and third sheet is named Ëmail Score". What I want to to do is when we input a evaluation score to one of our employee it will be automatically recorded on the "Summary sheet" as evaluation 1 or 2 and so on and so forth. In short I want to get multiple return value in a single seach key across multiple sheet. I hope you can help. https://docs.google.com/spreadsheets/d/1lt-e4MxddUKg5xDt_0YchBiEgGe4mFKB-dHENwwtA6Y/edit?usp=sharing

https://docs.google.com/spreadsheets/d/1lt-e4MxddUKg5xDt_0YchBiEgGe4mFKB-dHENwwtA6Y/edit?usp=sharing
This comment was minimized by the moderator on the site
Although I'm looking up my values in another worksheet (I don't think this should cause a problem?), I only seem to have success dragging to the right if I go in and change the +1 to '0' for the 1st instance of the lookup ID, '1' for the 2nd instance and so on. I know how many instances of the lookup ID I have so I can workaround. What do I need to change to allow me to successfully drag the fx across horizontally without needing to edit (i.e getting the #NUM to appear once there are no more lookup values to return).
This comment was minimized by the moderator on the site
Sorry, I have not found any solutions about your problems. If you have found that, could you tell me? Thank u.
This comment was minimized by the moderator on the site
Change Column to Row at the end of the formula

"=INDEX($B$1:$B$206, SMALL(IF($A$209=$A$1:$A$206, ROW($A$1:$A$206)-ROW($A$1)+1), ROW(A1)))"
This comment was minimized by the moderator on the site
How to List all values(like list of groceries bought) caused by a specific value (by a person X) using VLOOK_UP and other possible formulas
This comment was minimized by the moderator on the site
You mean that to list all grocerise a person need to buy, right? If so, you can refer to the formula in this article, and change the arguments as you need as below screenshot shown.
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