Spreadsheet Tricks
Dashboards
 100+ Excel Dashboards
 Winners of 2014 dashboard competition.
Embedding Spreadsheets & Parts of Spreadsheets
Embed Google Spreadsheet
<html><iframe width='500' height='350' frameborder='0' src='https://docs.google.com/spreadsheet/ccc?key=0Aumujjc9cTZhdE92TExvcjU5NVZBbFk2Ul82dFI1ZUE&single=true&gid=0&range=J2%3AQ12&output=html&widget=true'></iframe></html>
 Sources
 See Also
Embed SkyDrive OneDrive Spreadsheet
<html><iframe width="650" height="450" frameborder="0" scrolling="no" src="https://skydrive.live.com/embed?cid=0D58D956AB4BC9E0&resid=D58D956AB4BC9E0%21117&authkey=AH7Glp3oB3WJ4Ag&em=2&AllowTyping=True&wdDownloadButton=True"></iframe></html>
Share it: Embed an Excel workbook on your web page or blog from OneDrive
Google Spreadsheets
Also See: User:Dave/Web_Hack_Notes_(NonWiki)#Google_Sheets_as_CMS
 Stepbystep guide to conditionally formatting a dropdown list in Google Sheets.
 Google Sheets do not support zebra stripes (yet) but you can use conditional formatting combined with a simple Google Formula to create a formatted table.
 Directly import tabular data from web pages and edit it inside a Google Spreadsheet.
 Example:
=ImportHTML("http://www.labnol.org/internet/tipsfortechstartups/19483/", "list", 2)
 Example:
 Imports data from a table or list within an HTML page.
 Example:
=IMPORTHTML("http://en.wikipedia.org/wiki/Demographics_of_India","table",4)
 Example:
 A powerpointlike presentation.
Link To Google Spreadsheets
 20171129: Editor's Note  Try this link: Go to cell A3 of Sheet2
 20171129: Editor's Note  Have not tested yet.
 20171129: Editor's Note  Have not tested yet. Solution is at bottom of list.
Fusion Tables
 Fusion Tables is an experimental data visualization web application to gather, visualize, and share larger data tables.
Array Formula In Google Spreadsheet
<html><iframe width='950' height='300' frameborder='0' src='https://docs.google.com/spreadsheet/pub?key=0Ap9dh6jmi4yndEp1Q1M4cXk0QTFOTmpRWW5mb25kNkE&output=html&widget=true'></iframe></html>
LibreOffice Calc
 This tutorial shows how to download and install the mysqlconnectorjavax.x.xbin.jar file in order to connect LibreOffice to MySQL.
Microsoft Excel
Excel AddIns
 The Timeslider is a historical data engine for Microsoft Excel. The addin allows you to store and retrieve historical data directly from the cells of your spreadsheet.
Keyboard Shortcuts
 Ever wondered what those Mac keyboard symbols mean and what they translate to? Find help here.
 Windows shortcuts in dark gray on the left, Mac shortcuts in white on the right.
 Download – List of 250 MsExcel Keyboard Shortcuts (PDF)
 Download – List of 250 MsExcelxlsx File (XLSX)
 There are many Excel shortcuts, but few are as versatile as the Paste Special command.
 MS Excel Keyboard Shortcuts:
Shown below is a list of the 10 most important Excel keyboard shortcuts you must know for analyzing data, writing quick formulas, formatting data, switching between sheets, etc.
 1. Shift + F10 – The Right Click pop up open
 Most of the time users suffer to have the right click shortcut while working on any database. By pressing shift + F10, you can open the right click menu. You can use up / down arrow keys to move to various options. The right arrow key is used to open flyout menu. Hit enter when you get to the item you want.
 2. Ctrl + 1 – Open “Format Cells” dialog box
 It is one of the most influential and time saving shortcuts in Excel. It enables the user to skip all the long procedure to format cells, charts, text boxes, etc. to make life easy.
 3. Ctrl + 5 – Applies or remove strikethrough
 We all make list on excel and wants to cross it off once it’s done. It gives us feel like we have finished our tasks. Select a cell or range and then press CTRL + 5 to apply strikethrough to the cell / range.
 4. Ctrl + 9 – Hide the complete row
 In Excel, move anywhere in a row you want to hide and then press CTRL + 9.The entire current row is hidden. You can also use Shift+Up arrow or Shift+Down arrow to select several rows.
 5. Ctrl + SHIFT + L – Turn on / off filter
 One of the powerful and useful shortcuts (CTRL + SHIFT + L) while working on large data set especially when you set few filters on, and then want to return back to the full view of data clearing all filters.
 6. Ctrl + * – Select the current region
 Select the current range by pressing CTRL + asterisk key, which is the complete data set, in all directions from the current cell until Excel hits the edge of the worksheet.
 7. F4 – To repeat last action
 F4 is one of the best shortcuts in Excel and there are various ways to use it. It saves the user from keystrokes and mouse involvement. If you are not editing a cell, it repeats the last command or action. For example, if you have just deleted a row and you want to delete another row, simply select the range where you want to delete the next row and press F4.
 8. F4 – Set cell references or add dollar sign to a reference
 F4 cycles through all 4 types of cell references (absolute, mixed reference (2x) and relative). It helps to change the reference style from relative (A1) to absolute ($A$1). It is very useful when you want to take formula from one cell to other cell but want to keep the same reference in the formula.
 9. Ctrl + T – To Insert a Table
 In Excel, Tables are very flexible and easy to work. Especially to convert bunch of data into table.To make it in table, select any cell in the spreadsheet (with our without data) and press CTRL+ T. If your spreadsheet contains header cells, you might need to check the My Table Has Headers option.
 10. Shift + F2 – Insert / edit comment
 This shortcut will help you to add or edit the comment easily.
