Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mari P
 
Posts: n/a
Default "IF..THEN.."formulas

Can you do "IF...THEN..."formulas in EXCEL and How? Thanks
Mari
  #2   Report Post  
JudithJubilee
 
Posts: n/a
Default

Hello there,

There is an IF function in Excel.
=IF(Condition,True,False)

For Example:

If a customers' balance is in cell A1 then,

=IF(A10,"Credit","Debit")

You can also add nested IFs, eg.

If a pupils score is in A1 then,

=IF(A180,"Excellent",IF(A150,"Pass","Fail"))
You keep adding Conditions and Trues until the end when
you add the False.
You can have upto 7 nested IFs.
Remember to start with the highest first as Excel looks
at the conditions in order. I.E. if the nested IF above
was created like:

=IF(A150,"Pass",IF(A180,"Excellent","Fail"))
Anyone with over 50 will get Pass even if they have over
80 as a condition has already been met.

I hope this helps

Judith

-----Original Message-----
Can you do "IF...THEN..."formulas in EXCEL and How?

Thanks
Mari
.

  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=IF(Condition,TrueAnswer,FalseAnswer)
An example:
=IF(OR(B2=0,B2="",A2=""),"",A2/B2)

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Mari P" <Mari wrote in message
...
Can you do "IF...THEN..."formulas in EXCEL and How? Thanks
Mari



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 04:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"