if statements

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » IF statements

IF statements

resolvedResolved · Medium Priority · Version 2007

Saira has attended:
Excel Intermediate course

IF statements

I would like to have a recap on these.

RE: IF statements

Hi Saira,

Thank you for your question and welcome to the forum.

An IF function has 3 arguments:

Logical Test, True, False

e.g. If cell A1 has 20000 in it.

The Logical test might be whether A1>15000. So you are testing cell A1 and seeing whether it is greater than 15000.

If that condition is met, then you have to enter a value for the TRUE argument and if it isn't met(a1 is less than 15000) then you need to enter a value for the false argument.

e.g. =if(a1>15000,"Yes","No")

If you are typing the formula directly in the cell, if you are specifying text as the True and False arguments, then you need to place the text in speech marks as shown above.

Please check the link below:

http://www.homeandlearn.co.uk/excel2007/excel2007s6p1.html

I hope this helps.

Regards

Simon

Fri 19 Aug 2011: Automatically marked as resolved.


 

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips


Server loaded in 0.08 secs.