Which of the following us correct syntax in MS Excel? =IF(LogicalTest, TrueResult, FalseResult), =IF(LogicalTest, TrueResult), IF(LogicalTest, FalseResult), =IF(LogicalTest, TrueResult) IF(LogicalTest, FalseResult), None of these
ایکسل میں درج ذیل میں سے کون سا نحو درست ہے؟
- =IF(LogicalTest, TrueResult, FalseResult)
- =IF(LogicalTest, TrueResult), IF(LogicalTest, FalseResult)
- =IF(LogicalTest, TrueResult) IF(LogicalTest, FalseResult)
- None of these
Explanation
- In MS Excel, the IF function is used to return one value if a condition is TRUE and another if it is FALSE.
- The correct syntax always includes:
=IF(LogicalTest, TrueResult, FalseResult)
Additional information:
- LogicalTest: Condition to evaluate (e.g., A1>50)
- TrueResult: Value returned if condition is TRUE
- FalseResult: Value returned if condition is FALSE
- Example: =IF(A1>50, "Pass", "Fail")
Last verified on 07-03-2026
Related MCQs
ایکسل میں کسی رینج میں موجود عددی سیلز کی تعداد معلوم کرنے کے لیے کون سا فارمولا استعمال ہوتا ہے؟
- COUNTIF
- COUNT
- COUNTA
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
- Open Help Window
- Find and Replace
- Highlight Text
- Insert Hyperlink
اس سوال کو وضاحت کے ساتھ پڑھیں
ایم ایس ایکسل میں سیل کی سرحدیں کس مقصد کے لیے ظاہر کی جاتی ہیں؟
- To lock the worksheet view
- To separate and define cells
- To protect the workbook
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایم ایس ایکسل میں کونسی شارٹ کٹ کی، قطاروں کو چھپانے کے لیے استعمال ہوتی ہے؟
- Ctrl+H
- Ctrl+7
- Ctrl+9
- None of the above
اس سوال کو وضاحت کے ساتھ پڑھیں
Ctrl+R ایکسل میں استعمال ہوتا ہے۔
- Fill the selection with active cells to the right
- Right align the content of cell
- Remove the cell contents of selected cells
- None of these