طريقة كتابة المسلسل تلقائيًا في Excel باستخدام معادلة IF | Auto Serial Number in Excel Using IF Function
هل ترغب في جعل Excel يكتب الأرقام التسلسلية تلقائيًا بمجرد إدخال البيانات؟ 😍 في هذا الشرح سنستخدم معادلة بسيطة وسحرية تجعل Excel يقوم بكتابة المسلسل بدون أي مجهود منك!
Do you want Excel to generate serial numbers automatically as you enter data? 😍 In this tutorial, we’ll use a simple and smart formula that lets Excel do it for you — automatically!
💡 المعادلة المستخدمة | Formula Used
=IF(B2="","",ROW()-1)
📘 شرح بالعربية: هذه المعادلة تتحقق أولاً من وجود بيانات في الخلية B2، فإذا كانت فارغة تترك الخلية كما هي، وإذا كانت تحتوي على بيانات، تكتب رقم الصف ناقص 1 لتبدأ الترقيم من 1.
📘 Explanation in English:
This formula checks if cell B2 is empty.
- If it’s empty → it returns a blank cell.
- If it contains data → it writes the row number minus 1, so numbering starts from 1.
🧠 كيف تعمل المعادلة؟ | How It Works
- IF(B2="","",ROW()-1): Checks if the cell B2 is empty.
- If not empty, it calculates the row number and subtracts 1.
- Once you type anything in column B, Excel automatically fills the serial number.
🎥 شاهد الشرح بالفيديو | Watch the Video Tutorial
📂 تحميل ملف المثال | Download the Example File
يمكنك تحميل ملف Excel المستخدم في الشرح وتجربة المعادلة بنفسك 👇
طريقة تحميل الملف من موقع التحميل
إعداد وتقديم: السهم للمعلومات | AlSahm Info
تابعنا على قناتنا لمزيد من شروحات Excel وMicrosoft Office 🚀