Ctrl+Shift+Enter Mastering Excel Array Formulas
eBook - PDF

Ctrl+Shift+Enter Mastering Excel Array Formulas

Do the Impossible with Excel Formulas Thanks to Array Formula Magic

  1. 328 pages
  2. English
  3. PDF
  4. Available on iOS & Android
eBook - PDF

Ctrl+Shift+Enter Mastering Excel Array Formulas

Do the Impossible with Excel Formulas Thanks to Array Formula Magic

About this book

Designed with Excel gurus in mind, this handbook outlines how to create formulas that can be used to solve everyday problems with a series of data values that standard Excel formulas cannot or would be too arduous to attempt. Beginning with an introduction to array formulas, this manual examines topics such as how they differ from ordinary formulas, the benefits and drawbacks of their use, functions that can and cannot handle array calculations, and array constants and functions. Among the practical applications surveyed include how to extract data from tables and unique lists, how to get results that match any criteria, and how to utilize various methods for unique counts. This book contains 529 screen shots.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Ctrl+Shift+Enter Mastering Excel Array Formulas by Mike ExcelisFun Girvin in PDF and/or ePUB format, as well as other popular books in Computer Science & Desktop Applications. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Preface/forward/intro
  2. Title page
  3. Copyright page
  4. First chapter
  5. _GoBack
  6. Ctrl+Shift+Enter: Mastering Excel Array Formulas
  7. Dedications
  8. About the Author
  9. Acknowledgements
  10. Introduction
  11. Why in the world would you read a book about array formulas?
  12. Why are array formulas important tools to have in your Excel toolkit?
  13. Why would Mike excelisfun Girvin write a book about array formulas?
  14. About the Book
  15. Files That Accompany the Book
  16. The Ctrl+Shift+Enter: Mastering Excel Array Formulas DVD
  17. Who This Book Is For
  18. Special Formatting of Cells with Formulas, Labels, and Raw Data
  19. Remembering the Old Conditional Sum Wizard
  20. Chapter 1: Formula Basics
  21. Excel Files
  22. What This Book Assumes
  23. Excel’s Golden Rule
  24. Formula Elements
  25. Math Operators
  26. Comparative Operators
  27. Types of Formulas
  28. How Formulas Calculate: Order of Precedence in Excel
  29. Number Formatting Is a Façade
  30. Default Alignment for Data in Excel
  31. Chapter Summary
  32. Chapter 2: Introduction to Array Formulas
  33. Excel Files
  34. What Is an Array?
  35. The Types of Arrays in Excel
  36. What Is An Array Formula?
  37. Performing an Operation on an Array of Items Rather Than on Single Items
  38. First Example: Single-Cell Array Formula or Helper Column?
  39. Using the "Evaluate Formula Element" Trick to Show the Resultant Array
  40. Entering an Array Formula into a Cell
  41. SUMPRODUCT Array Operations
  42. Comparing SUMPRODUCT and SUM for Array Calculations
  43. Using a Helper Column or a Single-Cell Array Formula
  44. Advantages and Disadvantages of Array Formulas
  45. Calculation Time for Array Formulas and Large Data Sets
  46. Chapter Summary
  47. Chapter 3: Math Array Operations
  48. Excel Files
  49. Array Operations
  50. Math Operations
  51. A Formula to Calculate Total Net Cost for a Group of Products
  52. Calculating Net Cost from Four Series Discounts in Four Separate Cells
  53. Creating Your Own Array Formulas
  54. How You Can Structure Array Operation with an Operator
  55. Chapter Summary
  56. Chapter 4: Comparative Array Operations and Aggregate Calculations with One or More Conditions
  57. Excel Files
  58. Comparative Operations
  59. Aggregate Calculations Based on One or More Conditions
  60. Using an IF Function to Select Items in An Array Based on one condition
  61. Understanding Database Functions
  62. Should You Use the DMIN Function or the MIN/IF Array Formula?
  63. PivotTables
  64. Should You Use a PivotTable or an Array Formula?
  65. Using the IF Function to Select Items in an Array Based on Multiple Criteria
  66. MAX Calculation with Two Criteria, Using Two IF Functions and Two Comparative Operators
  67. MIN Calculation with the NOT Condition and the Equating Condition
  68. The AGGREGATE Function Array Argument
  69. The IF Function Ctrl+Shift+Enter Trump Rule
  70. Should You Use AGGREGATE and Boolean Conditional Calculation or MIN/IF/IF?
  71. Standard Deviation IF
  72. Filtering Values Inside a Formula
  73. Comparing Aggregate Calculations with Criteria
  74. Timing the Formulas in This Chapter
  75. Chapter Summary
  76. Chapter 5: Join Array Operations
  77. Excel Files
  78. Join Operation
  79. Two Lookup Values for Creating a Cross-Tabulated Report
  80. Using the DGET Function for a Multiple-Criteria Lookup
  81. Using a Helper Column to Speed Up Formula Calculation Time for Two Value Lookup
  82. Using a PivotTable for Two-Value Lookup
  83. Sorting by Two Columns and Using an Approximate Match
  84. LOOKUP Function Arguments: Array Operations Without Ctrl+Shift+Enter
  85. A Sorted Helper Column
  86. The INDEX Function Array Argument: Array Operations Without Ctrl+Shift+Enter
  87. Comparing Two-Value Lookup Solutions: Join Array Formula, DGET, Helper Column, and PivotTable
  88. Chapter Summary
  89. Chapter 6: Function Argument Array Operations
  90. Excel Files
  91. Function Argument Operation
  92. Counting All Characters in a Column with a Function Argument Array Operation
  93. Lookup Addition: Using SUMPRODUCT and SUMIF When a Lookup Table Is Not Sorted
  94. Lookup Addition: Using SUMPRODUCT and LOOKUP When the Lookup Table Is Sorted
  95. Timing the Formulas in This Chapter
  96. Comparing SUMIF and LOOKUP for Lookup Addition
  97. Chapter Summary
  98. Chapter 7: Array Constants
  99. Excel Files
  100. Array Constants to Hard Code Values into Formulas
  101. Column Array Constants (Vertical Array Constants)
  102. Row Array Constants (Horizontal Array Constants)
  103. Table Array Constants (Two-Way Array Constants)
  104. Array Syntax Rules
  105. Using SUM and SMALL to Add the Three Lowest Scores, Excluding Ties
  106. Using SUM and LARGE to Add the Three Largest Scores, Excluding Ties
  107. A Formula for Dynamically Adding the Top n Values
  108. Using ROW and INDIRECT for a Dynamic Variable-Length Array of Sequential Numbers
  109. Excel Table Feature for Adding the Top Three Values
  110. Calculating Net Cost from Four Series Discounts in a Single Cell
  111. Hard Coding Array Constants into VLOOKUP to Save Space
  112. Using Defined Names to Store Array Constants
  113. VLOOKUP col_index_num with an Array Constant
  114. Math and Comparative Array Operations Using Array Constants
  115. Comparing Solutions for Adding the Smallest or Largest n Values
  116. Chapter Summary
  117. Chapter 8: Array Formulas That Deliver More Than One Value
  118. Excel Files
  119. Delivering a Single Result or an Array of Results with an Array Formula
  120. Array Formulas That Deliver More Than One Item to More Than One Cell
  121. Creating an Array of Sequential Numbers: ROW(range)-ROW(FirstCellInRange)+1
  122. Why ROW(range)-ROW(FirstCellInRange)+1 Is Useful
  123. Establishing a Pattern
  124. Holding Down Ctrl While Moving the Cursor
  125. Highlighting a Number and a Blank Cell
  126. Using Fill Series
  127. Formula Number Incrementors: Non-Array Formulas to Increment Sequential Numbers Vertically or Horizontally
  128. Using Formula Number Incrementors and INDEX to Display a Table in a Single Column
  129. Array Constants in Cells for a VLOOKUP Table
  130. Using Ctrl+Shift+Enter on a Formula That Does Not Contain a Direct Array Operation
  131. Timing the Formulas in This Chapter
  132. Chapter Summary
  133. Chapter 9: A First Look at Array Functions: TRANSPOSE, MODE.MULT, and TREND
  134. Excel Files
  135. Array Formulas That Deliver an Array of Results
  136. Array Functions
  137. The TRANSPOSE Array Function
  138. Avoiding Zeros from Empty Cells When Using TRANSPOSE, IF, and ISBLANK
  139. Null Text Strings
  140. MODE Calculations
  141. The MODE.MULT Array Function
  142. Extracting Modes, One at a Time: COUNT, IF, ROWS, INDEX, and MODE.MULT
  143. Extracting Modes, One at a Time: IFERROR, ROWS, INDEX, and MODE.MULT
  144. Using IF Instead of IFERROR to Reduce Formula Calculation Time for Data Extraction Formulas
  145. Efficient Use of the IFERROR Function
  146. Using PivotTable to find modes.
  147. Comparing Calculating Modes Solutions
  148. Using the TREND Array Function to Estimate Many y Values in Linear Model
  149. Comparing SLOPE and INTERCEPT, FORECAST, and TREND
  150. Timing the Formulas in This Chapter
  151. Chapter Summary
  152. Chapter 10: The Amazing SUMPRODUCT Function (and SUMIFS, Too)
  153. Excel Files
  154. SUMPRODUCT and the SUMIF, SUMIFS, COUNTIF, and COUNTIFS Functions
  155. The Amazing and Versatile SUMPRODUCT Function
  156. Parameters for Using the SUMPRODUCT Function
  157. Multiplying Two or More Arrays with the Same Dimensions and Then Adding
  158. Multiplying Three Ranges with Different Dimensions and Then Adding
  159. Adding an Array Operation’s Resultant Array: Just the SUM Part
  160. When to Use SUMPRODUCT to Count or Add with Multiple Criteria
  161. Converting TRUEs and FALSEs to Ones and Zeros, Usually with Double Negatives
  162. Timing the Conversion of TRUEs and FALSEs to Ones and Zeros
  163. Adding with Three Criteria: SUMIFS Instead of DSUM or SUMPRODUCT
  164. Timing the SUMIFS, DSUM, and SUMPRODUCT Functions
  165. Comparative Operator Syntax Differences for SUMIFS, DSUM, and SUMPRODUCT
  166. Workbook References: SUMIFS and the Like Can’t, but SUMPRODUCT Can
  167. Counting How Many Friday the 13ths Fall Between Two Dates
  168. Comparing Methods for Counting or Adding with Criteria
  169. IF Inside SUMPRODUCT
  170. Chapter Summary
  171. Chapter 11: Boolean Logic: AND Criteria and OR Criteria
  172. Excel Files
  173. Boolean Data
  174. Boolean Math: AND Criteria and OR Criteria
  175. AND Criteria
  176. Multiplication, Division, and the IF Function for a Boolean Array Formula AND Criteria
  177. Comparing Multiplication, Division, and the IF Function for Boolean Array Formula AND Criteria
  178. OR Criteria: Be Careful Not to Double Count!
  179. Counting with an OR Logical Test That Cannot Get More Than One TRUE
  180. Timing Counting Formulas for an OR Logical Test That Cannot Get More Than One TRUE
  181. Comparing Formulas to Count with an OR Logical Test That Cannot Get More Than One TRUE
  182. Using a Formula to Count with an OR Logical Test That Can Get More Than One TRUE
  183. Timing Counting Formulas for an OR Logical Test That Can Get More Than One TRUE
  184. Comparing Formulas to Count with an OR Logical Test That Can Get More Than One TRUE
  185. OR Criteria for Adding, Averaging, and Finding min or max
  186. Using AND Criteria and OR Criteria in the Same Formula: OR Logical Test Cannot Get More Than One TRUE
  187. Using AND Criteria and OR Criteria in the Same Formula: OR Logical Test Can Get More Than One TRUE
  188. Filter, Advanced Filter, and PivotTables Can Handle OR Criteria
  189. Chapter Summary
  190. Chapter 12: When Is an Array Formula Really Needed?
  191. Excel Files
  192. Selecting the Fastest-Calculating Function or Formula
  193. Counting Dates When Criteria Is Text: TEXT and SUMPRODUCT or COUNTIFS?
  194. Timing Formulas to Count Dates with Data Mismatch
  195. Adding Yearly Sales with Year Criteria Mismatched Against Serial Dates: SUMPRODUCT, SUMIFS or SUMIF?
  196. Timing Formulas to Add Yearly Sales with Year Criteria Mismatched Against Serial Dates
  197. Chapter Summary
  198. Chapter 13: Dynamic Ranges with the INDEX and OFFSET Functions
  199. Excel Files
  200. Dynamic Ranges
  201. Creating Dynamic Ranges with Formulas
  202. Volatile Functions
  203. Using the Excel Table Feature to Create Dynamic Ranges
  204. INDEX: Formulas to Look Up a Column or Row
  205. INDEX-Delivered Ranges Usually Do Not Require Ctrl+Shift+Enter
  206. Formulas for Dynamic Ranges to Handle Expanding and Contracting Ranges
  207. MATCH: Determining the Last Relative Position in a Data Set
  208. INDEX and MATCH Functions: Retrieving the Last Item in a Range
  209. Using INDEX and MATCH to Create Dynamic Ranges That Expand and Contract
  210. Important Points to Consider for Dynamic Range Formulas
  211. Defined Name Dynamic Range Formulas
  212. A Formula for a Dynamic Table When There Are Data Inconsistencies
  213. Using a Dynamic Range to Define a Table Within a Table: OFFSET or INDEX?
  214. Comparing OFFSET and INDEX for Creating Dynamic Ranges
  215. Charts with Defined Name Dynamic Range Formulas
  216. Using a PivotTable to Create a Dynamic Chart
  217. Using a Dynamic Range to Always Get the Last Five Numbers in a Column
  218. Using a Dynamic Range to Pick Up Only Values Entered Since the Last Text Entry in the First Column
  219. Chapter Summary
  220. Chapter 14: Array Formula Efficiency Rules
  221. Where You Have Been and Where You Are Going
  222. Chapter 15: Extracting Data, Based on Criteria
  223. Excel Files
  224. Mega-Array-Formulas
  225. Extracting Data (Records) from a Table, List, or Database
  226. Using Filter and AutoFilter to Extract Data
  227. Using Advanced Filter for Extracting Records
  228. Why Formulas for Extracting Records Are So Complicated
  229. Using a Non-Array Formula with a Helper Column
  230. Using a Helper Column with AND Criteria and INDEX and MATCH Lookup
  231. Using Helper Cells
  232. Using a Helper Column, OR Criteria, and VLOOKUP as a Lookup Function
  233. Using a Helper Column and AND and OR Criteria to Extract Only Some of the Columns of Data with INDEX and MATCH
  234. Using a Helper Column with AND and OR Criteria to Extract Data and Display Horizontally
  235. Creating an Array of "Matched Record" Relative Positions Inside a Formula
  236. Using an Array Formula for Extracting Data Using SMALL, IF, and INDEX Functions and AND Criteria
  237. Timing IF and IFERROR for Array Formulas That Extract Data
  238. Comparing Formula Calculation Time for a Helper Column and the SMALL IF for Array Formulas That Extract Data
  239. Using an Array Formula for Extracting Data Using AGGREGATE, Boolean Math and INDEX, and AND Criteria
  240. Timing SMALL and AGGREGATE for Array Formulas That Extract Data
  241. Returning Multiple Items from One Lookup Value
  242. Extracting Data with OR Criteria from a Single Column: Boolean or MATCH?
  243. Timing Boolean OR Addition and ISNUMBER/MATCH for Array Formulas That Extract Data
  244. Extracting Data with OR Criteria Operating on More Than One Column and AND Criteria
  245. Extracting Data with OR and AND Criteria, Including Numbers Divisible by 5
  246. Extracting Data Items in List 2 That Are Not in List 1: Comparing Two Lists
  247. Helper Columns in the Data Extract Area
  248. Dynamic Range Inside Array Formula to Extract Records
  249. Comparing Methods for Extracting Data
  250. Some Key Concepts for Data Extraction Formulas
  251. Chapter Summary
  252. Chapter 16: The FREQUENCY Array Function
  253. Excel Files
  254. Array Functions from Earlier Chapters
  255. The FREQUENCY Array Function: Amazing, Powerful, and Versatile
  256. Details of How the FREQUENCY Array Function Works
  257. Need Horizontal? Use TRANSPOSE Wrapped Around FREQUENCY
  258. Empty Cells, Text, and Duplicate Bin Values
  259. Creating Unambiguous Labels for Users
  260. Counting Between Upper and Lower Values: FREQUENCY, COUNTIF, or COUNTIFS?
  261. Chapter Summary
  262. Chapter 17: Unique Counting Formulas and the Power of the FREQUENCY Function
  263. Excel Files
  264. Unique Lists
  265. Using a Single-Cell Formula to Count Unique Numbers: FREQUENCY or COUNTIF?
  266. Timing FREQUENCY and COUNTIF Unique Counting Formulas for Numbers
  267. Using Single-Cell Formulas to Count Unique Text or Mixed Data Items: FREQUENCY or COUNTIF?
  268. Timing FREQUENCY and COUNTIF for Text or Mixed Data Unique Counting Formulas
  269. What if There Are Empty Cells in the Range?
  270. Using a Single-Cell Formula to Count Unique Items with More Than One Condition
  271. What About Wildcards?
  272. Comparing Unique Counting Methods: FREQUENCY, COUNTIF, Helper Columns, PivotTables, and Advanced Filter
  273. Using Helper Column to Count Unique Items
  274. Chapter Summary
  275. Chapter 18: The MMULT Array Function
  276. Excel Files
  277. MMULT Array Function
  278. Using a Formula for Total Costs: MMULT
  279. Using a Formula to Calculate Weighted Average: MMULT
  280. Creating a Multiplication Table: MMULT
  281. Finding the Expected Return for a Portfolio of Stocks: MMULT
  282. Parameters for the MMULT Array Function
  283. The MINVERSE and MUNIT Array Functions
  284. Solving Systems of Equations Using MMULT
  285. Using a Single-Cell Formula for Standard Deviation for a Portfolio of Stocks
  286. Chapter Summary
  287. Chapter 19: Extracting Unique Lists and Sorting Formulas
  288. Excel Files
  289. Formulas to Do the Impossible
  290. Extracting Unique Lists from Lists or Tables with Duplicates
  291. Advanced Filter: Extracting a Unique List from a Single Column
  292. Advanced Filter: Extracting Unique Records with Criteria
  293. PivotTable: Extracting a Unique List from a Single Column
  294. Helper Column Formula: Extracting a Unique List from a Single Column
  295. Array Formula: Extracting a Unique List from a Single Column, Using SMALL
  296. Array Formula: Using a Dynamic Range and Extracting a Unique List from a Single Column
  297. Creating a Unique List Formula for a Data Validation Drop-Down List
  298. Treating Wildcards as Characters
  299. Using a Helper Column or an Array Formula to Extract Unique Records with Criteria
  300. Dynamic Formulas to Extract Customer Names and Subtotals from a Transactional Data Set
  301. Formulas for Sorting
  302. Formulas for Sorting Numbers
  303. Using a Helper Column Formula to Sort (Ascending) Records Based on a Numeric Column
  304. Using an Array Formula to Sort (Ascending) Records Based on a Numeric Column
  305. Using a Formula to Extract the Top Three Scores and Names Associated with Scores (Including Ties)
  306. Using a Helper Column Formula to Sort (Ascending) Records Based on a Text Column
  307. Using an Array Formula to Extract a Unique List and Sort Mixed Data
  308. Chapter Summary
  309. Chapter 20: Conditional Formatting with Array Formulas
  310. Excel Files
  311. Conditional Formatting with Formulas, Including Array Formulas
  312. Chapter Summary
  313. Chapter 21: Data Tables
  314. Excel Files
  315. Data Tables
  316. Using One-Variable Data Tables for One-Formula What-If Analysis
  317. Using One-Variable Data Tables to Replace Many Formulas with One Formula
  318. Using Two-Variable Data Tables
  319. Chapter Summary
  320. Chapter 22: The LINEST Array Function
  321. Excel Files
  322. An Array Function for Many Statistics at Once
  323. Using LINEST to Deliver Slope and Intercept to a Horizontal Range
  324. Using LINEST to Deliver Slope and Intercept to a Vertical Range
  325. Using LINEST to Deliver 10 Statistics for One x Variable
  326. Using a Formula to List LINEST Table Results in a Vertical Column
  327. Using LINEST to Deliver 12 Statistics for Two x Variables (Multiple Regression)
  328. Using LINEST to Deliver 14 Statistics for Three x Variables (Multiple Regression)
  329. Chapter Summary
  330. Chapter 23: Can You Figure Out How the Huge Array Formula Works?
  331. Figuring Out How an Array Formula Works
  332. Looking Up the First Item in a Row with Empty Cells
  333. A Formula to Look Up Column Headers Associated with the First Non-empty Cell in a Row
  334. A Formula to Look Up a Column and Then Match a Condition in the Column and Extract Data
  335. A Formula to Look Up the Longest Word in a Column
  336. A Formula to Calculate Percentile with One Condition
  337. A Formula to Rank Values with One Condition
  338. A Formula to Calculate the Maximum Two-Day Running Total
  339. A Formula to Calculate Net Cost Equivalent, Based on Variable-Length Series Discounts
  340. A Formula to Maximize Consecutive Appearances in Bowl Games, Win or Lose
  341. An Array Formula Cannot Calculate on an Entire Column
  342. Using Defined Names to Avoid Ctrl+Shift+Enter
  343. Chapter 24: Three Bonus Examples
  344. Array Formula 1: Dynamic Cross Tabulated Counting Formula with AND Criteria & OR Criteria in the same formula.
  345. Array Formula 2: List All Modes in a Single Cell
  346. Array Formula 3: Sorted List of Modes in a Single Cell
  347. Conclusion
  348. Appendix: Array Formula Recap
  349. Index