Learn Excel
 Includes links to resources, like the following:
  ExcelRibbon.Tips.Net  Microsoft Excel Tips, Tricks, and Ideas!
  Duke's Fuqua School of Business  Ecklund Excel Review  Excel Review Materials
 Filtering is a simple, however, amazing & powerful way to analyze data. Advance filter are quite easy to use. Here’s how you can use Excel’s advanced filtering capabilities.
 Advance Filter is the most powerful feature of Excel. The advanced filtering feature in Excel allows you to quickly copy unique information from one data list to another. It allows the person to quickly remove duplicates, extract records that meet certain criteria. It works great when we use wildcards, within 2 date criteria.
Miscellaneous Tricks
 For instance, to separate date from full path:
(e.g. Directory\SubDirectory\12272016 to Directory\SubDirectory\ 12272016) Extract Path: =LEFT(A1,MIN(FIND(0,SUBSTITUTE(A1,{1,2,3,4,5,6,7,8,9},0)&0))1)
 Extract Date: =SUBSTITUTE(A1,B1,"")
 Wrap String in Double Quotes: =""""&A2&""""
 Wrap String in Single Quotes: ="'"&A2&"'"
 As we all known, the Concatenate function in Excel can help us to combine multiple cells into one cell, but, sometimes, you want to do the opposite of Concatenate function, it means not combine cells, but split cell value into multiple separated cells. Have you ever thought of reversing the Concatenate function in Excel?
 Example: =TRIM(MID(SUBSTITUTE($A2,",",REPT(" ",999)),COLUMNS($A:A)*999998,999))
 I can get the pictures to "float" around my worksheet, but I need to put them into a cell. How can I do this?
Find Common Text Value From Multiple Columns
 What it does: Finds the common text value across multiple columns that matches the corresponding value in the selected column. For instance, if you're trying to find a text value in Column C that has a corresponding match in both Columns A & B, you could use a formula like the one shown below.
 Example:
=MIN(MAX(($A$2:$A$53=$C2)*1),MAX(($B$2:$B$44=$C2)*1))
 Example:
 Array Formula: CTRL + SHIFT + ENTER
Find Value; Return Column Header
 What it does: Finds the average of each row, then determines which column header comes closest to the average and returns that column's header.
 Example:
=INDEX(B$1:E$1,MATCH(MIN(ABS(B2:E2AVERAGE(B2:E2))),ABS(B2:E2AVERAGE(B2:E2)),0))
 Example:
 Array Formula: CTRL + SHIFT + ENTER
What it does: Finds the minimum in a row and returns the text that appears in that column's header.
 Example:
=INDEX($B$1:$E$1,MATCH(MIN(B2:E2),B2:E2,0))
 Example:
 What it does: Finds a value in a row and returns column header.
 Example:
