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

 كيفية العثور على أعلى قيمة في صف والعودة رأس العمود في إكسيل؟

في هذه المقالة ، سأتحدث عن كيفية إرجاع رأس العمود لأكبر قيمة في صف واحد في Excel. على سبيل المثال ، لدي نطاق البيانات التالي ، العمود A هو السنة ، والعمود B إلى F يتم ملؤها بأرقام الطلبات من يناير إلى مايو. والآن ، أريد الحصول على اسم الشهر لأكبر قيمة في كل صف.

وثيقة-الحصول على-عمود-رأس-1

ابحث عن أعلى قيمة في صف وأعد رأس العمود باستخدام الصيغة


السهم الأزرق الحق فقاعة ابحث عن أعلى قيمة في صف وأعد رأس العمود باستخدام الصيغة

لاسترداد رأس العمود لأكبر قيمة في صف ، يمكنك تطبيق مجموعة من وظائف INDEX و MATCH و MAX للحصول على النتيجة. الرجاء القيام بما يلي:

1. أدخل هذه الصيغة في خلية فارغة تحتاجها: =INDEX($B$1:$F$1,0,MATCH(MAX($B2:$F2),$B2:$F2,0))، ثم اضغط أدخل مفتاح للحصول على اسم الشهر الذي يطابق أكبر قيمة في صف واحد. انظر لقطة الشاشة:

وثيقة-الحصول على-عمود-رأس-2

2. ثم حدد الخلية واسحب مقبض التعبئة إلى النطاق الذي تريد أن تحتوي على هذه الصيغة ، انظر الصورة:

وثيقة-الحصول على-عمود-رأس-3

ملاحظات: في الصيغة أعلاه: ب1: ف1 هو صف الرؤوس الذي تريد إرجاعه ، ب2: ف2 هو نطاق البيانات الذي يحتوي على أكبر قيمة تريد البحث عنها.


مقالة ذات صلة:

كيفية العثور على أعلى قيمة وإرجاع قيمة الخلية المجاورة في إكسيل؟

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

🤖 مساعد 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 (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Can you do this with a MAXIFS function?
This comment was minimized by the moderator on the site
Hello, Ted,
In this case, here can't use the MAXIFS function. In Excel, the MAXIFS function is used to return the largest number in a column based on one or more criteria.
Please click to know more about this MAXIFS fucntion..., it explains this function clearly and detailedly.
Thank you!
This comment was minimized by the moderator on the site
What if there are 2 same highest value, how can i return both column headers, for example the sales for both april and august are 30k, how can i return the name of both april and august
This comment was minimized by the moderator on the site
Hello, To return all the column headers with multiple higest values, you should apply the below User Defined Function.
Function getmax(rngRst As Range, rngVal As Range) As String
Dim i As Integer
Dim xNum As Double
Dim xStr As String
xNum = Application.WorksheetFunction.Max(rngVal)
For i = 1 To rngVal.Count
If rngVal(i).Value = xNum Then
xStr = xStr & rngRst(i).Value & ","
End If
Next
getmax = Left(xStr, Len(xStr) - 1)
End Function

Please copy the above code into the VBA module, and then use the below formula to get the first result, and then drag the fill handle down to return other column headers.=getmax($B$1:$H$1,B2:H2)

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Hi, I have attendance sheet. First column heading is names and rest columns for dates.
Names columns shows names in rows and dates columns shows p (present) H (weekoff) L (leave)
It's for 23 people.
and at last I have made total presents in a day, then total leaves and then total weekoffs.
"Now I am searching the way where I can click on total present numbers and get list of all names who are present in a particular day."
I tried many ways but no luck.
first columns names, second shows if they were present or leave or on week offs.Is there anyway where I can get list of all names who are present or on leave?Any formula?
This comment was minimized by the moderator on the site
how can i modify this logic to show me all the records in one row where a value in all selected columns are greater than 1
This comment was minimized by the moderator on the site
how can i modify this logic to show all the column header in a single row where the value is > 1?
This comment was minimized by the moderator on the site
Did you figure this out
This comment was minimized by the moderator on the site
yoh you are so late man .  year has passed XD
This comment was minimized by the moderator on the site
Thank for this. It helped. Does it work the same way for a range of cells instead of just a row? I am trying to get the formula to return the column header (month) of the largest and smallest value in a range of cells? This is what I tried =INDEX($B$4:$M$4,0,MATCH(MAX($B5:$M42),$B5:$M42,0)) but it gives a #N/A answer
This comment was minimized by the moderator on the site
What happens if you have duplicate values in a row and you want the latest value's header. Is this possible?
The current formula only returns the first match, but in my case I need to know the latest one
This comment was minimized by the moderator on the site
hi. having same issue. Pls do reply if u have found the way out.
This comment was minimized by the moderator on the site
You're Aces Kid !!! ... this example worked perfect for my application: =INDEX($B$1:$F$1,0,MATCH(MAX($B2:$F2),$B2:$F2,0))

ISA 40:31
This comment was minimized by the moderator on the site
Thank you so much!!!
This comment was minimized by the moderator on the site
Hi, am trying to find lowest value in a row and the highest value on the corresponding column. Is there a formula or shortcut to find this. Please guide
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