Excel Formula vs Function in Hindi

Function vs Formula

1. Introduction

यदि आप Excel सीखना शुरू कर रहे हैं, तो आपने अक्सर Formula और Function शब्द सुने होंगे। अधिकांश नए उपयोगकर्ता (Beginners) इन दोनों को एक ही चीज़ समझते हैं, जबकि वास्तव में दोनों अलग-अलग हैं।

उदाहरण के लिए, यदि किसी ऑफिस में HR Manager को 500 कर्मचारियों की सैलरी जोड़नी हो, तो वह प्रत्येक सेल को अलग-अलग जोड़ने में घंटों लगा सकता है। लेकिन यदि उसे Formula और Function का सही ज्ञान हो, तो वही काम कुछ सेकंड में पूरा हो सकता है।

इसी तरह एक Accountant को GST Report तैयार करनी हो, एक Teacher को छात्रों के कुल अंक निकालने हों, या एक Sales Executive को Monthly Sales Report बनानी हो—हर जगह Excel Formula और Function का उपयोग किया जाता है।

एक वास्तविक समस्या

मान लीजिए आपके पास निम्न डेटा है:

Product Price Quantity
Laptop 50000 2
Mouse 500 10
Keyboard 1200 5

अब आपको Total Amount निकालनी है।

यदि आप Calculator का उपयोग करेंगे, तो समय अधिक लगेगा और गलती होने की संभावना भी बढ़ जाएगी।

लेकिन Excel में केवल एक Formula या Function से पूरा कार्य कुछ सेकंड में किया जा सकता है।

यही कारण है कि Formula और Function Excel की सबसे महत्वपूर्ण विशेषताओं में से एक हैं।


2. Excel Formula क्या है?

Excel Formula एक ऐसा Expression होता है जो किसी Calculation को करने के लिए बनाया जाता है। Formula हमेशा Equal (=) चिन्ह से शुरू होता है।

Formula में निम्न चीज़ें हो सकती हैं:

  • Numbers
  • Cell References
  • Mathematical Operators
  • Functions
उदाहरण

यदि Cell A1 में 100 और B1 में 200 है, तो:

=A1+B1

Result:

300

यह एक Formula है क्योंकि इसमें Calculation manually लिखी गई है।


Formula की मुख्य विशेषताएँ

✔ हमेशा "=" से शुरू होता है।

✔ इसमें +, -, *, / जैसे Operators उपयोग किए जाते हैं।

✔ Cell References का उपयोग किया जा सकता है।

✔ इसमें Functions भी शामिल किए जा सकते हैं।


Formula के कुछ सामान्य उदाहरण

जोड़ (Addition)

=A1+B1


घटाना (Subtraction)

=A1-B1


गुणा (Multiplication)

=A1*B1


भाग (Division)

=A1/B1


मिश्रित Formula

=(A1+B1)*10


Formula कैसे काम करता है?

Excel Formula लिखने के बाद Enter दबाते ही Excel:

  • Cell Values पढ़ता है।
  • Calculation करता है।
  • Result दिखा देता है।

यदि किसी Cell की Value बदल जाती है, तो Formula का Result भी स्वतः Update हो जाता है।

इसी सुविधा को Excel की Automatic Calculation कहा जाता है।


3. Excel Function क्या है?

Function Excel का पहले से तैयार (Predefined) Formula होता है, जिसे Microsoft ने विशेष प्रकार की Calculations को आसान बनाने के लिए बनाया है।

उदाहरण:

यदि आपको 100 Cells का Total निकालना है, तो आप यह Formula लिख सकते हैं:

=A1+A2+A3+A4+A5+A6...

लेकिन यह बहुत लंबा और कठिन होगा।

इसके स्थान पर Excel का SUM Function उपयोग किया जा सकता है:

=SUM(A1:A100)

दोनों का Result समान होगा, लेकिन Function अधिक आसान, तेज़ और Error-Free होता है।


Function की मुख्य विशेषताएँ

✔ पहले से तैयार Formula

✔ कम समय में Calculation

✔ कम Errors

✔ Complex Calculations आसान

✔ Professional Reports के लिए उपयुक्त


Function के सामान्य उदाहरण

SUM

कुल जोड़ निकालने के लिए

=SUM(A1:A10)


AVERAGE

औसत निकालने के लिए

=AVERAGE(A1:A10)


MAX

सबसे बड़ी संख्या

=MAX(A1:A10)


MIN

सबसे छोटी संख्या

=MIN(A1:A10)


COUNT

Numbers की गिनती

=COUNT(A1:A10)


IF

Condition के अनुसार Result

=IF(A1>=40,"Pass","Fail")


