Class 9 Computer Science — Complete notes in English and Urdu
Formulae and functions are essential tools in spreadsheet applications for performing calculations and data analysis. A formula is an expression that calculates the value of a cell using operators like +, -, *, /, and cell references (e.g., =A1+B1). A function is a predefined formula that simplifies complex calculations, such as SUM for addition, AVERAGE for finding the mean, and IF for logical comparisons. Functions can include multiple arguments and can be combined with other functions to perform advanced calculations. Mastering formulae and functions is key to using spreadsheets effectively for financial analysis, data management, and reporting.
فارمولے اور فنکشنز اسپریڈ شیٹ ایپلیکیشنز میں حسابات اور ڈیٹا تجزیہ کرنے کے لیے ضروری ٹولز ہیں۔ ایک فارمولا ایک اظہار ہے جو +، -، *، / جیسے آپریٹرز اور سیل حوالہ جات (مثال: =A1+B1) کا استعمال کرتے ہوئے سیل کی قدر کا حساب لگاتا ہے۔ ایک فنکشن ایک پہلے سے طے شدہ فارمولا ہے جو پیچیدہ حسابات کو آسان بناتا ہے، جیسے SUM اضافے کے لیے، AVERAGE اوسط تلاش کرنے کے لیے، اور IF منطقی موازنہ کے لیے۔ فنکشنز میں متعدد دلائل شامل ہو سکتے ہیں اور انہیں اعلیٰ درجے کے حسابات کرنے کے لیے دوسرے فنکشنز کے ساتھ ملایا جا سکتا ہے۔ فارمولے اور فنکشنز میں مہارت حاصل کرنا مالیاتی تجزیہ، ڈیٹا مینجمنٹ اور رپورٹنگ کے لیے اسپریڈ شیٹس کو مؤثر طریقے سے استعمال کرنے کی کلید ہے۔
| Type | Description | Syntax | Example |
|---|---|---|---|
| Formula | Custom calculation using operators and cell references | =A1 + B1 | =A1 + B1 - C1 |
| SUM Function | Adds a range of numbers | =SUM(A1:A10) | =SUM(A1, B1, C1) |
| AVERAGE Function | Calculates the mean of a range | =AVERAGE(A1:A10) | =AVERAGE(B1:B5) |
| COUNT Function | Counts the number of cells with numbers | =COUNT(A1:A10) | =COUNT(C1:C20) |
| IF Function | Performs a logical test and returns a value based on the result | =IF(condition, value_if_true, value_if_false) | =IF(A1>100, "Yes", "No") |
| VLOOKUP Function | Finds and retrieves data from a table | =VLOOKUP(lookup_value, table_array, col_index, [range_lookup]) | =VLOOKUP(A1, B1:D10, 2, FALSE) |
| قسم | وضاحت | سینٹیکس | مثال |
|---|---|---|---|
| فارمولا | آپریٹرز اور سیل حوالہ جات کا استعمال کرتے ہوئے حسب ضرورت حساب | =A1 + B1 | =A1 + B1 - C1 |
| SUM فنکشن | نمبرز کی ایک رینج کو جمع کرتا ہے | =SUM(A1:A10) | =SUM(A1, B1, C1) |
| AVERAGE فنکشن | ایک رینج کا اوسط حساب لگاتا ہے | =AVERAGE(A1:A10) | =AVERAGE(B1:B5) |
| COUNT فنکشن | نمبرز والے سیلز کی تعداد شمار کرتا ہے | =COUNT(A1:A10) | =COUNT(C1:C20) |
| IF فنکشن | ایک منطقی ٹیسٹ کرتا ہے اور نتیجہ کی بنیاد پر ایک قدر لوٹاتا ہے | =IF(condition, value_if_true, value_if_false) | =IF(A1>100, "Yes", "No") |
| VLOOKUP فنکشن | ایک ٹیبل سے ڈیٹا تلاش کرتا ہے اور بازیافت کرتا ہے | =VLOOKUP(lookup_value, table_array, col_index, [range_lookup]) | =VLOOKUP(A1, B1:D10, 2, FALSE) |