Excel If Function

Google Advertisements

Prev Tutorial Next Tutorial

If Function in Excel

The IF function or IF statement in Excel is composed of three parts separated by commas.

  • Condition
  • What to display if the condition is true
  • What to display if the condition is false

See in below image how to display pass and fail student if marks is greater than 400 it display pass otherwise fail.

if function in excel

How to Create If Function in Excel

To create If function in excel follow below steps;

  • Type the code in the cell: =if(
  • Type the condition with comma: C7>70,
  • Type what you want to show if condition is true. Here we display Pass if condition is true
  • Type a comma: ,
  • Type what you want to show if condition is false. Here we display Fail if condition is false
  • Then close the bracket and press the Enter key.
  • Final function look like this =IF(C7>400,"Pass","Fail")

If Condition Apply on Cell

Some time we need to print specific cell value based on condition,use below syntax.



Using above syntax we print value of cell A1 if condition is true otherwise print cell A1+10

Prev Tutorial Next Tutorial

Google Advertisements

We have more than 5 Groups which have 500000+ Members and some Pages have more than 100000+ members. For Advertisement contact on [email protected] or 8076671483

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: [email protected] or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Classpath variable is set for providing a path for predefined Java classes which is used in our application. All classes are available in lib/rt.jar so we set classpath upto lib/rt.jar. Difference between path and classpath in Java

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements

Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: [email protected] or 8076671483 Try this Keyword C++ Programs