Formula और Function का संबंध

बहुत से लोग सोचते हैं कि Formula और Function अलग-अलग चीज़ें हैं।

वास्तव में,

हर Function एक Formula है, लेकिन हर Formula Function नहीं होता।

उदाहरण:

यह Formula है:

=A1+B1

यह Function है:

=SUM(A1:B1)

और यह Formula + Function दोनों का मिश्रण है:

=SUM(A1:A10)+100


Formula और Function का Syntax

Formula Syntax

=Cell Operator Cell

उदाहरण:

=A1+B1


Function Syntax

=Function_Name(Arguments)

उदाहरण:

=SUM(A1:A10)


Formula और Function क्यों सीखना जरूरी है?

यदि आप:

  • Office में Job करते हैं
  • Accountant हैं
  • HR Executive हैं
  • MIS Executive हैं
  • Data Analyst हैं
  • Student हैं
  • Business Owner हैं

तो Formula और Function सीखे बिना Excel का Professional उपयोग करना लगभग असंभव है।

इनकी मदद से आप:

  • Reports जल्दी बना सकते हैं।
  • Manual Calculation से बच सकते हैं।
  • Errors कम कर सकते हैं।
  • Automation कर सकते हैं।
  • Time बचा सकते हैं।


शुरुआती लोगों के लिए उदाहरण

मान लीजिए एक Teacher के पास निम्न Marks हैं:

Student Maths English
Ravi 80 70
Amit 90 85

Formula

Total Marks निकालने के लिए:

=B2+C2

Result:

150

Function

यदि पूरी Class के Marks जोड़ने हैं:

=SUM(B2:C20)

यह Function बहुत तेज़ी से Result देता है।


Formula और Function सीखने के लाभ

✅ समय की बचत

✅ कम Errors

✅ Professional Reports

✅ Automation

✅ Data Analysis

✅ Dashboard Creation

✅ Financial Reporting

✅ HR Reporting

✅ Inventory Management

✅ Sales Analysis


4. Excel Formula और Function में क्या अंतर है?

Excel सीखने वाले लगभग हर व्यक्ति के मन में यह प्रश्न आता है कि Formula और Function में वास्तविक अंतर क्या है। दोनों का उपयोग Calculation के लिए होता है, लेकिन दोनों का उद्देश्य और उपयोग करने का तरीका अलग-अलग है।

Formula vs Function Comparison Table

आधार Formula Function
परिभाषा User द्वारा बनाई गई Calculation Excel का Built-in Formula
शुरुआत हमेशा = से होती है हमेशा = और Function Name से शुरू होती है
लिखने वाला User Microsoft द्वारा पहले से तैयार
Complexity Simple या Complex दोनों हो सकती है पहले से Optimized
Speed Manual होने के कारण थोड़ा अधिक समय लग सकता है तेज़ और आसान
Error की संभावना अधिक कम
उदाहरण =A1+B1 =SUM(A1:B1)
Best Use छोटी Calculations बड़ी और Complex Calculations


Formula और Function में मुख्य अंतर

Formula

Formula में आपको पूरा Calculation स्वयं लिखना पड़ता है।

उदाहरण:

=A1+B1+C1+D1

Function

Function पहले से तैयार होता है।

उदाहरण:

=SUM(A1:D1)

दोनों का Result समान होगा, लेकिन Function अधिक छोटा, आसान और Professional होता है।


Formula कब उपयोग करना चाहिए?

Formula निम्न परिस्थितियों में उपयोगी होता है:

✔ Simple Calculations

उदाहरण:

=A1+B1


✔ Percentage निकालना

=(B2/C2)*100


✔ Discount निकालना

=A2-(A2*10%)


✔ GST जोड़ना

=A2+(A2*18%)


Function कब उपयोग करना चाहिए?

Function का उपयोग तब करें जब:

  • बहुत अधिक Data हो।
  • Automation चाहिए।
  • Complex Reports बनानी हों।
  • Dashboard तैयार करना हो।


उदाहरण

Total Sales

=SUM(B2:B500)


Average Salary

=AVERAGE(C2:C100)


Highest Sales

=MAX(D2:D500)


Lowest Sales

=MIN(D2:D500)


5. Step-by-Step Guide (Formula और Function कैसे बनाएं?)

Formula बनाने की प्रक्रिया

Step 1

Excel खोलें।


Step 2

दो Cells में Values लिखें।

A B
100 200


Step 3

तीसरे Cell में लिखें:

=A1+B1


Step 4

Enter दबाएँ।

Result:

300


Function बनाने की प्रक्रिया

Step 1

निम्न Data लिखें:

