\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{nqramjets} \pdfinfo{ /Title (excel-cell-number-formatting.pdf) /Creator (Cheatography) /Author (nqramjets) /Subject (Excel Cell Number Formatting Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{99AFCC} \definecolor{LightBackground}{HTML}{F2F5F8} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Excel Cell Number Formatting Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{nqramjets} via \textcolor{DarkBackground}{\uline{cheatography.com/20223/cs/6076/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}nqramjets \\ \uline{cheatography.com/nqramjets} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 18th November, 2015.\\ Updated 12th May, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{0.96071 cm} x{1.96319 cm} p{0.62655 cm} p{0.62655 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Number Format Codes}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{Number format codes are strings of symbols which define how Excel displays that data in your cells} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{4}{x{5.377cm}}{Each number format code is made up of up to 4 blocks, separated by a semicolon (;)} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Example & Sect 1; Sect 2; Sect 3; Sect 4 & & \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{4}{x{5.377cm}}{These sections correspond to different types of data as shown below} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \{\{bt\}\}§ 1 & \{\{bt\}\}§ 2 & \{\{bt\}\}§ 3 & \{\{bt\}\}§ 4 \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} Positive values & Negative values & Zero & Text \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{The behavior for each section depends on how many sections are defined} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Cell Section Format Behavior}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nqramjets_1447880783_ExcelSectionFormatBehavior.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.00248 cm} x{2.29735 cm} p{0.45947 cm} p{0.4177 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{5.377cm}}{\bf\textcolor{white}{Changing font color}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{You can change the color of the section by using a simple format code} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{4}{x{5.377cm}}{{[}Color~Name{]}} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{\{\{bt\}\}To use you simply set the color in the section you wish to color} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{Example}} & {[}Red{]}General;{[}Blue{]}General & & \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{{\emph{Complete list of color codes}}} \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} Black & Green & White & Blue \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} Magenta & Yellow & Cyan & Red \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{5.377cm}}{The {\bf{General}} message just tell Excel to represent the number as entered by the user. Be careful when using this for negative numbers, as you only get the value!} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4577 cm} x{1.28156 cm} x{2.83774 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Adding Text}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{You can add text around numbers is a section in two ways} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Single Characters}}} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{For single characters simply type a backslash before the character} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{Eg. \textbackslash{}@General} \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} & 1234.567 & @1234.567 \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} & -1234.567 & \{\{literal\}\}-@1234.567 \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} & 0 & @0 \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} & Text & Text \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{Note: Text is not affected in this example} \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Text Strings}}} \tn % Row Count 12 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{To add an entire string to a number surround the string in quotes (" ")} \tn % Row Count 14 (+ 2) % Row 11 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{Eg. General" units"} \tn % Row Count 15 (+ 1) % Row 12 \SetRowColor{LightBackground} & 1234.567 & 1234.567 units \tn % Row Count 16 (+ 1) % Row 13 \SetRowColor{white} & -1234.567 & -1234.567 units \tn % Row Count 17 (+ 1) % Row 14 \SetRowColor{LightBackground} & 0 & 0 units \tn % Row Count 18 (+ 1) % Row 15 \SetRowColor{white} & Text & Text \tn % Row Count 19 (+ 1) % Row 16 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{Note: Again, text is not affected by this format code (since that section is not explicitly listed)} \tn % Row Count 21 (+ 2) % Row 17 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{Eg. General" unit A";General" unit B";General" unit C";General" unit D"} \tn % Row Count 23 (+ 2) % Row 18 \SetRowColor{LightBackground} & 1234.567 & 1234.567 unit A \tn % Row Count 24 (+ 1) % Row 19 \SetRowColor{white} & -1234.567 & 1234.567 unit B \tn % Row Count 25 (+ 1) % Row 20 \SetRowColor{LightBackground} & 0 & 0 unit C \tn % Row Count 26 (+ 1) % Row 21 \SetRowColor{white} & Text & Text unit D \tn % Row Count 27 (+ 1) % Row 22 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{Note that there is no representation of the the fact that the negative value is negative. Our definition of the negative section did not include one.} \tn % Row Count 30 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{p{0.4577 cm} x{1.28156 cm} x{2.83774 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Adding Text (cont)}} \tn % Row 23 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Special Characters}}} \tn % Row Count 1 (+ 1) % Row 24 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{\{\{bb\}\}{\emph{The following characters can be added to a format section without being escaped}}} \tn % Row Count 3 (+ 2) % Row 25 \SetRowColor{LightBackground} \$ & +- & \textless{}=\textgreater{} \tn % Row Count 4 (+ 1) % Row 26 \SetRowColor{white} () & \{\} & \textasciicircum{} \tn % Row Count 5 (+ 1) % Row 27 \SetRowColor{LightBackground} ' & : & / \tn % Row Count 6 (+ 1) % Row 28 \SetRowColor{white} \textasciitilde{} & \& & ! \tn % Row Count 7 (+ 1) % Row 29 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{(space)} \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.82386 cm} x{1.87657 cm} x{1.87657 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Decimals places, Digits, and Commas}} \tn % Row 0 \SetRowColor{LightBackground} \{\{bb\}\}{\bf{Symbol}} & \{\{bb\}\}{\bf{Description}} & \{\{bb\}\}{\bf{Summary}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} 0 & Zero & Forced Digit \tn % Row Count 4 (+ 1) % Row 2 \SetRowColor{LightBackground} ? & Question Mark & Aligned Digit \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \# & Pound Sign & Un-Forced Digit \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} . & Period & Decimal Point \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} , & Comma & Thousands Separator \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} * & Asterisk & Repeating Character \tn % Row Count 11 (+ 2) % Row 7 \SetRowColor{white} \_ & Underscore & Space Modifier \tn % Row Count 12 (+ 1) % Row 8 \SetRowColor{LightBackground} \{\{bt\}\}{\bf{Examples}} & \{\{bt\}\}\{\{ar\}\}`Data` & \{\{bt\}\}\{\{ar\}\}`Result` \tn % Row Count 15 (+ 3) % Row 9 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Zero (0)}}} \tn % Row Count 16 (+ 1) % Row 10 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{0.00}} \tn % Row Count 17 (+ 1) % Row 11 \SetRowColor{white} & \{\{ar\}\}`0` & \{\{ar\}\}`0.00` \tn % Row Count 18 (+ 1) % Row 12 \SetRowColor{LightBackground} & \{\{ar\}\}`0.123` & \{\{ar\}\}`0.12` \tn % Row Count 19 (+ 1) % Row 13 \SetRowColor{white} & \{\{ar\}\}`1234` & \{\{ar\}\}`1234.00` \tn % Row Count 20 (+ 1) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Question Mark (?)}}} \tn % Row Count 21 (+ 1) % Row 15 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{0.??}} \tn % Row Count 22 (+ 1) % Row 16 \SetRowColor{LightBackground} & \{\{ar\}\}`0` & \{\{ar\}\}`0.~~` \tn % Row Count 24 (+ 2) % Row 17 \SetRowColor{white} & \{\{ar\}\}`0.123` & \{\{ar\}\}`0.12` \tn % Row Count 25 (+ 1) % Row 18 \SetRowColor{LightBackground} & \{\{ar\}\}`1234` & \{\{ar\}\}`1234.~~` \tn % Row Count 27 (+ 2) % Row 19 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Pound Sign (\#)}}} \tn % Row Count 28 (+ 1) % Row 20 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\#.\#\#}} \tn % Row Count 29 (+ 1) % Row 21 \SetRowColor{white} & \{\{ar\}\}`0` & \{\{ar\}\}`.` \tn % Row Count 30 (+ 1) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{0.82386 cm} x{1.87657 cm} x{1.87657 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Decimals places, Digits, and Commas (cont)}} \tn % Row 22 \SetRowColor{LightBackground} & \{\{ar\}\}`0.123` & \{\{ar\}\}`0.12` \tn % Row Count 1 (+ 1) % Row 23 \SetRowColor{white} & \{\{ar\}\}`1234` & \{\{ar\}\}`1234.` \tn % Row Count 2 (+ 1) % Row 24 \SetRowColor{LightBackground} {\bf{Period (.)}} & The period in a number format code speifies the location of the decimal point & \tn % Row Count 7 (+ 5) % Row 25 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Comma (,)}}} \tn % Row Count 8 (+ 1) % Row 26 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\$??,???.00}} \tn % Row Count 10 (+ 2) % Row 27 \SetRowColor{white} & \{\{ar\}\}`1234.567` & \{\{ar\}\}`\$ 1,234.57` \tn % Row Count 12 (+ 2) % Row 28 \SetRowColor{LightBackground} & \{\{ar\}\}`-1234.567` & \{\{ar\}\}`-\$ 1,234.57` \tn % Row Count 14 (+ 2) % Row 29 \SetRowColor{white} & \{\{ar\}\}`0` & \{\{ar\}\}`\$~~~~~~.00` \tn % Row Count 17 (+ 3) % Row 30 \SetRowColor{LightBackground} & \{\{ar\}\}`1234` & \{\{ar\}\}`\$ 1,234.00` \tn % Row Count 19 (+ 2) % Row 31 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Asterisk (*)}}} \tn % Row Count 20 (+ 1) % Row 32 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{*=0.\#\#}} \tn % Row Count 21 (+ 1) % Row 33 \SetRowColor{white} & \{\{ar\}\}`1234.567` & \{\{ar\}\}`===1234.57` \tn % Row Count 23 (+ 2) % Row 34 \SetRowColor{LightBackground} & \{\{ar\}\}`-1234.567` & \{\{ar\}\}`-==1234.57` \tn % Row Count 25 (+ 2) % Row 35 \SetRowColor{white} & \{\{ar\}\}`0` & \{\{ar\}\}`========0.` \tn % Row Count 27 (+ 2) % Row 36 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Underscore (\_)}}} \tn % Row Count 28 (+ 1) % Row 37 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{\_(\#.\#\#\_);(\#.\#\#)}} \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{0.82386 cm} x{1.87657 cm} x{1.87657 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Decimals places, Digits, and Commas (cont)}} \tn % Row 38 \SetRowColor{LightBackground} & \{\{ar\}\}`1234.567` & \{\{ar\}\}`1234.57~` \tn % Row Count 2 (+ 2) % Row 39 \SetRowColor{white} & \{\{ar\}\}`-1234.567` & \{\{ar\}\}`(1234.57)` \tn % Row Count 4 (+ 2) % Row 40 \SetRowColor{LightBackground} & \{\{ar\}\}`0.123` & \{\{ar\}\}`.12~` \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Source}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{The content and examples for this cheat sheet are taken from this website: \newline % Row Count 2 (+ 2) \seqsplit{http://www.exceltactics.com/definitive-guide-custom-number-formats-excel/} \newline % Row Count 4 (+ 2) I have condensed the information in order to fit it on a cheat sheet.% Row Count 6 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.96117 cm} x{1.28156 cm} x{2.33427 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Fractions, Percentages, and Scientific Notation}} \tn % Row 0 \SetRowColor{LightBackground} \{\{bb\}\}{\bf{Symbol}} & \{\{bb\}\}{\bf{Description}} & \{\{bb\}\}{\bf{Notation}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} `/` & Forward Slash & Fraction \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} `\%` & Percent Sign & Percentage \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \{\{bb\}\}`E` & \{\{bb\}\}Exponential & \{\{bb\}\}Scientific \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Fractions}}} \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{Fraction notation rounds values to the nearest possible fraction. Remember that fractions can be either proper, or improper.} \tn % Row Count 12 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{Examples}} & \{\{ar\}\}`Data` & \{\{ar\}\}`Result` \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Reduced Fractions}}} \tn % Row Count 15 (+ 1) % Row 8 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\# ???/???}} \tn % Row Count 16 (+ 1) % Row 9 \SetRowColor{white} & \{\{ar\}\}`0.23` & \{\{ar\}\}`23/100` \tn % Row Count 18 (+ 2) % Row 10 \SetRowColor{LightBackground} & \{\{ar\}\}`0.25` & \{\{ar\}\}`1/4~~` \tn % Row Count 20 (+ 2) % Row 11 \SetRowColor{white} & \{\{ar\}\}`1` & \{\{ar\}\}`1~~~~~~` \tn % Row Count 23 (+ 3) % Row 12 \SetRowColor{LightBackground} & \{\{ar\}\}`1.25` & \{\{ar\}\}`1 1/4~~` \tn % Row Count 25 (+ 2) % Row 13 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{\# ??/??}} \tn % Row Count 26 (+ 1) % Row 14 \SetRowColor{LightBackground} & \{\{ar\}\}`0.23` & \{\{ar\}\}`3/13` \tn % Row Count 28 (+ 2) % Row 15 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Fixed Base Fractions}}} \tn % Row Count 29 (+ 1) % Row 16 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{It's possible to force Excel to use a specific denominator by specifying it in the format code} \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{0.96117 cm} x{1.28156 cm} x{2.33427 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Fractions, Percentages, and Scientific Notation (cont)}} \tn % Row 17 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\# \#\#/15}} \tn % Row Count 1 (+ 1) % Row 18 \SetRowColor{white} & \{\{ar\}\}`0.23` & \{\{ar\}\}`3/15` \tn % Row Count 3 (+ 2) % Row 19 \SetRowColor{LightBackground} & \{\{ar\}\}`0.25` & \{\{ar\}\}`4/15` \tn % Row Count 5 (+ 2) % Row 20 \SetRowColor{white} & \{\{ar\}\}`1.25` & \{\{ar\}\}`1 4/15` \tn % Row Count 7 (+ 2) % Row 21 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{{\bf{Percentages (\%)}}} \tn % Row Count 8 (+ 1) % Row 22 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{\#\%}} \tn % Row Count 9 (+ 1) % Row 23 \SetRowColor{LightBackground} & \{\{ar\}\}`0.235` & \{\{ar\}\}`24\%` \tn % Row Count 11 (+ 2) % Row 24 \SetRowColor{white} & \{\{ar\}\}`0.25` & \{\{ar\}\}`24\%` \tn % Row Count 13 (+ 2) % Row 25 \SetRowColor{LightBackground} & \{\{ar\}\}`1` & \{\{ar\}\}`100\%` \tn % Row Count 14 (+ 1) % Row 26 \SetRowColor{white} & \{\{ar\}\}`1.25` & \{\{ar\}\}`125\%` \tn % Row Count 16 (+ 2) % Row 27 \SetRowColor{LightBackground} & \{\{ar\}\}`0` & \{\{ar\}\}`\%` \tn % Row Count 17 (+ 1) % Row 28 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{You can also specify fractional percentages} \tn % Row Count 18 (+ 1) % Row 29 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\# \#/\#\%}} \tn % Row Count 19 (+ 1) % Row 30 \SetRowColor{white} & \{\{ar\}\}`0.235` & \{\{ar\}\}`23 1/2\%` \tn % Row Count 21 (+ 2) % Row 31 \SetRowColor{LightBackground} & \{\{ar\}\}`0.25` & \{\{ar\}\}`25\%` \tn % Row Count 23 (+ 2) % Row 32 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{You can specify the number of digits with decimal places} \tn % Row Count 25 (+ 2) % Row 33 \SetRowColor{LightBackground} & {\emph{Format}} & \{\{ar\}\}{\emph{\#.0\%}} \tn % Row Count 26 (+ 1) % Row 34 \SetRowColor{white} & \{\{ar\}\}`0.235` & \{\{ar\}\}`23.5\%` \tn % Row Count 28 (+ 2) % Row 35 \SetRowColor{LightBackground} & \{\{ar\}\}`0.25` & \{\{ar\}\}`25.0\%` \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{0.96117 cm} x{1.28156 cm} x{2.33427 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{5.377cm}}{\bf\textcolor{white}{Fractions, Percentages, and Scientific Notation (cont)}} \tn % Row 36 \SetRowColor{LightBackground} & \{\{ar\}\}`1` & \{\{ar\}\}`100.0\%` \tn % Row Count 1 (+ 1) % Row 37 \SetRowColor{white} & \{\{ar\}\}`1.25` & \{\{ar\}\}`125.0\%` \tn % Row Count 3 (+ 2) % Row 38 \SetRowColor{LightBackground} & \{\{ar\}\}`0` & \{\{ar\}\}`.0\%` \tn % Row Count 4 (+ 1) % Row 39 \SetRowColor{white} \mymulticolumn{3}{x{5.377cm}}{{\bf{Scientific Notation}}} \tn % Row Count 5 (+ 1) % Row 40 \SetRowColor{LightBackground} \mymulticolumn{3}{x{5.377cm}}{Excel uses `E+` notation for exponential values. The format code in front of the `E+` describes the relevant digits, and another format code on the other side of the `E+` describes the handling of the exponent.} \tn % Row Count 10 (+ 5) % Row 41 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{\#E+\#}} \tn % Row Count 11 (+ 1) % Row 42 \SetRowColor{LightBackground} & \{\{ar\}\}`0.000000000123` & \{\{ar\}\}`1E-10` \tn % Row Count 13 (+ 2) % Row 43 \SetRowColor{white} & \{\{ar\}\}`456000000000` & \{\{ar\}\}`5E+11` \tn % Row Count 15 (+ 2) % Row 44 \SetRowColor{LightBackground} & \{\{ar\}\}`1` & \{\{ar\}\}`1E+0` \tn % Row Count 16 (+ 1) % Row 45 \SetRowColor{white} & \{\{ar\}\}`1.25` & \{\{ar\}\}`1E+0` \tn % Row Count 18 (+ 2) % Row 46 \SetRowColor{LightBackground} & \{\{ar\}\}`0` & \{\{ar\}\}`0E+0` \tn % Row Count 19 (+ 1) % Row 47 \SetRowColor{white} & {\emph{Format}} & \{\{ar\}\}{\emph{0.00E+00}} \tn % Row Count 20 (+ 1) % Row 48 \SetRowColor{LightBackground} & \{\{ar\}\}`0.000000000123` & \{\{ar\}\}`1.23E+10` \tn % Row Count 22 (+ 2) % Row 49 \SetRowColor{white} & \{\{ar\}\}`456000000000` & \{\{ar\}\}`4.56E+11` \tn % Row Count 24 (+ 2) % Row 50 \SetRowColor{LightBackground} & \{\{ar\}\}`1` & \{\{ar\}\}`1.00E+00` \tn % Row Count 25 (+ 1) % Row 51 \SetRowColor{white} & \{\{ar\}\}`1.25` & \{\{ar\}\}`1.25E+00` \tn % Row Count 27 (+ 2) % Row 52 \SetRowColor{LightBackground} & \{\{ar\}\}`0` & \{\{ar\}\}`0.00E+00` \tn % Row Count 28 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}