All Projects → mikeprivette → exceltricks

mikeprivette / exceltricks

Licence: other
My commonly used Excel and Google Sheet formulas and tricks

Projects that are alternatives of or similar to exceltricks

datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (-70.11%)
Mutual labels:  excel
laravel-xlswriter
an excel export/import tool for laravel based on php-xlswriter
Stars: ✭ 54 (-37.93%)
Mutual labels:  excel
xlsxd
A thin wrapper around libxlsx to write excel spreadsheets
Stars: ✭ 16 (-81.61%)
Mutual labels:  excel
ByteScout-SDK-SourceCode
ALL source code samples for ByteScout SDKs and Web API API products.
Stars: ✭ 24 (-72.41%)
Mutual labels:  excel
sense-export
Just a simple button to export data in your Qlik Sense applications.
Stars: ✭ 28 (-67.82%)
Mutual labels:  excel
web-pivot-table
A feature-rich JS pivot grid library for creating interactive reports. Integrates with any front-end technology
Stars: ✭ 35 (-59.77%)
Mutual labels:  excel
database-js
Common Database Interface for Node
Stars: ✭ 58 (-33.33%)
Mutual labels:  excel
ExcelUtil
Excel utility for Java to read and write data in declarative way.
Stars: ✭ 27 (-68.97%)
Mutual labels:  excel
Sylvan.Data.Excel
The fastest .NET library for reading Excel data files.
Stars: ✭ 65 (-25.29%)
Mutual labels:  excel
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+1808.05%)
Mutual labels:  excel
customer-tracker
R data products: Reports, Presentations, Apps, and API's
Stars: ✭ 19 (-78.16%)
Mutual labels:  excel
Excel-to-JSON
Excel add-in converting excel to json
Stars: ✭ 15 (-82.76%)
Mutual labels:  excel
spreadsheet
TypeScript/javascript spreadsheet parser, with formulas.
Stars: ✭ 40 (-54.02%)
Mutual labels:  excel
qsv
CSVs sliced, diced & analyzed.
Stars: ✭ 438 (+403.45%)
Mutual labels:  excel
xls2db
Export table data from excel to mysql database, implemented with python.
Stars: ✭ 33 (-62.07%)
Mutual labels:  excel
Office365FiddlerExtension
This Fiddler Extension is an Office 365 centric parser to efficiently troubleshoot Office 365 client application connectivity and functionality.
Stars: ✭ 23 (-73.56%)
Mutual labels:  excel
Excelerator
This is an Excel Addin for Windows that reads and writes data to Snowflake
Stars: ✭ 53 (-39.08%)
Mutual labels:  excel
Spreadsheet Excel Writer
Allows writing of Excel spreadsheets. Since 2002.
Stars: ✭ 42 (-51.72%)
Mutual labels:  excel
Power-Query-Excel-Formats
A collection of M code to get various formats from Excel sheets in Power Query
Stars: ✭ 43 (-50.57%)
Mutual labels:  excel
office-addin-react
To help you learn to use Office.js and React build an Excel add-in
Stars: ✭ 46 (-47.13%)
Mutual labels:  excel

Excel Tricks

My commonly used Excel and Google Sheets formulas and tricks

Content

Time and Date Formulas

Convert the format "Thu Oct 02 12:03:39 GMT 2014" to "10/02/2014"

=CONCATENATE("10/",MID(A2,9,2),"/2014")