Sales
100
200
300
400


Step 2

खाली Cell चुनें।


Step 3

लिखें:

=SUM(A1:A4)


Step 4

Enter दबाएँ।

Result:

1000


AutoSum का उपयोग

यदि आप Formula याद नहीं रखना चाहते,

तो:

Home → AutoSum

Auto Sum

या

Shortcut:

Alt + =

Excel स्वयं SUM Function लगा देगा।


Insert Function Wizard

यदि Function याद नहीं है,

तो:

Formulas Tab → Insert Function

Insert Function

Category चुनें → Function चुनें → Arguments भरें → OK

Insert Function

यह तरीका Beginners के लिए सबसे आसान है।


6. Real-World Examples

अब देखते हैं कि Office, School और Business में Formula और Function का वास्तविक उपयोग कैसे होता है।


Example 1 – HR Salary Calculation

मान लीजिए HR Department के पास निम्न Data है:

Employee Basic Salary HRA Bonus
Ravi 25000 5000 3000

Formula

Total Salary

=B2+C2+D2

Result

33000


यदि पूरी Company की Salary जोड़नी हो

तो

=SUM(E2:E500)

Example 2 – School Result

Student Maths English Science
Ravi 80 90 85

Formula

=B2+C2+D2

Total Marks

255


Average निकालने के लिए

=AVERAGE(B2:D2)

Result

85


Example 3 – Sales Dashboard

Month Sales
Jan 50000
Feb 70000
Mar 65000

पूरे Quarter की Sales

=SUM(B2:B4)

Highest Month

=MAX(B2:B4)

Lowest Month

=MIN(B2:B4)

Example 4 – Attendance Management

Employee Days Present
Amit 28
Ravi 30

Average Attendance

=AVERAGE(B2:B10)

Example 5 – Inventory Management

Product Stock
Laptop 50
Mouse 120

Total Stock

=SUM(B2:B20)

Example 6 – Banking Report

Customer Balance
A 50000
B 75000

Highest Balance

=MAX(B2:B100)

Example 7 – Expense Tracker

Expense Amount
Rent 15000
Food 5000
Travel 3000

Total Expense

=SUM(B2:B20)

Example 8 – GST Invoice

Item Amount
Laptop 50000

GST

=B2*18%

Final Amount

=B2+(B2*18%)


Example 9 – Commission Report

Commission

=B2*5%


Example 10 – Loan EMI Sheet

Interest

=Loan Amount*Interest Rate

Monthly EMI के लिए Excel में PMT Function का उपयोग किया जा सकता है।


Formula और Function का Combined Example

मान लीजिए:

पहले SUM निकालना है

फिर Bonus जोड़ना है।

=SUM(B2:B10)+5000

यहाँ

SUM = Function

+5000 = Formula

इसलिए यह Formula और Function दोनों का मिश्रण है।


Formula लिखते समय Best Practices

✔ Cell References का उपयोग करें।

✔ Hard Coding से बचें।

✔ Parentheses का सही उपयोग करें।

✔ Formula Copy करने से पहले Relative और Absolute References समझें।

✔ Formula Auditing Tool का उपयोग करें।


Function उपयोग करते समय Best Practices

✔ सही Function चुनें।

✔ Range सही Select करें।

✔ Function Wizard का उपयोग करें।

✔ Nested Functions को समझकर उपयोग करें।

✔ बड़े Data में Manual Formula की बजाय Functions उपयोग करें।


7. Formula और Function का सही उपयोग कब करें?

कई Excel users के मन में यह प्रश्न होता है कि Formula का उपयोग करें या Function का? इसका उत्तर आपके काम की आवश्यकता पर निर्भर करता है।

यदि आपका काम... उपयोग करें
दो या तीन Numbers जोड़ना Formula
बड़ी Range का Total निकालना SUM Function
Average निकालना AVERAGE Function
Maximum या Minimum Value ढूँढना MAX / MIN Function
Condition के आधार पर Result चाहिए IF Function
किसी Value को Search करना VLOOKUP / XLOOKUP Function
Complex Report बनानी हो Functions + Formula

Pro Tip: बड़े Data Sets में हमेशा Built-in Functions का उपयोग करें। इससे Formula छोटा, तेज़ और Error-Free रहता है।


8. Formula और Function में होने वाली सामान्य गलतियाँ (Common Mistakes)

❌ 1. "=" लगाना भूल जाना

गलत:

SUM(A1:A10)

सही:

=SUM(A1:A10)


❌ 2. Brackets सही न लगाना

गलत:

