# Excel Ke 5 Formulas: Syntax, Example Aur Practice Sheet > SUM, IF, COUNTIF, SUMIF aur VLOOKUP: har formula ki syntax, ek chhota example, aur blank sheet par khud karne wali practice Free guide by bloopcommits (@bloopcommits) ยท https://bloopcommits.pages.dev/excel-5-formulas/ Ye guide Microsoft Support ke function pages ke hisaab se hai. Syntax aur example wahin se liye hain. Neeche ke fruit aur marks wale numbers banaye hue example hain, kisi asli data ke nahi. Mera nazariya hai ki ye paanch cheezein interview mein aksar poochi jaati hain; ye koi gini hui statistic nahi hai. Tumhare Excel ke version ke hisaab se screen thodi alag dikh sakti hai. ## 1. SUM SUM function values ko add karta hai. **Syntax aur example** ``` SUM(number1,[number2],...) =SUM(A2:A10) ``` - A2:A10 ka matlab A2 se A10 tak ke saare cells. - Banaya hua example: column A mein 9 marks likho, B2 mein =SUM(A2:A10) likho, total aa jayega. ## 2. IF IF se tum ek value aur apni ummeed ke beech logical comparison kar sakte ho. **Syntax aur example** ``` IF(logical_test, value_if_true, [value_if_false]) =IF(A2>B2,"Over Budget","OK") ``` - Agar A2 B2 se bada hai to Over Budget, nahi to OK. - Text ko double quotes ke andar likhte hain. ## 3. COUNTIF COUNTIF un cells ko ginta hai jo ek criterion pe fit baithte hain. **Syntax aur example** ``` COUNTIF(range, criteria) =COUNTIF(A2:A5,"apples") ``` - Agar A2 se A5 mein apples, oranges, peaches, apples likha hai, to jawab 2 aata hai (Microsoft Support ke example ki tarah). - Criteria text ho to double quotes mein likho. ## 4. SUMIF SUMIF sirf wahi values jodta hai jo tumhari condition pe match karein. **Syntax aur example** ``` SUMIF(range, criteria, [sum_range]) =SUMIF(A2:A5,"apples",B2:B5) ``` - Banaya hua example: A mein fruit, B mein qty. apples ki saari qty ka total milega. - range wahan dekhta hai jahan condition check karni hai, sum_range wahan se jodta hai jahan numbers hain. ## 5. VLOOKUP VLOOKUP se table mein ek value dhundh kar uske saath wali value nikalte hain. **Syntax aur example** ``` VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]) =VLOOKUP("peaches",A2:B5,2,FALSE) ``` - Jo value dhundh rahe ho, wo range ke pehle column mein honi chahiye. - Last argument kuch nahi likhoge to default TRUE yaani approximate match hota hai. Exact match ke liye FALSE (ya 0) likho. - Banaya hua example: A mein fruit, B mein price, 2 ka matlab doosra column. ## Do aur cheezein - Remove Duplicates: Data tab mein Remove Duplicates. Pehli value rakhi jaati hai, baaki same values hat jaati hain. Chalane se pehle original data ki copy bana lo. - PivotTable: data ko calculate, summarize aur analyze karne ka powerful tool hai. Insert tab mein PivotTable. ## Practice: blank sheet par 5 chhote kaam 1. Nayi blank sheet kholo. A1 mein FRUIT, B1 mein MARKS likho, neeche 5 fruit ke naam aur apne marks bhar do (banaye hue numbers chalenge). 2. SUM: marks wale column ka total nikaalo, =SUM(B2:B6). 3. IF: ek naya column banao jisme marks 40 se zyada hon to Pass, warna Fail dikhe. 4. COUNTIF aur SUMIF: ek fruit ka naam do baar likho, phir COUNTIF se kitni baar aaya ginti karo aur SUMIF se uske marks ka total nikaalo. 5. VLOOKUP: ek chhoti table banao (fruit aur price), phir kisi ek fruit ka price VLOOKUP se nikaalo, last argument FALSE ke saath. > **Interview tip (meri salah)** > > - Resume pe Excel likhna aur sirf SUM aana ek trap ban sakta hai. Jo likho, wo kar ke dekh lo. > - VLOOKUP mein pehle column wali baat aur FALSE wali baat zubaani yaad rakho. - [SUM function](https://support.microsoft.com/en-us/office/sum-function-043e1c7d-7726-4e80-8f32-07b23e057f89) - [IF function](https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2) - [COUNTIF function](https://support.microsoft.com/en-us/office/countif-function-e0de10c6-f885-4e71-abb4-1f464816df34) - [SUMIF function](https://support.microsoft.com/en-us/office/sumif-function-169b8c99-c05c-4483-a712-1697a653039b) - [VLOOKUP function](https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1) - [Remove duplicate values](https://support.microsoft.com/en-us/office/filter-for-unique-values-or-remove-duplicate-values-ccf664b0-81d6-449b-bbe1-8daaec1e83c2) - [Create a PivotTable](https://support.microsoft.com/en-us/office/create-a-pivottable-to-analyze-worksheet-data-a9a84538-bfe9-40a9-a8e9-f99134456576) --- More free guides: https://bloopcommits.pages.dev/