Convert the format "2014-Dec-01 5:00:54 AM" to "12/01/2014"

  • Perform a Text-to-Columns on the cells to split the date from the time information (assuming you don't need time)
  • You will be left with this:
 |__A1__|  |__B1__|
 2014-Dec-01  05:00:54 AM

On cell A1 rearrange the text and add in the date delimiters:

=CONCATENATE(MID(A2,6,3)&"/"&RIGHT(A2,2)&"/"&LEFT(A2,4))

Result = Dec/01/2014

  • Do a Find & Replace "Dec" with "12"
  • Cells get automatically converted to Date/Time format
  • Repeat for different months

Convert EPOCH format (Unix time) to Gregorian format (mm/dd/yyyy hh:mm:ss)

Unix time is the number of seconds since January 1, 1970.

=CELL/(60*60*24)+"1/1/1970"

Turns 1424783916.796051000 = 02/24/2015 13:18:37

Convert a date and time field to ISO 8601 timestamp format

Example: 8/3/21 12:12:12 PM to 2021-08-03T12:12:12

=TEXT(A1,"yyyy-mm-ddThh:MM:ss")

Convert a ISO 8601 timestamp format field to date and time

Example: 2021-08-03T12:12:12 to 8/3/21 12:12:12 PM

=DATEVALUE(MID(A1,1,10))+TIMEVALUE(MID(A1,12,8))

Number Manipulation

Convert $20,000,000.00 to $20.0M

Select the cell you want to convert and add the following custom number format

$[>=999950]0.0,,"M";[<=-999950]0.0,,"M";0.0,"K"

Text Manipulation

Find what is to the RIGHT of the last instances of a specific character

Example = Drive:\Folder\SubFolder\Filename.ext (where you just want to find Filename.ext)

Find to the right of the last "" character

=REGEXEXTRACT(A1,"\\([^\\]*$)")

To find what's to the LEFT, just replace "RIGHT" with "LEFT" in the formula

Example = "First_Name Last_Name" (where you just want "First_Name")

=REGEXEXTRACT(A1,"(^[^ ]*) ")

Find if cell contains a space

=IF(COUNTIF(H2,"* *"),"No","Yes")

Extract text between two characters in a cell

=REGEXEXTRACT(A1,"vip\.ce\.(.*)\.http")

Original = vip.ce.api-prd.website.com.http

After = api-prd.website.com

Trim All Whitespace Including Nonbreaking Space Characters (nbsp)

=TRIM(SUBSTITUTE(A1, CHAR(160), " "))

VLookUp and Replace #N/A with some text

This works in both Excel and Google Sheets

=IF(ISNA(VLOOKUP(A2,<Table Range>,1,FALSE)),"Thing not found",VLOOKUP(A2,<Table Range>,1,FALSE))

XLOOKUP already has built in error handling for the #N/A messages, but only works in Excel at the date of publishing this.

Search for text within a cell and label it as X

=IF(IFERROR(SEARCH("<word>",A2),0),"Cleaned",IF(IFERROR(SEARCH("<other word>",A2),0),"Unknown","Not Cleaned"))

Lookup a Value in 2 Different Columns and return the one you want

=Index(array, Match(value_to_lookup, lookup_array, match_type))

=INDEX('TabName'!$A$1:$C$1000, MATCH('TabName'!A2,'TabName'!$A$1:$C$1000,0))

Get OS Short name from long Operating System name (Windows 10 Enterprise = Windows)

=IF(IFERROR(SEARCH("Windows",C2),0),"Windows",IF(IFERROR(SEARCH("AIX",C2),0),"AIX",IF(IFERROR(SEARCH("Linux",C2),0),"Linux",IF(IFERROR(SEARCH("SunOS",C2),0),"SunOS",IF(IFERROR(SEARCH("OS X",C2),0),"Mac","Unknown")))))

Get system type from OS (Windows Serer 2012 = Server)

=IF(IFERROR(SEARCH("Server",E2),0),"Server",IF(IFERROR(SEARCH("AIX",E2),0),"Server",IF(IFERROR(SEARCH("Linux",E2),0),"Server",IF(IFERROR(SEARCH("SunOS",E2),0),"Server",IF(IFERROR(SEARCH("Enterprise",E2),0),"Desktop",IF(IFERROR(SEARCH("Pro",E2),0),"Desktop",IF(IFERROR(SEARCH("Embedded",E2),0),"Desktop",IF(IFERROR(SEARCH("Windows 7",E2),0),"Desktop",IF(IFERROR(SEARCH("Windows 10",E2),0),"Desktop",IF(IFERROR(SEARCH("OS X",E2),0),"Desktop","Unknown"))))))))))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].