=SUM(A1:A10

सही:

=SUM(A1:A10)


❌ 3. गलत Cell Range चुनना

उदाहरण:

यदि आपको A2:A20 जोड़ना है लेकिन आपने A2:A10 चुन लिया, तो Result गलत होगा।


❌ 4. Numbers की जगह Text होना

यदि Cell में "100" Text के रूप में है, तो कुछ Functions अपेक्षित परिणाम नहीं देंगी।

समाधान

  • Text to Columns
  • VALUE Function
  • Convert to Number


❌ 5. Formula Copy करते समय Reference बदल जाना

उदाहरण:

=A2*B2

Copy करने पर यह:

=A3*B3

बन जाएगा।

यदि Reference स्थिर रखना हो, तो:

=$A$2*$B$2


❌ 6. Hard Coding करना

गलत:

=1000+500

सही:

=A1+B1

Cell References का उपयोग करने से Data बदलने पर Result स्वतः Update हो जाता है।


❌ 7. गलत Function चुनना

उदाहरण:

Average निकालने के लिए SUM Function का उपयोग करना।


❌ 8. Nested Functions का गलत उपयोग

उदाहरण:

=IF(A2>50,SUM(B2:B10),"Fail")

Nested Functions में Brackets और Logic का विशेष ध्यान रखें।


❌ 9. Circular Reference बनाना

गलत:

=A1+B1

यदि यह Formula A1 में ही लिखा गया है, तो Circular Reference Error आएगी।


❌ 10. Formula को Delete कर देना

Report Final होने के बाद Values Paste करने से पहले Original Workbook का Backup रखें।


9. Pro Tips

✅ 1. Cell References का उपयोग करें

Hard-coded Numbers से बचें।


✅ 2. Named Ranges बनाएँ

उदाहरण:

Sales_Data

फिर Formula:

=SUM(Sales_Data)

यह अधिक readable होता है।


✅ 3. AutoFill का उपयोग करें

एक Formula लिखें और Fill Handle से पूरी Column में Copy करें।


✅ 4. Keyboard Shortcuts याद रखें

Shortcut कार्य
Alt + = AutoSum
Ctrl + ` Show Formulas
F4 Absolute Reference
Ctrl + 1 Format Cells
Ctrl + Shift + L Filter


✅ 5. Formula Auditing Tool का उपयोग करें

यदि Formula Error दे रहा है, तो:

Formulas → Trace Precedents / Trace Dependents

का उपयोग करें।


✅ 6. Nested Functions धीरे-धीरे सीखें

पहले:

  • SUM
  • AVERAGE
  • COUNT

फिर:

  • IF
  • SUMIF
  • COUNTIF

और बाद में:

  • XLOOKUP
  • INDEX + MATCH
  • FILTER


✅ 7. Dynamic Functions सीखें

यदि आप Microsoft 365 उपयोग करते हैं, तो:

  • FILTER()
  • SORT()
  • UNIQUE()
  • SEQUENCE()

जैसे Functions सीखें।


✅ 8. Comments जोड़ें

Complex Workbook में Comments या Notes लिखें ताकि दूसरे Users भी Formula समझ सकें।


✅ 9. Data Validation के साथ Formula उपयोग करें

इससे गलत Data Entry कम होगी और Formula अधिक Accurate Result देंगे।


✅ 10. Practice करें

हर दिन 15–20 मिनट Excel Practice करने से आपकी Speed और Accuracy दोनों बढ़ेंगी।


10. Interview Questions

Q1. Formula और Function में मुख्य अंतर क्या है?

उत्तर: Formula User द्वारा बनाया जाता है, जबकि Function Excel का Built-in Formula होता है।


Q2. क्या हर Function एक Formula है?

उत्तर: हाँ, लेकिन हर Formula Function नहीं होता।


Q3. SUM और Addition Formula में क्या अंतर है?

उत्तर: =A1+A2+A3 Manual Formula है, जबकि =SUM(A1:A3) Built-in Function है।


Q4. Formula हमेशा किस चिन्ह से शुरू होता है?

उत्तर: Equal (=)


Q5. Excel का सबसे अधिक उपयोग होने वाला Function कौन-सा है?

उत्तर: SUM Function


11. Practice Exercise

नीचे दिए गए Data के लिए स्वयं Formula और Function लिखने का प्रयास करें।

Employee Salary Bonus
Ravi 30000 5000
Amit 45000 7000
Neha 38000 6000

अभ्यास

  • Total Salary निकालें।
  • Average Salary निकालें।
  • Highest Salary खोजें।
  • Lowest Salary खोजें।
  • Total Bonus निकालें।

Self Challenge: इन सभी Questions को पहले Formula से और फिर Function से हल करने का प्रयास करें।


12. Frequently Asked Questions (FAQ)

Q1. Excel Formula क्या है?

Formula एक Calculation Expression है जो = से शुरू होता है और Numbers, Cell References तथा Operators का उपयोग करता है।


Q2. Excel Function क्या है?

Function Excel का Built-in Formula है जो विशेष प्रकार की Calculation को आसान बनाता है।


Q3. Formula और Function में क्या अंतर है?

Formula User द्वारा बनाया जाता है, जबकि Function पहले से Excel में उपलब्ध होता है।


Q4. Excel का सबसे पहला Function कौन-सा सीखना चाहिए?

शुरुआत करें:

  • SUM
  • AVERAGE
  • COUNT
  • MAX
  • MIN


Q5. क्या एक Formula में कई Functions का उपयोग किया जा सकता है?

हाँ। उदाहरण:

=IF(AVERAGE(B2:B6)>=50,"Pass","Fail")


Q6. क्या Function बिना Formula के उपयोग किया जा सकता है?

नहीं। Function भी = से शुरू होता है और Formula का ही एक प्रकार है।


Cell References

Excel में, worksheet में किसी specific cell या cells की range को refer करने के लिए cell references का उपयोग किया जाता है। जब आप किसी formula या function में cell reference का उपयोग करते हैं, तो referenced cell को ले जाने पर या यदि formula को किसी अन्य cell में copy किया जाता है, तो Excel automatic रूप से reference को update कर देगा।

Excel में तीन प्रकार के cell references होते हैं:

  1. Relative cell references: एक relative cell reference एक formula या function में इस्तेमाल किया जाने वाला default प्रकार का reference है। यह वर्तमान cell के relative एक cell को refer करता है। उदाहरण के लिए, यदि आपके पास cell C3 में एक formula है जो cell A1 को refer करता है, और आप उस formula को cell D4 में copy करते हैं, तो cell B2 को refer करने के लिए reference update हो जाएगा।
  2. Absolute cell references: एक absolute cell reference एक reference है जो हमेशा एक specific cell को refer करता है, भले ही formula को copy किया गया हो। यह reference को absolute बनाने के लिए "$" प्रतीक (symbol) का उपयोग करता है। उदाहरण के लिए, यदि आपके पास cell C3 में एक formula है जो cell $A$1 को refer करता है, और आप उस formula को cell D4 में copy करते हैं, तो reference अभी भी cell $A$1 को refer करेगा।
  3. Mixed cell references: एक mixed cell reference एक reference है जो relative और absolute references को मिलाता है। उदाहरण के लिए, यदि आपके पास cell C3 में एक formula है जो cell $A1 को refer करता है, और आप उस formula को cell D4 में copy करते हैं, तो cell $A2 को refer करने के लिए reference update हो जाएगा।

आप cell या cells की range के लिए shorthand reference बनाने के लिए Excel में named ranges का भी उपयोग कर सकते हैं। यह formulas को पढ़ने और बनाए रखने में आसान बना सकता है, खासकर यदि आप बड़ी या जटिल worksheets के साथ काम कर रहे हैं।

Key Differences:

  • Formula: Users द्वारा लिखा गया custom expression।
  • Function: Excel द्वारा प्रदान की गई predefined calculation जिसका उपयोग formula के भीतर किया जा सकता है।

आप function को operator के साथ जोड़कर formula बना सकते हैं। उदाहरण के लिए, =SUM(A1:A10) + B1 एक formula है जिसमें एक function (SUM) और एक operator (+) शामिल है।


13. Conclusion

Excel में Formula और Function दोनों ही Data Analysis और Automation की नींव हैं। यदि आप केवल Manual Calculations करते हैं, तो आपका समय अधिक लगेगा और Errors की संभावना भी बढ़ जाएगी।

दूसरी ओर, यदि आप Built-in Functions का सही उपयोग करते हैं, तो आप:

  • बड़े Data Sets को आसानी से Analyze कर सकते हैं।
  • Reports तेज़ी से बना सकते हैं।
  • Dashboards तैयार कर सकते हैं।
  • Office Productivity बढ़ा सकते हैं।
  • Professional Excel Skills विकसित कर सकते हैं।

याद रखें: छोटे Calculations के लिए Formula पर्याप्त हो सकता है, लेकिन बड़े और Professional Projects के लिए Functions का उपयोग अधिक प्रभावी होता है।


👨‍💻 Author

Total Data Solution
Data Analyst | Excel & SAP Analytics Cloud Developer
I share practical Excel, Automation, and Reporting tutorials based on real corporate experience.

एक टिप्पणी भेजें

Please do not enter any spam link in the comment box.

और नया पुराने