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

basic training excel - advanced formulas and or

Forum home » Delegate support and help forum » Microsoft Excel Training and help » basic training excel - Advanced Formulas AND, OR

basic training excel - Advanced Formulas AND, OR

ResolvedVersion Standard

Ehsen has attended:
Excel Advanced course

Advanced Formulas AND, OR

Could you please post some notes on other formulas such as AND, OR to gain further knowledge of the subject.

RE: Advanced Formulas AND, OR

AND is usually used with the if statement, such as

=if(and(A1=1,B1=1),"yes","")

that's asking excel to look at A1 and B1 and if they both are 1, then display the word yes, else display nothing.

similarly, the or statement is best used with if.

=if(or(A1<500,A1>1000),"extreme","")

this is asking excel to look at cell A1 and if it's either below 500 or above 1000, return the word extreme, else display nothing.

Hope this helps

Paul

Excel tip:

Sum Up All the Values in A Column

If you want to quickly calculate the Summed values of all cells in a column in Excel 2003 normally you would use the SUM formula. (eg if you wanted to calculate the values in Column C rows 10 to 25) the formula would be:

=SUM(C10:C25)

However, if you keep adding values to column C you would keep having to modify the above SUM formula which can get quite annoying.

To get around this you can sum all the values in a column using the following formula:

=SUM(COLUMN:COLUMN)

Which, in our example, would be:

=SUM(C:C)

NOTE You cannot place this formula in column C, or else Excel 2003 will show a circular reference error.

The formula must be placed in any other column, EXCEPT the one being calculated.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.