how to create a condition in excel.


This query is : Resolved 

08 June 2009 How to create a condition in excel so that information has to be neccessarily be filled in a cell to proceed further?

10 June 2009 You can use if function andif function orif function etc., you can also download the business functions software for the same.

11 June 2009
Further reply : from T. S. Sivarama Krisnan

How to create a condition in excel so that information has to be neccessarily be filled in a cell to proceed further?



Your desired task can be achieved in Excel by using IF function command


What Does It Do?
This function tests a condition.
If the condition is met it is considered to be TRUE.
If the condition is not met it is considered as FALSE.
Depending upon the result, one of two actions will be carried out.

Syntax
=IF(Condition,ActionIfTrue,ActionIfFalse)
The Condition is usually a test of two cells, such as A1=A2.
The ActionIfTrue and ActionIfFalse can be numbers, text or calculations.

Formatting
No special formatting is required.

Example

The marks obtained by Mr. A in three levels of excel proficiency tests are given below with differential pass standards

If the Marks obtained are greater than or equal to the Standard of pass, he is declared as “Pass”. Else, his result will be declared as “Fail”


Exam Level Marks obtained Standard of Pass Result
Basic 75 40 Pass =IF(C43>=D43,”Pass”,”Fail”)
Advanced 60 60 Pass =IF(C44>=D44,”Pass”,”Fail”)
Expertise 65 75 Fail =IF(C45>=D45,”Pass”,”Fail”)


Kaustuv (Expert)
02 September 2009 Suppose you want to force user to enter some data in A1, then A2, A3 and so on. You don't want the user to skip entering data in any cell in Coloumn A. Then use this formula. Select the entire coloumn, Go to data validation. choose custom, uncheck ignore blank, and use the following formula,

=COUNTIF($A$1:$A1,"")=0

Use any desired error message.

Now enter any data in A1. skip A2 and try entering the data in A3, or skip A1 and start entering directly in A2. It won't allow.

Hope this helps.


You need to be the querist or approved CAclub expert to take part in this query .
Click here to login now



Similar Resolved Queries


loading


Unanswered Queries



CCI Pro



Answer Query



Company
Featured 29 October 2026
Accounts Executive

Synergy Keystone

Chennai

B.Com

View Details
Company
ARTICLESHIP 20 October 2026
CA ARTICLE

AMKN & CO

Noida

CA Inter

View Details
Company
ARTICLESHIP 29 October 2026
Article Assistant (CA Inter / CMA Inter) - Thrissur

Varma Raja & Associates

Thrissur

CA Inter

View Details
Company
12 November 2026
Auditor

Oz Taxation

Vijayawada

Graduate (Any)

View Details
Company
ARTICLESHIP 07 November 2026
Article Assisstant

DPV & Associates

Chennai

CA Inter

View Details
Company
Featured ARTICLESHIP 28 October 2026
CA- Inter and Articles

N N V Satish & Co.,

Hyderabad

CA Inter

View Details
Company
Featured 27 October 2026
semi-qualified CA

Saini Pati Shah & Co LLP, Chartered Accountants

Mumbai

CA Final

View Details
Company
ARTICLESHIP 25 October 2026
Article Intern (CA Articleship)

Arpan Bohra & Co

Hyderabad

CA Inter

View Details