Excel - Spreadsheet Modelling
- Worksheets and Workbooks
- Basic Techniques:
- Monte Carlo Simulation [TBD]
- Financial Functions [TBD]
Worksheets and Workbooks1. CtrlHome: Selects cell A1
2. CtrlEnd: Selects the cell at the intersection of the last-used column and last-used row on the worksheet
3. Page Up: Scrolls up one screen
4. Page Down: Scrolls down one screen
5. AltPage Up: Scrolls left one screen
6. AltPage Down: Scrolls right one screen
7. CtrlPage Up: Selects the previous worksheet
8. CtrlPage Down: Selects the next worksheet
9. CtrlTab: Moves to the next open Excel workbook
Ribbon1. [WINDOWS only] Alt : Pressing the Alt key once will allow you to quickly select a ribbon using its letter key
- 1. Cell Limitations: 1,048,576 rows by 16,384 columns
- 2. Block of cells is called Range.
- 3. Holding down Ctrl tells Excel that you want to jump to the end of the range.
- 4. Holding down Shift tells Excel to select all of the intermediate cells along the way.
- 5. CtrlA or Ctrl* i.e CtrlShift8 to Select All cells
- 6. F8 enables 'Extend Selection' mode, ShiftF8 enables 'Add Selection' mode. These could be used in a repeated fashion to select non contiguous modes.
- 7. Holding down Ctrl key after selecting a range lets you select another non contiguous range.
- 8. Cell selection: Name Box, F5 Goto Dialog Box -> Goto Special
- 9. Date formatting: Dates have equivalent numeric value. 1/1/1900 is the beginning of the Excel epoch, and that each date is 1 greater than the day before. Thus numeric values can be converted to dates.
- 9. Copying Formula: Double click bottom right square of an existing cell with a formula. Alternatively, one could copy a cell with formula and then paste it on desired range.
- 10. F4 Absolute addressing: $D$10 when copied remains the same across cells.
- 11. Autosum: Select a cell next to the numbers you want to sum, click Σ i.e "AutoSum" button.
- 12. Show formulas: Formulas -> Show Formulas
- 13. Conditional Formatting using new rules:
- 14. Pivot Table and Slicers for aggregating and slicing tabular data
- 15. Pivot Charts for generating charts for corresponding pivot tables
- 16. Charts are useful for data visualization. Charts can also be stored as templates and reused.
- 17. What-if annalysis and Data Tables
- 18. Goal Seek
- 19. Auditing: Trace decendents, Trance Precedents
- 20. F9 Formulas -> Evaluate formula
- 21. Excel Solver solves optimisation problems for given Objectives, Variables and Contraints
- 22. Ctrl T for creating a table
- 1. IF
- 2. Text functions: LEFT, RIGHT, MID, LEN, FIND, VALUE, and CONCATENATE
- 3. Data -> Text to Columns. Use width/delimiters to split text into columns
- 4. Text Concatenation =D4&"@gmail.com" --> firstname.lastname@example.org
- 5. ctrl+E : Flash fill - matches a pattern in adjacent cell to extract data. Flash Fill is not foolproof; sometimes it just does not get the pattern.
- 6. =TODAY() : Current Date ; =NOW() : Current Date and Time
- 7. Renaming ranges : Formulas -> Create from selection. Formulae can now be written in terms of cell names instead of coordinates like C5. This improves readability. Similar ease of names in formulas is seen when creating tables.
- 8. F3 : Using renamed ranges
- 9. Formulas -> Apply Names to replace newly created name ranges to formulas.
- 10. =VLOOKUP(...) : Fetch value in a table wrt matching value in adjacent column with some offset
- 11. =HLOOKUP(...) searches wrt vertical offset
- 12. =INDEX(...) function can be used to easily extract any entry from a rectangular array of cells
- 13. =MATCH(...) function can be used to locate a text string in a row or column. Returns index of the match.
- 14. =IFERROR(...) error trap
- 15. Rounding functions
- 16. COUNT(): numbers ; COUNTA(): numbers + text ; COUNTBLANK()
- 17. LARGE([range], k): kth largest number. Similarly- SMALL(), RANK()
- 18. VAR(): Variance; STDEV(): Standard deviation
- 19. RANK.EQ(): Ranks a given value wrt an array in asc/desc
- 20. COUNTIFS() and SUMIFS()
- 21. Data -> Remove Duplicates: Remove duplicates / Duplicate combinations in a given range
- 22. Data -> Sort: Sort a given range wrt column value/colors.
- 23. 3D formula: =SUM(Worksheet1:Worksheet2!A2)
- 24. Referencing tables =SUM(Table1[Column1])
- 25. Resolving Circular Dependencies: Excel options -> Formulas -> Enable iterative calculations (Gauss Seidel Iteration)
Monte Carlo Simulation [TBD]
Financial Functions [TBD]
Shortcuts1.ctrl+H : Find and Replace
2. ctrl+shift+1 : Number format (2 decimals)
3. ctrl+shift+2 : Time format
4. ctrl+shift+3 : Date format
TipsUsing ' before value will store value as a string in the cell
Last Updated: 26-24,20-18 June 2021