Create Advanced Formulas Flashcards
All “IFS” (as opposed to IF) functions are:
For AND conditions
Ex. “Provide total sales for all businesses in the ‘west’ whose sales are more than $100,000” would be an example of a SUMIFS. Both the condition of “west” and “more than $100,000” – written as “>100000” in an argument – would need to be met, and if they are, SUM the sales.
AND returns TRUE
if ALL conditions are met
OR returns True
If ANY conditions is met
Easier to select rows for functions
View –> Split
Date/Time function
To put a date or time together use :
DATE (month, day and year)
TIME (hour, minute, second).
To pull out a component of a date or time, or to serialize:
MONTH, DAY, YEAR, WEEKDAY, HOUR, MINUTE, SECOND.
NETWORKDAYS function
Excludes weekends
WORKDAY function
Excludes weekends and holidays
Query Editor
- Data
- New query
- From file
- Workbook
- Sheet 1
- Load/load to or edit
Load brings in all, edit allows choices.
How to edit what to import from query editor?
Edit –> select column – remove column
Edit –> merge queries/append queries/split column
“link” to query editor
Data –> connections group –> connections button
Vlookup:
- Don’t use named ranges on this exam unless told to do so (must use F4)
- Don’t include titles in table arrow
3. Named range: Ctrl + F3
4. True uses lowest # in rnage
Hlookup:
Same as VLookup but horizontal
Payment function
- Remember to divide APR by 12 if there are 12 monthly payments
Length of Loan in Years * 12 if there are monthly payments - FV - cash balance after payment is made
- Type - beginning of the month, type is = to 1
Index match
- Uses vlookup and hlookup functions simultaneously
always click on the array (tested) - Array = data
Match function
What specific range are you looking for
Use 0 for exact match
Match is dynamic; do not hard code so you can autofill
Fill down
Control + D
First day in Excel
1/1/1900
Acrrued interest
accrint()
Now function
Gives date+time
Today function
Gives only date
Data consolidate
Position –> all in same position on all worksheets
- Make sure all labels needed are on summary sheet
Data –> consolidate –> select first reference, then all remainder, then where you want labels
Consolidate: Category
Data –> Consolidate –> adjust all columns –> Check headings
Purpose of Goal Seek tool:
Asking Excel to find a solution for you in an output cell, based on changing inputs
Goal seek function:
- Check for Analysis toolpak in Data tab
- If not there, add Analysis toolpak
- “Set cell”
- Formula Cell; “To Value”
- Goal
- “Change cell”
How to see function in cell
F2
Scenario tool
Scenario allows you to create different “scenarios” by changing input cells – this way you don’t need to manually change the data on the worksheet every time you say “What if…”
Scenario Function
- Data tab
- What-if analysis
- Scenario manager
- input changes
- Run
Troubleshooting Formulas
Formulas → Formula Auditing
File → options → formula
Evaluating formulas are similar
Evaluate Formula
Pulls up calculations and steps through
Error Checking
Formulas –> Error Checking (in Formula Auditing)
Name Manager
Control F3
Charting: Selecting non continuously
Ctrl + Highlight
Adding column into chart
Design –> Select Data –> Add
Change Chart Style
Chart Tools –> Design –> hover over the bottom arrow –> select chart style
Chart: Adding trendline
Select data point → right click → select “add trendline”
Chart: Secondary Axis:
Change chart type → select secondary axis
Pivot Tables
Calculated Field: pivot table tools → analyze → field, items & sets → calc field
Right click, group, fill out settings
Right click, expand, select new field
Pivot Table slicer
Analyze –> Click slicer –> Select category
Remove slicer by clicking the x
Basically a filter
Create a calculation in the pivot table (e.g., 10% decrease
Analyze –> Fields, Items, & Sets –> Input Formula
GetPivotData
Press = + Select cell
Why use secondary axis?
When you have data ranges that use different number formats, such as whole numbers versus percentages (always between 0-1), or when the ranges represented are extremely different (thousands versus millions), using a secondary axis can help clarify your data
How to achieve secondary axis?
- If the chart is not created, select the data, and click the Combo Charts button in the Charts group
- If the chart is created, select the chart and use Change Chart Type in the design tab and click the All Charts tab, combo will be listed there.
- Select primary and secondary types and axis in the bottom of the dialog box.