=LOOKUP(2,1/($B2:$E2=$G2),$B$1:$E$1)
(Dave's modification.)  Example:
=LOOKUP(2,1/($D2:$Z2="x"),$D$1:$Z$1)
(One of the original source formulas.)
 Example:
 Example:
=INDEX($B$1:$E$1,MATCH(H2,INDEX($B$2:$E$26,MATCH(G2,$A$2:$A$26),)))
 Example:
Links
 Example: While text box is selected, input a formula like
=Contractors!$C$2
to link the text box to the content of cell C2 on the "Contractors" tab.
 Moving worksheets containing formulas without linking back to source document.
Notes & Comments
 Use Excel's data validation feature to share meaningful information about specific cells with users.
 The N() function comes in handy if you want comments embedded within the formula for your own notes, reference, etc.
Example:=SUM(E82:E83)+N("Tutorial found here: http://lifehacker.com/addcommentstoaformulainexcelforyourfuturerefe510113024")
Working With Text
 Describes the formula syntax and usage of the TEXT function in Microsoft Office Excel. Excel's TEXT function returns a value converted to text with a specified format.
 One of many video lessons from Contextures Inc..
Calculating Numbers in Cells Containing Text & Numbers
A  B  C  D  E  

1  String  Result  What It Does  Formula  Array? 
2  5 red 12 yellow 10, green 5 9  77  Sums all numbers found in cells A2:A4. Ignores text.  {=SUM(IFERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE($A$2:$A$4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1,0))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
3  red 3, blue 9  12  Sums just the numbers in A3.  {=SUM(IFERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE($A3," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1,0))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
4  yellow 21, blue 3  24  Sums just the numbers in A4.  {=SUM(IFERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE($A4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1,0))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
5  Explanation: The formulas shown above are array formulas. After typing an array formula into the formula bar, finish by pressing CTRL+Shift+Enter (PC) or CMND+Shift+Enter (Mac). Note: The formula bar indicates that this is an array formula by enclosing it in curly braces { }. Do not type these yourself. They disappear whenever you edit the formula, making it necessary to press CTRL+Shift+Enter (PC) or CMND+Shift+Enter (Mac) whenever you edit the formula. The curly braces { } in the examples shown above are displayed only to show what the formula looks like as it appears in the formula bar. 
A  B  C  D  E  

1  String  Result  What It Does  Formula  Array? 
2  5 red 12 yellow 10, green 5 9  77  Sums all numbers found in cells A2:A4. Ignores text.  {=SUMPRODUCT(IF(ISERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE($A$2:$A$4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1),0,SUBSTITUTE(TRIM(MID(SUBSTITUTE($A$2:$A$4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
3  red 3, blue 9  12  Sums just the numbers in A3.  {=SUMPRODUCT(IF(ISERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1),0,SUBSTITUTE(TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
4  yellow 21, blue 3  24  Sums just the numbers in A4.  {=SUMPRODUCT(IF(ISERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE(A4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1),0,SUBSTITUTE(TRIM(MID(SUBSTITUTE(A4," ",REPT(" ",100)),COLUMN($1:$1)*10099,100)),",","")*1))}

Yes CTRL+Shift+Enter (PC) CMND+Shift+Enter (Mac) 
5  Explanation: The formulas shown above are array formulas. After typing an array formula into the formula bar, finish by pressing CTRL+Shift+Enter (PC) or CMND+Shift+Enter (Mac). Note: The formula bar indicates that this is an array formula by enclosing it in curly braces { }. Do not type these yourself. They disappear whenever you edit the formula, making it necessary to press CTRL+Shift+Enter (PC) or CMND+Shift+Enter (Mac) whenever you edit the formula. The curly braces { } in the examples shown above are displayed only to show what the formula looks like as it appears in the formula bar. 
Pivot Tables
 This course includes one selfpaced lesson and one practice session for handson experience.
SQL & Excel
 Excel Lesson 31  Retrieve Data From MySQL Database Using MS Query (YouTube tutorial.)
 Very good tutorial! Learn how to retrieve data from MySQL Database using Microsoft Query, Join multiple tables & link the exported data to a drop down list to retrieve data dynamically based on the value of drop down list.
 Additional Excel video lessons from this instructor: Excel & VBA Video Tutorials
 Excel Lesson 34  Import Data Using SQL Queries & Stored Procedures From SQL Server To Excel (YouTube tutorial.)
 Learn How To Import Data Using SQL Queries & Stored Procedures From SQL Server To Excel. Database connectivity can be a very powerful tool, with which you can get real time refreshable data which you can use for data analysis, creating dashboards etc. This method does not use VBA Coding and hence can be learnt by any excel user who does not know VBA Programming.
 Data Analysis Using SQL and Excel (Book  Large, slowtodownload PDF.)
 Connecting to MySQL from Excel 2007 (MySQL Forums)
 How to connect ms excel2007 with mysql. (StackExchange)
 To connect Excel to MySQL, you need ODBC driver. This StackExchange answer combines two of the submitted answers for the solution.
 Run SQL on excel table (StackExchange)
Using SQL Statements in Excel
 Tricks for generating SQL statements in Excel (StackExchange)
 Q: Do you have any tricks for generating SQL statements, mainly INSERTs, in Excel for various data import scenarios?
 A: (Spaces added for visibility  remove before inserting.)
=CONCATENATE("insert into table (id, name) values (",C2,",' ",D2," ');")
 Here is another view:
=CONCATENATE("insert into table (id, date, price) values (",C3,",'",D3,"',",B3,");")
 Generate sql insert script from excel worksheet (StackExchange)
 Q: I have a large excel worksheet that I want to add to my database. Can I generate an SQL insert script from this excel worksheet?
 A: You can use Excel to create insert statements:
="INSERT INTO table_name VALUES('"&A1&"','"&B1&"','"&C1&"')"
Quick Edit Sheets
Moved this section to: Office Productivity Hacks#Quick Edit Sheets.
OpenSource Tools
 JSpreadsheets compiles the best opensource spreadsheets and data grids written in JavaScript. It helps you choose the most suitable component for your project.
See Also
References
 Career Portfolio Tips
 Computer Productivity Hacks
 Data Analysis
 Internet of Things (IoT)
 Journalism Tools
 Mobile Apps
 Office Productivity Hacks
 Social Networking Tips
 Spreadsheet Tricks
 Telecom Tips
 .US Locality Domains
 User:Dave/Admin Notes
 User:Dave/Web Hack Notes (NonWiki)
 User:Dave/Wikis In The Enterprise