Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

In my excel 3 textboxes are there, if I enter one by one automatically calculated and result will be displayed on 4th textbox. In 4th textbox have formula. I am unable to understand that formula Can you any one explain in-detail that formula.

Formula is :
=IF($C$5=100,$U$21,IF($C$5=150,$T$21))


Thanks.
Posted

IF the value of $C$5 EQUAL 100 
   THEN assign the value of $U$21 to the 4th textbox
ELSE IF the value of $C$5 EQUAL 150 
   THEN assign the value of $T$21 to the 4th textbox

Read more: excel-help-if[^]
 
Share this answer
 
v5
This is a simple if else condition.

Always look at the inner condition first.
The output from the inner condition will become input to the outer one.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900