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”)
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.