Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
katlawlor
 
Posts: n/a
Default How do I perform an IF function on Microsoft excel?

Can anybody tell me how I perform this fuction please?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default How do I perform an IF function on Microsoft excel?

The syntax of the IF function is

=IF(test,result_if_true,result_if_false)

where test is a comparison or expression that returns TRUE (or a
non-zero number) or FALSE (or zero), and result_if_true is the
result to be returned if test is TRUE and result_if_false is the
result to be returned if test is FALSE. E,g,

=IF(A110,"greater","not greater")

This will return the text "greater" if A110, otherwise it will
return the text "not greater".


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"katlawlor" wrote in
message
...
Can anybody tell me how I perform this fuction please?



  #3   Report Post  
Posted to microsoft.public.excel.misc
USAOz Services
 
Posts: n/a
Default How do I perform an IF function on Microsoft excel?

What's the problem?

Basically, the function is composed of 4 parts - the function name prefaced
by the = sign, an open parentenese, a "test" condition (what 'question' of
which you are trying to determine the truth of falseness) followed by a comma
and then the action to perform if the 'question' is true, followed by a comma
then the action to perform if the 'question' is false, and finally a closing
parentheses.

a simple example:

You want to test if a number in a refernce cell is greatrer or equal to
another value in (say) a calculated cell.

Let's say you have the value 1000 in cell A1 and as a result of calculations
(lets say daily sales of a salesperson) you have a value of 1200. You have
decided to pay a 10% bonus of any amount over 1000 (cell A1) to any
salesperson exceeding your daily sales target. In this case the salesperson
would receive a bonus of $20.00

In cell A1 type 1000

In cell C2 (or wherever) enter the salesperson's daily sales (1200)
In cell D2 enter the function:

=IF(C2A1,(c2-a1)*.2,"No bonus")

This means, test to see if C2 (salesperson's sales) is greater than the base
sales figure ($1000) and if it IS then find the amount by which it is
exceeded (Sales {C2} less base figure {A1}) and determine 20% of that
(multiply by .2). If the result of the test is less than or equal to $1000,
then display the text No bonus (note the use of the quoites in this
situation) - you can make the true/false actions anything you like.

Does that help?

D. Bruce
USAOz Services

"katlawlor" wrote:

Can anybody tell me how I perform this fuction please?

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
Microsoft Excel 2003 and Hyperion Retrieve with Excel 2000. Juan Angel Excel Discussion (Misc queries) 1 June 21st 05 09:55 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 05:56 PM.

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

About Us

"It's about Microsoft Excel"