31
5 STEPS TO WRITING EXCEL FORMULA YOUR FIRST APPLYEXCEL .COM

How to Write your First Excel Formula in 5 Easy Steps

Embed Size (px)

Citation preview

Page 1: How to Write your First Excel Formula in 5 Easy Steps

5 STEPS TO

WRITINGEXCEL FORMULA

YOUR FIRST

APPLYEXCEL.COM

Page 2: How to Write your First Excel Formula in 5 Easy Steps

Are you having trouble…

Understanding Excel formulas? Getting that formula onto your spreadsheet? Getting used to Excel’s formula syntax?

You are not alone!

APPLYEXCEL.COM

Page 3: How to Write your First Excel Formula in 5 Easy Steps

Follow these 5 easy steps…

To write any Excel Formula

APPLYEXCEL.COM

Page 4: How to Write your First Excel Formula in 5 Easy Steps

Stick around until the end to get a printable cheatsheet of this presentation.

Page 5: How to Write your First Excel Formula in 5 Easy Steps

#1 Map out the formula on a piece of paper.

Page 6: How to Write your First Excel Formula in 5 Easy Steps

Draw a flow diagram of your formula using these symbols.

Inputs

Outputs

Operations

Connections

APPLYEXCEL.COM

Page 7: How to Write your First Excel Formula in 5 Easy Steps

InputsThe data you enter.

OutputsThe answer you plan on getting.

OperationsHow you get from input to output.

ConnectionsArrows that link all of the above together.

Inputs

Outputs

Operations

Connections

APPLYEXCEL.COM

Page 8: How to Write your First Excel Formula in 5 Easy Steps

Example 1:I would like to add 5 to 7.

APPLYEXCEL.COM

Page 9: How to Write your First Excel Formula in 5 Easy Steps

Example 2:Add three angles (30, 25, and 75) together and find the cosine of the sum.

APPLYEXCEL.COM

Page 10: How to Write your First Excel Formula in 5 Easy Steps

#2 Look for places where you can use a function to do the job.

Page 11: How to Write your First Excel Formula in 5 Easy Steps

Excel functions are built-in shortcuts that perform a set of pre-determined calculations.

There could be a function that already does what your formula needs to do.

f(x) CalculationsANSWE

R

APPLYEXCEL.COM

Page 12: How to Write your First Excel Formula in 5 Easy Steps

You can find a function in one of the following ways:

• Selecting a function from the dropdown lists on the Formula tab

• Clicking on the fx button next to the formula bar

• Searching Google for your formula’s keywords

APPLYEXCEL.COM

Page 13: How to Write your First Excel Formula in 5 Easy Steps

Look for parts of your flow diagram that can be replaced by a function, and mark it with a dashed block.

Remember to study the inputs and outputs of any function you choose.

APPLYEXCEL.COM

Page 14: How to Write your First Excel Formula in 5 Easy Steps

Example:

APPLYEXCEL.COM

Page 15: How to Write your First Excel Formula in 5 Easy Steps

#3 Type out your formula using the correct syntax.

Page 16: How to Write your First Excel Formula in 5 Easy Steps

Excel has a syntax (a standard for writing code) in which all formulas have to be written.

Every formula starts with an = (equal sign).

APPLYEXCEL.COM

Page 17: How to Write your First Excel Formula in 5 Easy Steps

Function syntax is composed of a name, a set of parentheses, and arguments (inputs) with which the function can perform calculations. Arguments are separated by commas.

=SUM(A1:A5, B1:B5)Equals sign

Function name Parenthesis

Arguments

APPLYEXCEL.COM

Page 18: How to Write your First Excel Formula in 5 Easy Steps

Mathematical operations are performed using the syntax on the right:

Operation Syntax What it means

Addition =A1+A2 A2 added to A1

Subtraction =A1-A2 A2 subtracted from A1

Multiplication =A1*A2 A2 multiplied with A1

Division =A1/A2 A2 divided into A1

Power =A1^A2 A1 raised to the power A2

APPLYEXCEL.COM

Page 19: How to Write your First Excel Formula in 5 Easy Steps

#4 Start from the answer and work your way backwards.

Page 20: How to Write your First Excel Formula in 5 Easy Steps

To avoid unnecessary complexity, start from the last step in your flow diagram and work your way backwards.

End

APPLYEXCEL.COM

Page 21: How to Write your First Excel Formula in 5 Easy Steps

In other words: First start typing the last step of your formula. Then move to the second-last step, and insert the code for the last step in the appropriate position. Continue until you reach the first step…

Last2nd

Last…

First

Start here!

APPLYEXCEL.COM

Page 22: How to Write your First Excel Formula in 5 Easy Steps

The final step will be the outermost function, and the first step the innermost function.

=COS()

=COS(RADIANS())

=COS(RADIANS(SUM()))

=COS(RADIANS(SUM(A1:C1)))

APPLYEXCEL.COM

Page 23: How to Write your First Excel Formula in 5 Easy Steps

Construct your formula carefully, using all of the following tools:

• Flow chart• Functions• Syntax• Remember to start from the back.

APPLYEXCEL.COM

Page 24: How to Write your First Excel Formula in 5 Easy Steps

And that’s it!

Formula done!

APPLYEXCEL.COM

Page 25: How to Write your First Excel Formula in 5 Easy Steps

#5 Replicate your formula.

Page 26: How to Write your First Excel Formula in 5 Easy Steps

When you have written your first formula, you would obviously want to use it elsewhere as well…

So you need to copy it.

CopyCopyCopyCopy

APPLYEXCEL.COM

Page 27: How to Write your First Excel Formula in 5 Easy Steps

You can copy your formula to another cell using any one of these methods:

• Select the cell, then use the copy and paste functions on the menu bar.

• Select the cell, then use the two keyboard shortcuts - Ctrl + C and Ctrl + V - to copy and paste, respectively.

• Copy the formula down by dragging.

Ctrl C

Ctrl V

APPLYEXCEL.COM

Page 28: How to Write your First Excel Formula in 5 Easy Steps

Copy by dragging is by far the most efficient way of copying cells.

Simply look for a square shape in the lower right hand corner of the cell. Drag it down to the desired position.

APPLYEXCEL.COM

Page 29: How to Write your First Excel Formula in 5 Easy Steps

Before copying cells, you should always consider:• Relative referencing• Absolute referencing

Read more about it here.

APPLYEXCEL.COM

Page 30: How to Write your First Excel Formula in 5 Easy Steps

Download the cheatsheet!Download a free cheatsheet that summarizes all the info in this article into a neat, printable format.

APPLYEXCEL.COM

Download Cheatsheet

Page 31: How to Write your First Excel Formula in 5 Easy Steps

THE END