Ads

Latest News

How to Create School Marksheet Microsoft Excel use the IF function



 Certainly! Below is an extended example using the IF function in Microsoft Excel for a more comprehensive marksheet. In this example, we'll incorporate not only the pass/fail status but also letter grades and a custom comment based on the student's score.


Assuming the scores are in column A starting from A2, you can use the following formula in cell B2:


```excel

=IF(A2>=90, "A", IF(A2>=80, "B", IF(A2>=70, "C", IF(A2>=60, "D", "F")))) & " Grade" & 

IF(A2>=50, ", Pass", ", Fail") & 

IF(A2>=90, ", Excellent!", IF(A2>=80, ", Good job!", IF(A2>=70, ", Keep it up!", IF(A2>=60, ", Needs improvement.", ", Better luck next time."))))

```


Explanation:


- The first part assigns the letter grade using nested IF functions.

- The `& " Grade"` appends the word "Grade" to the letter grade.

- The second part determines the pass/fail status using another IF function.

- The `& ", Pass"` or `& ", Fail"` appends the pass/fail status to the result.

- The third part provides a custom comment based on the score and grade achieved.


You can drag this formula down to apply it to other cells in column B based on the corresponding scores in column A. Adjust the thresholds and comments as needed for your specific grading criteria.


بالطبع! یہاں مائیکروسافٹ ایکسل مارک شیٹ میں IF فعل کا استعمال کرتے ہوئے ایک تفصیلی مثال ہے۔ اس مثال میں، آپ کو صرف پاس/فیل کا حال نہیں بلکہ چٹرے گیہڑ، اے، بی، سی یا ڈی کے لیے چاندنی حاصل کرنے کا حکم ہے۔


فرض ہے کہ نمبر A2 سے شروع ہوتے ہیں، تو آپ کسی بھی چیز کو حاصل کرنے کے لئے میں بہترین فارمولہ میں یہ استعمال کرسکتے ہیں۔


```excel

=IF(A2>=90, "A", IF(A2>=80, "B", IF(A2>=70, "C", IF(A2>=60, "D", "F")))) & " گریڈ" & 

IF(A2>=50, "، پاس", "، فیل") & 

IF(A2>=90, "، عظیم!", IF(A2>=80, "، اچھا کام!", IF(A2>=70, "، اسی راستے پر!", IF(A2>=60, "، سدھار جائے۔", "، اگلی بار بہتر ہوگا۔"))))

```


توضیح:


- پہلے حصہ مضبوط IF فعل استعمال کرتا ہے تاکہ چاندنی حاصل ہو سکے۔

- `& " گریڈ"` حرف `Grade` کو حاصل شدہ چاندنی سے جوڑتا ہے۔

- دوسرا حصہ IF فعل کا استعمال کرتا ہے تاکہ پاس/فیل حالت معلوم ہو سکے۔

- `& "، پاس"` یا `& "، فیل"` حاصل شدہ نتیجے میں پاس/فیل حالت شامل کرتا ہے۔

- تیسرا حصہ نمبر اور حاصل کردہ چاندنی کے مطابق ایک خصوصی تبصرہ فراہم کرتا ہے۔


آپ اس فارمولے کو نمبر A کے مطابق B کے دیگر خانوں میں لاگو کرنے کے لئے اسے نیچے کھینچ سکتے ہیں۔ آپ اپنے خصوصی گریڈنگ کی شرائط کے مطابق حدود اور تبصرے ترتیب دینے کے لئے اس کو ایڈیٹ کر سکتے ہیں۔


1 comment: