+ All Categories
Home > Documents > Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive...

Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive...

Date post: 22-May-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
46
Index SPECIAL CHARACTERS AND NUMERICS # (hash mark), 220–221, 657 * (asterisk) symbol, 240–241, 590 = (equal sign), formula, 196, 205 3-D area chart, 449 3-D clustered column chart, 441–442 100% stacked column chart, 440–441 1900 date system, 252 1904 date system, 252, 277 A Above average conditional formatting, 504 ABS function, 953 absolute cell references conditional formatting, 516–517 data validation, 598 defined, 211–212 absolute recording, macros, 841 absolute references, 664 accelerator key (hot key), 19, 887 Accelerator property CheckBox control, 897 OptionButton control, 899 Access files, 687 Accessibility Checker task pane, 652–653 Accounting number format, 47, 576 Accounting Number Format button, Ribbon, 575 ACCRINT function, 948 ACCRINTM function, 948 ACOS function, 953 ACOSH function, 953 ACOT function, 953 ACOTH function, 953 Activate event, 906, 909 activating chart, 423 Active cell indicator, Excel screen, 6 active cells, worksheet, 8 active window, 51 ActiveX controls adding to UserForms, 875–876 CheckBox, 896–897 ComboBox, 897–898 CommandButton, 898 defined, 890 Image, 898 ListBox, 898–899 OptionButton, 899 overview, 891 ScrollBar, 900 SpinButton, 901 TextBox, 901–902 ToggleButton, 902 actual values, formula, 665–666 Add a Digital Signature option, Protect Workbook drop-down list, 156 Add button, Consolidate dialog box, 626 Add Constraint dialog box, 800 Add operation, Paste Special dialog box, 624 Add Scenario dialog box, 788 Add to Dictionary option, Spelling dialog box, 680 Add View dialog box, 192 Add-In Manager, 932–933 add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931 installing, 939 Module1 code module, 936 My Extended Date Functions add-in, 259 Power Utility Pak add-in, 709 protecting project, 938–939 reasons to convert workbook to, 933–934 saving workbook as, 939 testing workbooks, 937 typical uses for, 931–932 UserForms, 936 Add-Ins dialog box, 932 Add-Ins tab, Ribbon, 11 967 COPYRIGHTED MATERIAL
Transcript
Page 1: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

IndexSPECIAL CHARACTERS AND NUMERICS# (hash mark), 220–221, 657* (asterisk) symbol, 240–241, 590= (equal sign), formula, 196, 2053-D area chart, 4493-D clustered column chart, 441–442100% stacked column chart, 440–4411900 date system, 2521904 date system, 252, 277

AAbove average conditional formatting, 504ABS function, 953absolute cell references

conditional formatting, 516–517data validation, 598defined, 211–212

absolute recording, macros, 841absolute references, 664accelerator key (hot key), 19, 887Accelerator property

CheckBox control, 897OptionButton control, 899

Access files, 687Accessibility Checker task pane, 652–653Accounting number format, 47, 576Accounting Number Format button, Ribbon, 575ACCRINT function, 948ACCRINTM function, 948ACOS function, 953ACOSH function, 953ACOT function, 953ACOTH function, 953Activate event, 906, 909activating chart, 423Active cell indicator, Excel screen, 6active cells, worksheet, 8active window, 51

ActiveX controlsadding to UserForms, 875–876CheckBox, 896–897ComboBox, 897–898CommandButton, 898defined, 890Image, 898ListBox, 898–899OptionButton, 899overview, 891ScrollBar, 900SpinButton, 901TextBox, 901–902ToggleButton, 902

actual values, formula, 665–666Add a Digital Signature option, Protect Workbook

drop-down list, 156Add button, Consolidate dialog box, 626Add Constraint dialog box, 800Add operation, Paste Special dialog box, 624Add Scenario dialog box, 788Add to Dictionary option, Spelling dialog box, 680Add View dialog box, 192Add-In Manager, 932–933add-ins. See also Analysis ToolPak

Add-In Manager, 932–933adding descriptive information, 937creating, 934–935creating user interface for, 937–938defined, 931installing, 939Module1 code module, 936My Extended Date Functions add-in, 259Power Utility Pak add-in, 709protecting project, 938–939reasons to convert workbook to, 933–934saving workbook as, 939testing workbooks, 937typical uses for, 931–932UserForms, 936

Add-Ins dialog box, 932Add-Ins tab, Ribbon, 11

967

57_9781118490365-bindex.indd 96757_9781118490365-bindex.indd 967 1/24/13 10:12 AM1/24/13 10:12 AM

COPYRIG

HTED M

ATERIAL

Page 2: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

Index

ADDRESS function, 952AfterSave event, 906AGGREGATE function

defined, 953ignoring errors when summing, 307summing range that contains errors, 398

Align with Page Margins control, Page Layout view, 188All Charts tab, Insert Chart dialog box, 426All Commands option, Excel Options dialog box, 566All Except Borders option, Paste Special dialog box, 89All merging conditional formats option, Paste Special

dialog box, 90All option, Paste Special dialog box, 89All References list box, Consolidate dialog box, 625All Using Source Theme option, Paste Special

dialog box, 89Allow Users to Edit Ranges dialog box, 647Alphabetic tab, Properties window, 893Alt key, accessing Ribbon with, 14–15AMORDEGRC function, 948AMORLINC function, 948amortization schedule, loan, 340–342analysis of variance (anova), 815–816Analysis ToolPak

analysis of variance, 815–816Correlation tool, 816–817Covariance tool, 817creating frequency distribution with, 302–303Data Analysis dialog box, 815Descriptive Statistics tool, 817–818exponential smoothing, 818Fourier Analysis tool, 819F-test, 818–819Histogram tool, 819installing, 814Moving Average tool, 820–821overview, 813–814Random Number Generation tool, 821–822Rank and Percentile tool, 822Regression tool, 822Sampling tool, 823–824T-Test tool, 824Z-Test tool, 824

analyzing data. See also Analysis ToolPak; what-if analysis

overview, 793single-cell goal seeking, 793–796Solver

allocating resources, 809–810appropriate problems for, 797example, 797–798

minimizing shipping costs, 806–809optimizing an investment portfolio, 810–812solving simultaneous linear equations, 804–806

And criterionconditional sums and, 312counting cells based on, 293–295

AND function, 951annual percentage rate (APR), 340annuity (future value of series of deposits), 352–354anova (analysis of variance), 815–816ANSI character set, 233Any Value option, Data Validation dialog box, 593Application object, properties, 849Apply Names dialog box, 228Apply These Changes to All Other Cells with the Same

Setting check box, Data Validation dialog box, 594

APR (annual percentage rate), 340ARABIC function, 361, 953area, calculating, 364area charts

3-D area chart, 449stacked area chart, 448

AREAS function, 952arguments

COUNTIF function, 291–292HLOOKUP function, 317–318INDEX function, 320LOOKUP function, 318MATCH function, 319paired, 294–295VBA code function procedures, 861–866VLOOKUP function, 316

Arrange command, Format Shape task pane, 543Arrange Windows dialog box, 50–51array argument, INDEX function, 320array formulas

array constants, 377, 381defined, 288disadvantages, 384editing, 383entering, 382entry error, 656FREQUENCY function, 299multicell

creating array constant from values in range, 385–386

creating from values in range, 385displaying calendar in range, 417–418generating array of consecutive integers, 388–389

968

57_9781118490365-bindex.indd 96857_9781118490365-bindex.indd 968 1/24/13 10:12 AM1/24/13 10:12 AM

Page 3: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

Index

overview, 374–375, 384performing operations on, 386–387returning list of unique items in range, 416–417returning nonblank cells from range, 414returning only positive values from range, 413–414reversing order of cells in range, 414–415sorting range of values dynamically, 415–416transposing, 387–388using functions with, 386–387

one-dimensional, 373, 378–379overview, 373–374performing case-sensitive lookup, 326–327selecting array formula range, 382single-cell

computing average that excludes zeros, 400–401counting characters in range, 390–391counting number of differences in two

ranges, 402–403counting number of error values in

range, 398–399counting text cells in, 392–393determining closest value in range, 410determining whether range contains

valid values, 404–406determining whether value appears in

range, 401–402eliminating intermediate formulas, 393–394finding row of value’s nth occurrence

in range, 404overview, 376removing nonnumeric characters from string, 409returning last value in column, 410–411returning last value in row, 412returning location of maximum value

in range, 403–404returning longest text in range, 404summing digits of integer, 406summing every nth value in range, 408–409summing largest values in range, 399summing range that contains errors, 397–398summing rounded values, 407–408summing three smallest values in range, 391–392using instead of range reference, 395

two-dimensional, 379–380two-dimensional array, 373

Artistic Effects feature, 556ASIN function, 953ASINH function, 953asterisk (*) symbol, 240–241, 590ATAN function, 953

ATAN2 function, 953ATANH function, 953auditing tools

error-checking feature, 673–675fixing circular reference errors, 673Formula Evaluator, 675Go to Special dialog box, 668–669Inquire add-in, 671tracing cell relationships, 671–673tracing error values, 673

AutoComplete featurecreating formulas that refer to data in table, 220overview, 38–39

AutoCorrect dialog box, 235, 681–682AutoCorrect feature, 40–41, 657, 681–682AutoCorrect option, Spelling dialog box, 680AutoFill feature, 38–39Automatic Calculation mode, formulas, 222automatic grouping, pivot table items

grouping by date, 742–745grouping by time, 746–748

automatic number formatting, 574AutoRecover feature

configuring, 151–152overview, 150–151recovering unsaved work, 151recovering versions of current workbook, 151

AutoSize propertydefined, 894Image control, 898TextBox control, 901–902

auto-updating Sparklines, 536–537AVEDEV function, 955AVERAGE function, 200, 955Average summary formula, Total Row, 111AVERAGEA function, 955AVERAGEIF function, 955AVERAGEIFS function, 955axes, chart, 469–474Axis Options section, Format Axis task pane, 474axis scaling, Sparklines, 532

BBackColor property, 894background image

adding to worksheets, 134–135displaying, 558printing, 184–185

backing up work, 157–158. See also protecting work

969

57_9781118490365-bindex.indd 96957_9781118490365-bindex.indd 969 1/24/13 10:12 AM1/24/13 10:12 AM

Page 4: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

970

Index

Backstage viewadjusting margins, 181defined, 145New page, 162Save As pane, 150

BackStyle property, 894BAHTTEXT function, 959bar charts

creating Gantt chart from, 499defined, 438overview, 442–443

BASE function, 361, 700, 953BeforeClose event, 906, 909BeforeDoubleClick event, 909BeforePrint event, 906BeforeRightClick event, 909BeforeSave event, 906, 908Bernoulli distribution, Random Number Generation

dialog box, 822BESSELI function, 947BESSELJ function, 947BESSELK function, 947BESSELY function, 947BETADIST function, 943BETA.DIST function, 955BETAINV function, 943BETA.INV function, 955Bin range, Histogram tool, 819BIN2DEC function, 361, 700, 947BIN2HEX function, 947BIN2OCT function, 361, 947BINOMDIST function, 943BINOM.DIST function, 955BINOM.DIST. RANGE function, 956Binomial distribution, Random Number Generation

dialog box, 822BINOM.INV function, 956BITAND function, 947BITLSHIFT function, 947bitmap images, 555BITOR function, 947BITRSHIFT function, 947BITXOR function, 947blank cells

are not blank error, 658counting, 289distinguishing from zeros, 321

Blank PivotTable button, Recommended PivotTables dialog box, 723

Blank workbook template, 145–146

Blanks option, Go to Special dialog box, 76book.xltx template, 166–167Boolean data type, VBA, 929Border tab, Format Cells dialog box, 133–134borders, adding to worksheets, 132Bottom alignment option, Format Cells dialog box, 128BoundColumn property

ComboBox control, 897ListBox control, 899

Browse button, Consolidate dialog box, 626bubble charts, 452–453By category method, data consolidation, 625By position method, data consolidation, 625Byte data type, VBA, 929

Ccalculated field, 750–752calculated item, 750–755calculating

area, 364–365dates of holidays, 271–273difference between two times, 276–277grade-point average, 326–327investment calculations, 347–354number of days between two dates, 264number of workdays between two dates, 264–266number of years between two dates, 266–267perimeter, 364person’s age, 267–268right triangle, 362–363surface, 366volume, 365–366

Calculation modes, formula, 222–223calendar, displaying in range, 417–418Camera tool, 557candlesticks (up-bars), stock chart, 453Capitalize First Letter of Sentences option,

AutoCorrect dialog box, 681Capitalize Names of Days option, AutoCorrect

dialog box, 681Caption property, 894Cascading Style Sheets (CSS), 688case-sensitive lookup, 324–325case-sensitivity

filenames, 152passwords, 152–153of text, 242–243

Categorized tab, Properties window, 893category axis, charts, 425, 474–477category_labels argument, SERIES formula, 481

57_9781118490365-bindex.indd 97057_9781118490365-bindex.indd 970 1/24/13 10:12 AM1/24/13 10:12 AM

Page 5: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

971

Index

CEILING functiondefined, 367, 943rounding currency values, 368–369

CEILING.MATH function, 953cell dependents, 671–673cell precedents, 671–673cell references

applying names to, 227–228using in formulas

absolute cell references, 211–212mixed cell references, 211, 213nonrelative references, 213–214overview, 211referencing cells in other workbooks, 214–215referencing cells in other worksheets, 214relative cell references, 211–212

cell-edit mode, 35cells. See also ranges

blankcounting, 289distinguishing from zeros, 321

commentschanging, 98changing shape of, 98–99deleting, 100editing, 100formatting, 97hiding and showing, 100overview, 95–96printing, 99–100reading, 99selecting, 100

copying cells that contain conditional formatting, 522counting number of words in, 250counting specific characters in, 246counting total number of, 288–289defined, 69fill handle, 22Go to Special dialog box, 75–77joining two or more, 236–237locating cells that contain conditional formatting, 523nonblank

counting, 289returning from range, 414

nontext, 290numeric, 290Paste Special dialog box, 88–91pasting options, 87–88pasting with Office Clipboard, 85–86Quick Analysis icon, 71referencing within pivot tables, 759–761reversing order of in ranges, 414–415

selecting by searching, 77–79selecting specific types of, 75–76sizing, Sparklines, 529text, 290unlocking, 645–646

Center across Selection alignment option, Format Cells dialog box, 127

Center alignment option, Format Cells dialog box, 127, 128

Change All option, Spelling dialog box, 680Change Chart Type dialog box, 426, 431Change event, 909–910Change option, Spelling dialog box, 680changing cells, Solver, 797Changing Cells field, Add Scenario dialog box, 788CHAR function, 234–235, 237, 959character codes

ANSI character set, 233CHAR function, 234–235CODE function, 234overview, 233–234

characterscounting in string, 242counting specific characters in cell, 246extracting from strings, 243–244repeating, 239

Chart Area, modifying, 463–464Chart Element control, 458–460Chart Elements icon, 462Chart Filters icon, 462Chart object, properties, 848chart sheets

defined, 49overview, 424workbooks, 5

Chart Styles icon, 462chart tips, 458–459charts. See also data tables

activating, 423adding free-floating text to, 467adding trendlines, 486–487area, 448–449bar, 438, 442–443, 499bubble, 452–453category axis, 425, 474–477Change Chart Type dialog box, 431–432chart sheets, 5, 49, 424choosing, 431–432, 437–438column

clustered column chart, 439–440defined, 438–439displaying conditional colors in, 496–497

57_9781118490365-bindex.indd 97157_9781118490365-bindex.indd 971 1/24/13 10:12 AM1/24/13 10:12 AM

Page 6: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

972

Index

charts, column (continued)100% stacked, 440–441stacked, 4403-D clustered stacked, 441–442

combination, 425, 488–490comparative histogram, 498–499copying, 434copying formatting, 469creating, 426–428custom templates, 491–492customizing

adjusting orientation, 430–431axes, 469–477Chart Area, 463–464customization buttons, 462with Format task pane, 461gridlines, 468layouts, 429legend, 466–467with Mini toolbar, 462–463overview, 457Plot Area, 464–465with Ribbon, 462selecting elements, 457–460styles, 429titles, 465–466

data labels, 482–483data point, 425, 452data series

adding, 478–479deleting or hiding, 478modifying data, 479–482overview, 478

Date category axis, 474–475defined, 421deleting, 434elements

adding, 434formatting, 436moving and deleting, 434

embedded, 423error bars, 485Gantt, 499–500gauge, 495–496handling missing data, 484line, 438–439, 443–444moving, 433overview, 421–423picture, 492–494pie, 438–439, 445–446pivot charts, 761–765printing, 436

radar, 438–439, 449–450resizing, 433stock, 453–455surface, 450–451Text category axis, 474–475thermometer, 494–4953-D, modifying, 487–488time-based category axis, 475types of, 437using data bars conditional format instead of, 509value axis, 425, 469–474VBA macro language and, 925–927XY

general discussion, 446–448plotting mathematical functions with one

variable, 500–501plotting mathematical functions with two

variables, 501–502ChartTitle object, 848Check Accessibility option, Check for Issues drop-down

list, 156check box control, Ribbon, 14Check Compatibility option, Check for Issues drop-

down list, 156Check for Issues drop-down list, Info pane, 156CheckBox control, UserForms, 876, 891CHIDIST function, 943CHIINV function, 943CHISQ.DIST function, 956CHISQ.DIST.RT function, 956CHISQ.INV function, 956CHISQ.INV.RT function, 956CHISQ.TEST function, 956CHITEST function, 943Choose Details dialog box, 154CHOOSE function, 314, 952Christmas Day, calculating date of, 273circle, calculating, 364circular references, formula, 221–222, 656, 673CLEAN function, 242, 699–700, 959cleaning-up data

changing vertical data to horizontal data, 705–707columns

joining, 702–703rearranging, 703

duplicate rowsidentifying, 692removing, 690–691

extracting filename from URL, 703filling gaps in imported report, 707–708fixing trailing minus signs, 711Power Utility Pak add-in, 709

57_9781118490365-bindex.indd 97257_9781118490365-bindex.indd 972 1/24/13 10:12 AM1/24/13 10:12 AM

Page 7: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

973

Index

randomizing rows, 703removing extra spaces, 698–699removing strange characters, 699spell checker feature, 708–709text

adding to cells, 710–711changing case of, 698matching in list, 704–705replacing or removing in cells, 709splitting, 692–697

valuesclassifying, 701–702converting, 700

Clear All command, 34Clear Comments command, 34Clear Contents command, 34Clear Formats command, 34Clear Hyperlinks command, 34Clear Rules option, Conditional Formatting

drop-down list, 505closing workbooks, 157, 925clustered column chart, 439–440code, VBA, 833. See also VBA macro languageCODE function, 234, 959col_index_num argument, VLOOKUP function, 316col_num argument, INDEX function, 320Collapse the Ribbon button, Excel screen, 6collections, VBA code, 846, 848color

cell and range references, 664formatting worksheets, 131Sparklines, 531

color scale conditional formatting, 504, 509–512Color Scales option, Conditional Formatting

drop-down list, 505Columbus Day, calculating date of, 272column charts

3-D clustered column chart, 441–442100% stacked column chart, 440–441clustered column chart, 439–440defined, 438, 439stacked column chart, 440

Column Differences option, Go to Special dialog box, 76COLUMN function, 952column labels, pivot table, 726Column letters, Excel screen, 6column outlines, 605Column Sparklines, 526Column Widths option, Paste Special dialog box, 89ColumnCount property

ComboBox control, 897ListBox control, 899

columns, tableadding, 108–109deleting, 109selecting, 108

columns, worksheetadjusting width, 67defined, 8deleting, 66hiding, 66inserting, 64–65joining, 702–703printing column headers, 184rearranging, 703returning last value in, 410–411selecting, 71–72, 918selecting to end of, 917–918

COLUMNS function, 952COMBIN function, 953COMBINA function, 953combination charts, 425, 488–490ComboBox control, UserForms, 876, 891comma separated values (CVS) file format, 687–690,

712–713Comma Style button, Ribbon, 575CommandButton control, UserForms, 876, 891, 898commands, Ribbon, 13–14Commands Not in the Ribbon option, Excel Options

dialog box, 566Comment field, Add Scenario dialog box, 788comments, cell

changing, 98changing shape of, 98–99deleting, 100editing, 100formatting, 97hiding and showing, 100overview, 95–96printing, 99–100reading, 99selecting, 100

comments, macro, 832Comments option

Go to Special dialog box, 76Paste Special dialog box, 89

comparative histogram charts, 498–499Compare Side by Side feature, worksheets, 60comparison charts, 437Compatibility category functions

BETADIST, 943BETAINV, 943BINOMDIST, 943CEILING, 943

57_9781118490365-bindex.indd 97357_9781118490365-bindex.indd 973 1/24/13 10:12 AM1/24/13 10:12 AM

Page 8: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

974

Index

Compatibility category functions (continued)CHIDIST, 943CHIINV, 943CHITEST, 943CONFIDENCE, 943COVAR, 943CRITBINOM, 943EXPONDIST, 943FDIST, 943FINV, 943FLOOR, 944FTEST, 944GAMMADIST, 944GAMMAINV, 944HYPGEOMDIST, 944LOGINV, 944LOGNORMDIST, 944MODE, 944NEGBINOMDIST, 944NORMDIST, 944NORMINV, 944NORMSDIST, 944NORMSINV, 944PERCENTILE, 944PERCENTRANK, 944POISSON, 944QUARTILE, 944RANK, 944STDEV, 944STDEVP, 944TDIST, 944TINV, 944TTEST, 944VAR, 944VARP, 944WEIBULL, 944ZTEST, 944

Compatibility Checker, 158–159Compatibility Mode section, Info pane, 156COMPLEX function, 947CONCATENATE function, 959concatenation operator, 236conditional colors, column chart, 496–497Conditional Formats option, Go to Special dialog box, 77conditional formatting

Above average rule, 504color scale, 504, 509–512copying cells that contain, 522Custom rule, 504Data bars rule, 504

deleting, 522–523Duplicate values rule, 504formulas

checkerboard shading, 519displaying alternate-row shading, 519displaying total only when all values

are entered, 520–521highlighting row based on value, 518–519overview, 515–516relative and absolute references, 516–517shading groups of rows, 520

graphics, 507–509Greater than ten rule, 504icon sets, 504, 512–515locating cells that contain, 523managing rules, 521–522New Formatting Rule dialog box, 506–507overview, 503specifying

formatting rule types, 505–506overview, 505

Words that contain X rule, 504Conditional Formatting Rules Manager dialog box, 521conditional sums

using multiple criteria, 311–312using single criterion, 309–311

conesurface, calculating, 366volume, calculating, 366

CONFIDENCE function, 943Confidence Level option, Regression dialog box, 823CONFIDENCE.NORM function, 956CONFIDENCE.T function, 956Consolidate dialog box

consolidating worksheets with, 625–626Create Links to Source Data check box, 629

consolidating worksheetswith Consolidate dialog box, 625–626example, 626–628flexibility of, 629general discussion, 622–623with Paste Special dialog box, 624refreshing, 628–629using formulas, 623

Constant Is Zero option, Regression dialog box, 823constants

MsgBox function, 872using names for, 224

Constants option, Go to Special dialog box, 76Constraint Precision option, Solver Options

dialog box, 803constraints, Solver, 797

57_9781118490365-bindex.indd 97457_9781118490365-bindex.indd 974 1/24/13 10:12 AM1/24/13 10:12 AM

Page 9: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

975

Index

contextual tabs, Ribbon, 12controls, VBA, 833conversion functions, 361CONVERT function, 359–362, 700, 947Convert software, 362Convert Text to Columns Wizard, 694converting

decimal hours, minutes, or seconds to time, 280formulas to values, 230from military time, 280nondate string to date, 263tables to ranges, 118values, 700

copyingcells that contain conditional formatting, 522chart formatting, 469charts, 434formulas, 229Page Setup settings across worksheets, 189pivot table content, 731

copying rangesto adjacent cells, 84to other sheets, 85overview, 79–80Paste Special dialog box, 88–91pasting options, 87–88pasting with Office Clipboard, 85–86using drag-and-drop, 83–84using Ribbon commands, 80–81using shortcut keys, 82using shortcut menu commands, 81–82variable-size ranges, 916–917

Correct Accidental Use of cAPS LOCK key option, AutoCorrect dialog box, 681

Correct TWo INitial CApitals option, AutoCorrect dialog box, 681

CORREL function, 817, 956correlation, 816–817Correlation dialog box, 816–817COS function, 953COSH function, 953Cost argument, depreciation functions, 355COT function, 953COTH function, 953COUNT function, 286, 956Count Numbers summary formula, Total Row, 111Count property, 924Count summary formula, Total Row, 111COUNTA function

counting nonblank cells, 289defined, 286, 956returning last value in column, 411

COUNTBLANK functioncounting blank cells, 289defined, 286, 956

COUNTIF functioncounting cells using, 291–292criteria argument, 291defined, 286, 956formulas using, 292range argument, 291–292

COUNTIFS functiondefined, 286, 956paired arguments, 294–295

counting formulasadvanced

counting cells based on multiple criteria, 292–295counting cells by using COUNTIF function,

291–292counting most frequently occurring entry, 296counting number of unique values, 298–299counting occurrences of specific text, 297–298creating frequency distribution, 299–304overview, 291

basiccounting blank cells, 289counting error values in range, 290–291counting logical values, 290counting nonblank cells, 289counting nontext cells, 290counting numeric cells, 290counting text cells, 290counting total number of cells, 288–289overview, 287–288

overview, 285–287CountLarge property, 924COUPDAYBS function, 949COUPDAYS function, 949COUPDAYSNC function, 949COUPNCD function, 949COUPNUM function, 949COUPPCD function, 949COVAR function, 817, 943covariance, 817COVARIANCE.P function, 956COVARIANCE.S function, 956Create Links to Source Data check box, Consolidate

dialog box, 626, 629Create Names from Selection dialog box, 93–94Create PivotTable dialog box, 723–724Create Sparklines dialog box, 528Create Table dialog box, 104credit card payments, 339–340

57_9781118490365-bindex.indd 97557_9781118490365-bindex.indd 975 1/24/13 10:12 AM1/24/13 10:12 AM

Page 10: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

976

Index

CRITBINOM function, 943criteria argument

COUNTIF function, 291SUMIF function, 309

CSC function, 953CSS (Cascading Style Sheets), 688cube, calculating, 365Cube category functions, 945CUBEKPIMEMBER function, 945CUBEMEMBER function, 945CUBEMEMBERPROPERTY function, 945CUBERANKEDMEMBER function, 945CUBESET function, 945CUBESETCOUNT function, 945CUBEVALUE function, 945CUMIPMT function, 336, 949CUMPRINC function, 336, 949cumulative sum, computing, 305–307Currency data type, VBA, 929Currency number format, 47, 576currency values

displaying as text, 239rounding, 368–369

Current Array option, Go to Special dialog box, 76Current Region option, Go to Special dialog box, 76CurrentDate macro, 832Curve Shape, 541custom conditional formatting, 504Custom error bar, 485custom functions, 860. See also function procedures,

VBA codecustom number formats

adding, 48codes for, 580creating, 577–581for dates and times, codes used in creating, 581defined, 576displaying fractions, 586–587displaying leading zeros, 585displaying negative sign on right of number, 587displaying text with numbers, 588filling cell with repeating character, 590formatting dates and times, 587–588scaling values, 582–585specifying conditions, 586suppressing certain types of entries, 589–590testing, 589

Custom option, Data Validation dialog box, 594custom templates

chart, 491–492ideas for creating, 169

overview, 167–168saving, 168

Custom Views featureoverview, 191–192PDF file format, 192worksheet outlines, 612

Customize Ribbon tab, Excel Options dialog box, 570–571

customizingcharts

adjusting orientation, 430–431chart customization buttons, 462with Format task pane, 461gridlines, 468layouts, 429–430legend, 466–467with Mini toolbar, 462–463modifying axes, 469–477modifying Chart Area, 463–464modifying Plot Area, 464–465overview, 457with Ribbon, 462selecting elements, 457–460styles, 429titles, 465–466

document themes, 142–144Quick Access toolbar, 16–18Ribbon, 568–571SmartArt, 550–552Sparklines, 529–534tables, 105–107user interface

Quick Access toolbar, 563–568Ribbon, 568–571

cut-and-paste techniquescopying charts, 434moving charts, 433

CVS (comma separated values) file format, 687–690, 712–713

cylinder, calculating volume, 366

Ddamping factor (smoothing constant), 818data

cleaning-upadding text to cells, 710–711changing case of text, 698changing vertical data to horizontal data, 705–707checklist, 712classifying values, 701–702converting values, 700

57_9781118490365-bindex.indd 97657_9781118490365-bindex.indd 976 1/24/13 10:12 AM1/24/13 10:12 AM

Page 11: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

977

Index

extracting filename from URL, 703filling gaps in imported report, 707–708fixing trailing minus signs, 711identifying duplicate rows, 692joining columns, 702–703matching text in list, 704–705Power Utility Pak add-in, 709randomizing rows, 703rearranging columns, 703removing duplicate rows, 690–691removing extra spaces, 698–699removing strange characters, 699replacing or removing text in cells, 709spell checker feature, 708–709splitting text, 692–697

exportingto other file formats, 713to text file, 712–713

importing into worksheetscopying and pasting data, 690from files, 686–688importing text file into specified range, 688–690

Data Analysis dialog box, 815data bars conditional formatting

defined, 504simple data bar, 507–508using instead of chart, 509

Data Bars option, Conditional Formatting drop-down list, 505

data consolidation. See consolidating worksheetsData Interchange Format (DIF) files, 687, 713data labels, chart

overview, 482–483specifying arbitrary range to be used as, 482–483

Data Model feature, 771data points, chart, 425, 452data series

adding to chart, 478–479deleting or hiding in chart, 478line chart, 444modifying data

changing range by dragging range outline, 480editing SERIES formula, 481–482overview, 479using Edit Series dialog box, 480–481

overview, 478Data tab, Ribbon, 10Data Table feature, 342–345data tables

displaying, 491one-way, 342–344, 780–782overview, 779–780

two-way, 344–345, 782–785what-if analysis, 778

data types, worksheetsformulas, 31numeric values, 30overview, 29text, 30–31

data validationadding comments to cell, 98cell references, 596creating drop-down list, 595formulas

accepting dates by day of the week, 600accepting larger value than previous cell, 598accepting nonduplicate entries only, 598–599accepting only values that don’t exceed total, 600accepting text only, 598accepting text that begins with specific

character, 599–600creating dependent list, 600–601overview, 596

overview, 591specifying validation criteria, 592

Data Validation dialog boxAny Value option, 593Date option, 593Decimal option, 593Error Alert tab, 592–593Input Message tab, 592–593List option, 593Settings tab, 592Text Length option, 594Time option, 593Whole Number option, 593

Data Validation option, Go to Special dialog box, 77Database category functions

DAVERAGE, 945DCOUNT, 945DCOUNTA, 945DGET, 945DMAX, 945DMIN, 945DPRODUCT, 945DSTDEV, 945DSTDEVP, 945DSUM, 945DVAR, 945DVARP, 945

database file formats, 687data-entry techniques

AutoComplete feature, 38–39AutoCorrect feature, 40–41

57_9781118490365-bindex.indd 97757_9781118490365-bindex.indd 977 1/24/13 10:12 AM1/24/13 10:12 AM

Page 12: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

978

Index

data-entry techniques (continued)automatically moving cell pointer after entering

data, 36–37entering current date or time, 42entering decimal points automatically, 38entering numbers with fractions, 40forcing text to appear on new line within cell, 40selecting range of input cells before entering data, 37using AutoFill to enter series of values, 38–39using Ctrl+Enter to place information into multiple

cells simultaneously, 38using data entry form, 41–42using navigation keys instead of pressing Enter, 37

Date & Time category functionsDATE, 946DATEVALUE, 946DAY, 946DAYS, 946DAYS360, 946EDATE, 946EOMONTH, 946HOUR, 946ISOWEEKNUM, 946MINUTE, 946MONTH, 946NETWORKDAYS, 946NETWORKDAYS.INTL, 946NOW, 946SECOND, 946TIME, 946TIMEVALUE, 946TODAY, 946WEEKDAY, 946WEEKNUM, 946WORKDAY, 946WORKDAY.INTL, 946YEAR, 946YEARFRAC, 946

date axis, Sparklines, 535Date category axis, charts, 474–475Date data type, VBA, 929DATE function, 260, 946Date number format, 47, 576Date option, Data Validation dialog box, 593DATEDIF function, 267–268date-related worksheet functions

calculating number of days between two dates, 264calculating number of workdays between two

dates, 264–266calculating number of years between two

dates, 266–267

calculating person’s age, 267–268converting nondate string to date, 263DATE function, 260DATEVALUE function, 260DAY function, 260DAYS function, 260DAYS360 function, 260determining date of most recent Sunday, 270determining dates of holidays, 271–273determining date’s quarter, 274determining day of week, 269determining day of year, 268–269determining first day of week after date, 270determining last day of month, 273determining nth occurrence of day of week in

month, 270determining week of year, 269determining whether year is leap year, 273–274displaying any date, 261–262displaying current date, 260–261EDATE function, 260EOMONTH function, 260generating series of dates, 262–263ISOWEEKNUM function, 260MONTH function, 260NETWORKDAYS function, 260NETWORKDAYS.INTL function, 260NOW function, 260offsetting date using only workdays, 266overview, 259–260TODAY function, 260WEEKDAY function, 260WEEKNUM function, 260WORKDAY function, 260WORKDAY.INTL function, 260YEAR function, 260YEARFRAC function, 260

dates. See also date-related worksheet functionsdate serial numbers, 251–252entering, 33, 42, 252–254Excel recognized formats, 253formatting, 256–257generating series of, 262–263inconsistent date entries, 258–259leap year, 257–258nondates, 252overview, 251, 257pre-1900 dates, 258

DATEVALUE function, 260, 946DAVERAGE function, 945DAY function, 260, 946

57_9781118490365-bindex.indd 97857_9781118490365-bindex.indd 978 1/24/13 10:12 AM1/24/13 10:12 AM

Page 13: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

979

Index

DAYS function, 260, 946DAYS360 function, 260, 946DB function, 355, 949dBase files, 687DCOUNT function, 286, 945DCOUNTA function, 286, 945DDB function, 355, 949Deactivate event, 906, 909dead formulas, 230debugging worksheet formulas, 866DEC2BIN function, 361, 947DEC2HEX function, 361, 947DEC2OCT function, 361, 947Decimal data type, VBA, 929DECIMAL function, 953Decimal option, Data Validation dialog box, 593Decrease Decimal button, Ribbon, 575default number format, 581default templates

editing, 166making changes to workbook defaults, 165–166overview, 165resetting default workbook, 167worksheet template, 166

DEGREES function, 361, 363, 953Degrees spinner control, Format Cells dialog box, 130–131Delete button, Consolidate dialog box, 626Delete Columns option, Protect Sheet dialog box, 646Delete Rows option, Protect Sheet dialog box, 646deleting

cell comments, 100cell content, 34chart elements, 434charts, 434conditional formatting, 522–523data series in chart, 478names, 95worksheets, 53–54

Delimited option, Convert Text to Columns Wizard, 694DELTA function, 947dependent list, creating using data validation, 600–601dependents, cell, 671–673Dependents option, Go to Special dialog box, 76depreciation calculations, 354–357Description option, Record Macro dialog box, 835Descriptive Statistics tool, 817–818Design mode, 892design time, UserForm property controls, 877determining

date of most recent Sunday, 270dates of holidays, 271–273

date’s quarter, 274day of week, 269day of year, 268–269first day of week after date, 270last day of month, 273nth occurrence of day of week in month, 270week of year, 269whether year is leap year, 273–274

Developer tab, Ribbon, 11, 828–829DEVSQ function, 956DGET function, 945dialog box launcher, Ribbon, 14dialog boxes. See also UserForms

accelerator key, 19modal, 19modeless, 19navigating, 19overview, 18tabbed, 19

DIF (Data Interchange Format) files, 687, 713Different First Page control, Page Layout view, 188Different Odd & Even Pages control, Page

Layout view, 188digital ID, 653digital signature, workbook, 653–654direct cell dependent, 671–673direct cell precedent, 671–673Disable All Macros with Notification option, Trust

Center dialog box, 829DISC function, 949Discrete distribution, Random Number Generation

dialog box, 822displayed values, formula, 665–666Distributed alignment option, Format Cells

dialog box, 127–128Distribution drop-down list, Random Number

Generation dialog box, 821–822#DIV/0! error, 220, 660–661DMAX function, 945DMIN function, 945Document Information Panel dialog box, 154Document Inspector dialog box, 651document properties (metadata), 153–154document themes

applying, 141–142customizing, 142–144overview, 140–141

DOLLAR function, 239, 959DOLLARDE function

defined, 367, 949rounding fractional dollars, 369–370

57_9781118490365-bindex.indd 97957_9781118490365-bindex.indd 979 1/24/13 10:12 AM1/24/13 10:12 AM

Page 14: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

980

Index

DOLLARFR functiondefined, 367, 949rounding fractional dollars, 369–370

Don’t Move or Size with Cells option, Format task pane, 542

Don’t Update option, external reference formulas, 617Double data type, VBA, 929DPRODUCT function, 945draft versions, workbook, 151draw layer, worksheets, 5, 29, 542Drawing Tools tab, Equation Editor, 558drawings. See graphic toolsDSTDEV function, 945DSTDEVP function, 945DSUM function, 286, 945Duplicate values conditional formatting, 504DURATION function, 949DVAR function, 945DVARP function, 945dynamic charts, 422dynamic model, 777dynamic range, displaying Sparklines for, 536–537

EEaster, calculating date of, 272EDATE function, 260, 946Edit Links dialog box

changing link source, 619opening workbook with external reference

formulas, 618severing links, 619updating workbook links, 617

edit mode, 35Edit Objects option, Protect Sheet dialog box, 646Edit Scenarios option, Protect Sheet dialog box, 646Edit Series dialog box, 467, 480–481editing

array formulas, 383cell comments, 100cell content, 35–36default templates, 166formulas, 210SERIES formula, 481–482Shape’s points, 547VBA code, 844–845

EFFECT function, 949element codes, header and footer, 187–188elements, chart

adding, 434formatting, 436modifying with Format task pane, 461

moving and deleting, 434selecting

with Chart Element control, 459–460with keyboard, 459with mouse, 458–459overview, 457–458

Else clause, VBA code, 851e-mail, sending workbooks via, 642embedded charts, 423Enable Iterative Calculation setting, Excel Options

dialog box, 222ENCODEURL function, 960Encrypt Document dialog box, 152–153, 648Encrypt with Password option, Protect Workbook

drop-down list, 155End If statement, VBA code, 851End_Period argument, depreciation functions, 355Engineering category functions

BESSELI, 947BESSELJ, 947BESSELK, 947BESSELY, 947BIN2DEC, 947BIN2HEX, 947BIN2OCT, 947BITAND, 947BITLSHIFT, 947BITOR, 947BITRSHIFT, 947BITXOR, 947COMPLEX, 947CONVERT, 947DEC2BIN, 947DEC2HEX, 947DEC2OCT, 947DELTA, 947ERF, 947ERFC, 947ERFC.PRECISE, 947ERF.PRECISE, 947GESTEP, 947HEX2BIN, 947HEX2DEC, 947HEX2OCT, 947IMABS, 947IMAGINARY, 947IMARGUMENT, 947IMCONJUGATE, 947IMCOS, 947IMCOSH, 947

57_9781118490365-bindex.indd 98057_9781118490365-bindex.indd 980 1/24/13 10:12 AM1/24/13 10:12 AM

Page 15: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

981

Index

IMCOT, 947IMCSC, 948IMDIV, 948IMEXP, 948IMLN, 948IMLOG10, 948IMLOG2, 948IMPOWER, 948IMPRODUCT, 948IMREAL, 948IMSEC, 948IMSECH, 948IMSIN, 948IMSINH, 948IMSQRT, 948IMSUB, 948IMSUM, 948IMTAN, 948OCT2BIN, 948OCT2DEC, 948OCT2HEX, 948

enhancing speed, VBAdeclaring variable types, 929–930disabling screen updating, 927preventing alert messages, 928simplifying object references, 928–929

enteringdates, 252–254times, 255–256

entering formulasfunction entry tips, 209–210inserting functions into formulas, 207–209manually, 205pasting range names into formulas, 206–207by pointing, 205–206

EOMONTH function, 260, 946equal sign (=), formula, 196, 205Equation Editor, 558–559Equation tools, 559Equation Tools tab, Equation Editor, 558ERF function, 947ERFC function, 947ERFC.PRECISE function, 947ERF.PRECISE function, 947Error Alert tab, Data Validation dialog box, 592–593error bars, chart, 485Error Checking dialog box, 675error-checking feature, 673–675errors

AutoCorrect feature, 681–682counting error values in range, 290–291

formulaabsolute references, 664actual versus displayed values, 665–666array formula entry error, 656blank cells are not blank, 658Calculation mode, 222–223cells filled with hash marks, 657circular references, 221–222, 656, 673#DIV/0!, 660–661error-checking feature, 673–675extra space character, 658floating point number, 666–667Formula Evaluator, 675–676formulas not calculated, 665identifying cells of particular type, 668–669ignoring when summing, 307incorrect reference, 655logical errors, 655mismatched parentheses, 656#N/A, 661#NAME?, 662#NULL!, 662#NUM!, 662–663operator precedence, 664–665overview, 220–221phantom links, 667–668#REF!, 663relative references, 664semantic errors, 656spell-checker feature, 680syntax errors, 655tracing cell relationships, 671–673tracing error values, 659, 673#VALUE!, 663viewing formulas, 669, 671

search-and-replace feature, 676–679Evaluate Formula dialog box, 410, 676EVEN function, 367, 370–371, 953event handler procedure, UserForm, 880–881,

884–885, 904–905events

non-objectOnKey event, 913–914OnTime event, 913overview, 912

overview, 903UserForm, 877workbook

BeforeClose event, 909BeforeSave event, 908NewSheet event, 908

57_9781118490365-bindex.indd 98157_9781118490365-bindex.indd 981 1/24/13 10:12 AM1/24/13 10:12 AM

Page 16: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

982

Index

events, workbook (continued)Open event, 906–907overview, 906SheetActivate event, 907–908

worksheetChange event, 909–910monitoring specific range for changes, 910–911overview, 909RightClick event, 912SelectionChange event, 911–912

EXACT function, 960Excel 2013

dialog boxes, 18–20identifying uses for, 3–4Mini toolbar, 15new features, 4–5numeric limitations, 30Quick Access toolbar, 16–18Ribbon, 10–15screen, 6–7shortcut menus, 15–16task panes, 20–21workbooks, 5, 21–27worksheets, 5, 8–10

Excel Options dialog boxchanging default file format for saving files, 150Customize Ribbon tab, 570–571Enable Iterative Calculation setting, 222Import/Export button, 568Quick Access Toolbar section, 18Quick Access Toolbar tab, 565–567Set Precision as Displayed option, 666

Excel Web App, 631–632excess spaces, removing, 241–242executing function procedures, VBA code

calling custom functions from procedure, 860overview, 859using custom functions in worksheet formula, 860

EXP function, 953exploding pie chart, 445EXPONDIST function, 943EXPON.DIST function, 956exporting data, 712–713Extensible Markup Language (XML) files, 688External Data Range Properties dialog box, 641external reference formulas

changing link source, 619creating link formula by pointing, 615creating links to unsaved workbooks, 616–617general syntax for, 614–615intermediary links, 621modifying source workbook, 620–621

opening workbooks with, 617–618overview, 614pasting links, 616renaming or moving a source workbook, 620severing links, 619Startup Prompt dialog box, 618–619updating links, 619using Save As command, 620

ExtractElement function, 865–866extracting

all but first word of string, 248filename from URL, 703first names, middle names, and last names, 248–249first word of string, 247last word of string, 246

FFACT function, 953FACTDOUBLE function, 953Factor argument, depreciation functions, 355FALSE function, 951FDIST function, 943F.DIST function, 956F.DIST.RT function, 956File button, Excel screen, 6file compatibility

Compatibility Checker, 158–159file formats, 159overview, 158saving file for use with older version of Excel, 160

file formats, 159File Tab, Excel Options dialog box, 566filenames

filtering, 147naming rules, 152

files. See workbooksFill alignment option, Format Cells dialog box, 127fill handle, worksheet cells, 22filtering

filenames, 147pivot tables with Slicers, 756–758pivot tables with Timeline, 758–759tables, 115–118

FILTERXML function, 960financial application formulas

depreciation calculations, 354–357investment calculations

future value of series of deposits, 352–354future value of single deposit, 347–351overview, 347

57_9781118490365-bindex.indd 98257_9781118490365-bindex.indd 982 1/24/13 10:12 AM1/24/13 10:12 AM

Page 17: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

983

Index

loan calculationscredit card payments, 339–340CUMIPMT function, 336CUMPRINC function, 336Data Table feature, 342–345example, 337–339IPMT function, 336loan amortization schedule, 340–342loan with irregular payments, 346–347NPER function, 337overview, 334–335PMT function, 335PPMT function, 336PV function, 337RATE function, 336–337worksheet functions for, 335

time value of money, 333–334Financial category functions

ACCRINT, 948ACCRINTM, 948AMORDEGRC, 948AMORLINC, 948COUPDAYBS, 949COUPDAYS, 949COUPDAYSNC, 949COUPNCD, 949COUPNUM, 949COUPPCD, 949CUMIPMT, 949CUMPRINC, 949DB, 949DDB, 949DISC, 949DOLLARDE, 949DOLLARFR, 949DURATION, 949EFFECT, 949FV, 949FVSCHEDULE, 949INTRATE, 949IPMT, 949IRR, 949ISPMT, 949MDURATION, 949MIRR, 949NOMINAL, 949NPER, 950NPV, 950ODDFPRICE, 950ODDFYIELD, 950

ODDLPRICE, 950ODDLYIELD, 950PDURATION, 950PMT, 950PPMT, 950PRICE, 950PRICEDISC, 950PRICEMAT, 950PV, 950RATE, 950RECEIVED, 950RRI, 950SLN, 950SYD, 950TBILLEQ, 950TBILLPRICE, 950TBILLYIELD, 950VDB, 950XIRR, 950XNPV, 950YIELD, 950YIELDDISC, 950YIELDMAT, 950

Find and Replace dialog boxFind What text box, 677locating cells that contain specific formatting, 523overview, 676–677Replace tab, 678replacing text in cells, 709searching for dates, 254searching for formatting, 678–679selecting cells by searching, 77–79

FIND function, 244–246FINV function, 943F.INV function, 956F.INV.RT function, 956First Point highlighting option, Sparklines, 531FISHER function, 956FISHERINV function, 956five-way combination chart, 490FIXED function, 960Fixed value error bar, 485Fixed Width option, Convert Text to Columns

Wizard, 694Flash Fill feature, 695–698floating point number errors, 666–667FLOOR function

defined, 367, 944rounding currency values, 369

FLOOR.MATH function, 954Font tab, Format Cells dialog box, 124

57_9781118490365-bindex.indd 98357_9781118490365-bindex.indd 983 1/24/13 10:12 AM1/24/13 10:12 AM

Page 18: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

984

Index

fontsdefined, 123updating, 124

footerselement codes, 187–188overview, 186selecting, 186–187

FORECAST function, 956Form controls, UserForm, 890Format all cells based on their values rule type,

conditional formatting, 507Format Axis task pane

Axis Options section, 470–471, 474Labels section, 472Size & Properties section, 475Tick Marks section, 472Values in Reverse Order option, 471

Format button, Find and Replace dialog box, 677Format Cells dialog box

Font tab, 124–125formatting pivot tables, 727–728horizontal alignment options, 126–127number formatting, 576number formatting using, 45–48Number tab, 256–257overview, 122–123Protection tab, 645vertical alignment options, 128

Format Cells option, Protect Sheet dialog box, 646Format Columns option, Protect Sheet dialog box, 646Format Data Labels task pane, 482Format Data Point dialog box, 478Format Data Series task pane, 478, 497Format dialog box, 190Format only cells that contain rule type, conditional

formatting, 507Format only top- or bottom-ranked values rule type,

conditional formatting, 507Format only unique or duplicate values rule type,

conditional formatting, 507Format only values that are above or below average

rule type, conditional formatting, 507Format Painter button, Clipboard, 135Format Picture task pane, 20–21Format Rows option, Protect Sheet dialog box, 646Format task pane

Don’t Move or Size with Cells option, 542modifying chart elements with, 461Move and Size with Cells option, 542Move But Don’t Size with Cells option, 542overview, 435

Format Trendline task pane, 486

Formats option, Paste Special dialog box, 89formatted currency values, displaying as text, 239formatted values, displaying as text, 237–238formatting. See also conditional formatting; formatting

worksheetscell comments, 97chart, 469chart elements, 436numbers, 366pivot tables, 727–729Shapes, 543–544times, WEEKDAY function, 260

Formatting option, Home tab, 88formatting worksheets

adding background image, 134adding borders and lines, 132–134changing text alignment, 126–131controlling text direction, 130–131displaying text at angle, 130–131document themes, 140–144

applying, 141–142customizing, 142–144overview, 140–141

fonts, 123–126merging cells to create additional text space, 129–130named styles

applying styles, 136–137controlling with templates, 139creating new styles, 138–139merging styles, 139modifying, 137–138overview, 136

overview, 119tools, 119–123using colors and shading, 131wrapping or shrinking text to fit cell, 129

Formula AutoComplete feature, 203–204, 207Formula bar

editing keys, 963overview, 6–7using as calculator, 229

Formula Evaluator tool, 410, 675–676formulas. See also array formulas; counting formulas;

lookup formulasadvanced naming techniques, 223–228array, 288, 299, 326–327avoiding hard-code values, 779conditional formatting

checkerboard shading, 519displaying alternate-row shading, 519displaying total only when all values are

entered, 520–521

57_9781118490365-bindex.indd 98457_9781118490365-bindex.indd 984 1/24/13 10:12 AM1/24/13 10:12 AM

Page 19: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

985

Index

highlighting row based on value, 518–519overview, 515–516relative and absolute references, 516–517shading groups of rows, 520

consolidating worksheets with, 623converting to values, 230copying, 229creating frequency distribution with, 301–302data validation

accepting dates by day of the week, 600accepting larger value than previous cell, 598accepting nonduplicate entries only, 598–599accepting only values that don’t exceed total, 600accepting text only, 598accepting text that begins with specific

character, 599–600creating dependent list, 600–601overview, 596

dead, 230defined, 31depreciation calculations, 354–357editing, 210entering into worksheets

function entry tips, 209–210inserting functions into formulas, 207–209manually, 205overview, 202–205pasting range names into formulas, 206–207by pointing, 205–206

errorsabsolute references, 664actual versus displayed values, 665–666array formula entry, 656blank cells are not blank, 658cells filled with hash marks, 657circular references, 221–222, 656, 673#DIV/0!, 660–661error-checking feature, 673–675extra space character, 658floating point number, 666–667Formula Evaluator, 675–676formulas not calculated, 665identifying cells of particular type, 668–669incorrect reference, 655logical, 655mismatched parentheses, 656#N/A, 661#NAME?, 662#NULL!, 662#NUM!, 662–663operator precedence, 664–665overview, 220–221

phantom links, 667–668#REF!, 663relative references, 664semantic errors, 656specifying when formulas are calculated, 222–223syntax errors, 655tracing cell relationships, 671–673tracing error values, 659, 673#VALUE!, 663viewing formulas, 669, 671

external reference formulaschanging link source, 619creating link formula by pointing, 615creating links to unsaved workbooks, 616–617general syntax for, 614–615intermediary links, 621modifying source workbook, 620–621opening workbooks with, 617–618overview, 614pasting links, 616severing links, 619Startup Prompt dialog box, 618–619updating links, 619

for financial applications, 333–334Formula AutoComplete feature, 203–204, 207inserting functions, 207–209investment calculations

future value of series of deposits, 352–354future value of single deposit, 347–351overview, 347

loan calculationscredit card payments, 339–340Data Table feature, 342–345example, 337–339IPMT function, 336loan amortization schedule, 340–342loan with irregular payments, 346–347NPER function, 337overview, 334–335PMT function, 335PPMT function, 336PV function, 337RATE function, 336–337worksheet functions for, 335

naming, 223–228not hard-coding values, 228operator, 196–199overview, 195parentheses, use of, 198–199, 201renaming or moving source workbook, 620ripple effect, 220rounding, 367–368

57_9781118490365-bindex.indd 98557_9781118490365-bindex.indd 985 1/24/13 10:12 AM1/24/13 10:12 AM

Page 20: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

986

Index

formulas (continued)summing

computing cumulative sum, 305–307conditional sums using multiple criteria, 311–312conditional sums using single criterion, 309–311ignoring errors when summing, 307overview, 285–287, 304summing all cells in range, 304–305summing top n values, 307–308

transforming data with, 243, 699using cell references in, 211–215using COUNTIF function, 292using custom functions in worksheet formula, 860using Formula bar as calculator, 229using functions in, 199–202using in tables

overview, 215referencing data in table, 219–220summarizing data in table, 215–217using formulas within table, 217–218

using operators in, 196–197using Save As command, 620worksheet, debugging, 866

Formulas and Number Formats optionHome tab, 87Paste Special dialog box, 89

Formulas optionGo to Special dialog box, 76Home tab, 87Paste Special dialog box, 89

Formulas tab, Ribbon, 10FORMULATEXT function, 201, 952For-Next loop, VBA code, 851, 926Fourier Analysis tool, 819Fraction number format, 47, 576Frame control, UserForms, 876free-floating text, adding to chart, 467FreeForm Shape, 541, 546freezing panes, worksheet, 61–62frequency distribution

creating with Analysis ToolPak, 302–303creating with formulas, 301–302creating with FREQUENCY function, 299–300creating with pivot table, 304, 748–749overview, 299

FREQUENCY function, 286, 299–300, 957Frontline Systems website, 809F-test, 818–819FTEST function, 944F.TEST function, 956full-screen mode, windows, 50Function Arguments dialog box, 207, 209–210, 857

Function drop-down list, Consolidate dialog box, 625function procedures, VBA code

arguments, 861–866creating custom functions, 859debugging, 866defined, 833, 846executing, 859–860inserting custom functions, 866–868NumSign function, 856–859overview, 855

functions. See also worksheet functionsinserting into formulas, 207–209rounding, 367using in formulas, 199–202

future value of series of deposits (annuity), 352–354future value of single deposit

compound interest, 348–351continuous compounding interest, 351simple interest, 347–348

Fv argument, financial functions, 335FV function, 949FVSCHEDULE function, 949

GGAMMA function, 957GAMMADIST function, 944GAMMA.DIST function, 957GAMMAINV function, 944GAMMA.INV function, 957GAMMALN function, 957GAMMALN.PRECISE function, 957Gantt charts, 499–500gauge charts, 495–496GAUSS function, 957GCD function, 954General alignment option, Format Cells dialog box, 126General number format, 47, 573, 576General Options dialog box, 648GEOMEAN function, 957GESTEP function, 947GETPIVOTDATA function, 760–761, 952Go to Special dialog box, 75–77, 523, 668–669Goal Seek dialog box, 795–796Goal Seek feature, 793–796Goal Seek Status box, Goal Seek dialog box, 795–796GPA (grade-point average), calculating, 326–327grand totals, pivot table, 726graphic tools

Camera tool, 557Equation Editor, 558–559

57_9781118490365-bindex.indd 98657_9781118490365-bindex.indd 986 1/24/13 10:12 AM1/24/13 10:12 AM

Page 21: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

987

Index

Shapesadding text to, 543aligning and spacing objects, 545–546formatting, 543–544grouping objects, 544–545inserting, 540–541overview, 539printing objects, 549reshaping, 546–547stacking, 544–545

SmartArtchanging layout, 552changing style, 552–553customizing, 550–552inserting, 549

WordArt, 553–554graphics. See also Sparklines

Artistic Effects feature, 556bitmap images, 555data bars conditional format, 507–509displaying background image, 558exporting, 548importing into worksheets, 554screenshots, 558vector-based images, 555

Greater than ten conditional formatting, 504gridlines, chart, 468Group mode, workbooks, 74grouping

pivot table itemsautomatic grouping, 742–748manual grouping, 741–742overview, 741

Shapes, 544–546Sparklines, 529worksheet outlines, 608–610

Grouping dialog box, 742–748GroupName property, OptionButton control, 899GROWTH function, 957Guess argument, financial functions, 335

Hhard-code values, formula, 779HARMEAN function, 957hash mark (#), 220–221, 657headers

element codes, 187–188overview, 186selecting, 186–187

Height property, 894Help button, Excel screen, 6–7

Help option, external reference formulas, 617HEX2BIN function, 361, 947HEX2DEC function, 361, 700, 947HEX2OCT function, 361, 947Hidden and Empty Cell Settings dialog box, 484, 530hidden data, Sparklines, 529–530hiding

cell comments, 100cells or ranges, 189data series in chart, 478rows or columns, 66, 189worksheets, 57

High Point highlighting option, Sparklines, 531Highlight Cell Rules option, Conditional Formatting

drop-down list, 505histogram, text, 239–240Histogram dialog box, Analysis ToolPak, 302Histogram tool, 819–820HLOOKUP function

defined, 314, 952looking up value by using closest match, 326–327lookup_value argument, 317range_lookup argument, 318row_index_num argument, 317table_array argument, 317

holidays, calculating dates ofChristmas Day, 273Columbus Day, 272Easter, 272Independence Day, 272Labor Day, 272Martin Luther King, Jr., Day, 271Memorial Day, 272New Year’s Day, 271overview, 271Presidents’ Day, 272Thanksgiving Day, 273Veterans Day, 273

Home tabExcel Options dialog box, 566Ribbon, 10–12, 120

horizontal data, 705–707Horizontal scrollbar, Excel screen, 6–7horizontal worksheet outlines, 605hot key (accelerator key), 19, 887HOUR function, 274, 946HTML (Hypertext Markup Language) files

creating single file web page, 635importing, 688overview, 632–633saving workbook as, 634–635

HYPERLINK function, 952

57_9781118490365-bindex.indd 98757_9781118490365-bindex.indd 987 1/24/13 10:12 AM1/24/13 10:12 AM

Page 22: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

988

Index

hyperlinksdefined, 636following from Shapes, 639inserting, 637–638style controls, 639

Hypertext Markup Language files. See HTML filesHYPGEOMDIST function, 944HYPGEOM.DIST function, 957hypocycloid curve, XY chart, 447–448

Iicon set conditional formatting, 504, 512–515Icon Sets option, Conditional Formatting

drop-down list, 505IF function

avoiding #DIV/0! error, 658defined, 315, 951finding row of value’s nth occurrence in range, 404using to hide cumulative sums for rows, 306–307writing formula using, 200

IFERROR functionchecking for error condition, 661defined, 315, 951extracting all but first word of string, 248extracting first word of string, 247summing range that contains errors, 398

IFNA function, 201, 661, 951If-Then programming construct, VBA code, 850–851Ignore All option, Spelling dialog box, 680Ignore Blank check box, Data Validation dialog box, 594Ignore Integer Constraints option, Solver Options

dialog box, 803Ignore Once option, Spelling dialog box, 680IMABS function, 947Image control, 876, 891, 898IMAGINARY function, 947IMARGUMENT function, 947IMCONJUGATE function, 947IMCOS function, 947IMCOSH function, 947IMCOT function, 947IMCSC function, 948IMDIV function, 948IMEXP function, 948IMLN function, 948IMLOG10 function, 948IMLOG2 function, 948Import Data dialog box, 689Import/Export button, Excel Options dialog box, 568

importing data into worksheetscopying and pasting data, 690from files, 686–688importing text file into specified range, 688–690

IMPOWER function, 948IMPRODUCT function, 948IMREAL function, 948IMSEC function, 948IMSECH function, 948IMSIN function, 948IMSINH function, 948IMSQRT function, 948IMSUB function, 948IMSUM function, 948IMTAN function, 948incorrect reference errors, 655Increase Decimal button, Ribbon, 575Independence Day, calculating date of, 272INDEX function

array argument, 320col_num argument, 320defined, 315, 952returning longest text in range, 404row_num argument, 320

indirect cell dependent, 671–673indirect cell precedent, 671–673INDIRECT function, 389, 952Information Rights Management (IRM) feature, 644Input Message tab, Data Validation dialog box, 592–593Input X Range option, Regression dialog box, 823Input Y Range option, Regression dialog box, 823InputBox function, 870–871, 920Inquire auditing add-in, 671Insert Calculated Field dialog box, 753Insert Calculated Item dialog box, 755Insert Chart dialog box

All Charts tab, 426choosing chart type, 427–428combination charts, 489Recommended Charts tab, 426

Insert Columns option, Protect Sheet dialog box, 646Insert Function dialog box, 207, 866–868Insert Hyperlink dialog box, 637Insert Hyperlinks option, Protect Sheet dialog box, 646Insert Rows option, Protect Sheet dialog box, 646Insert Shapes command, Format Shape task pane, 543Insert Slicers dialog box, 118, 757Insert tab, Ribbon, 10inserting

calculated item, 754–755comments, VBA code, 845

57_9781118490365-bindex.indd 98857_9781118490365-bindex.indd 988 1/24/13 10:12 AM1/24/13 10:12 AM

Page 23: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

989

Index

custom functions, 866–868functions into formulas, 207–209hyperlinks, 637–638page breaks, 182Shapes, 540–541SmartArt, 549special characters, 235WordArt, 553–554worksheet rows and columns, 64–65

Inspect Document option, Check for Issues drop-down list, 156

INT function, 367, 370, 954Integer data type, VBA, 929IntegralHeight property

ListBox control, 899TextBox control, 901–902

interactivity, pivot tables, 715INTERCEPT function, 957interest

annual percentage rate, 340compound, 348–351continuous compounding, 351simple, 347–348time value of money, 334

intermediary links, 621Internet

hyperlinksdefined, 636inserting, 637–638style controls, 639

opening HTML file, 636saving workbooks

in HTML format, 632–636overview, 631–632

sending workbook via e-mail, 642web queries, 639–642

intersection operator, 225–226INTRATE function, 949investment calculations

future value of series of deposits, 352–354future value of single deposit

compound interest, 348–351continuous compounding interest, 351simple interest, 347–348

invisible digital signature, 654IPMT function, 336, 949IRM (Information Rights Management) feature, 644IRR function, 949ISERR function, 290–291ISERROR function, 290–291ISFORMULA function, 201

ISNA function, 290–291ISNONTEXT function, 290ISO.CEILING function, 367ISOWEEKNUM function, 260, 946ISPMT function, 949items, pivot table, 726Iterations option, Solver Options dialog box, 803

JJustify alignment option, Format Cells dialog

box, 127–128

KKeep Source Column Width option, Home tab, 87Keep Source Formatting option, Home tab, 87keyboard

accessing Ribbon with, 14–15navigating within task panes with, 21navigating worksheets with, 8–9selecting chart elements with, 459

keyboard shortcutsediting keys in Formula bar, 963formatting keys, 963–964function keys, 965–966grouping and ungrouping worksheet outlines, 609moving within range selection, 963navigating worksheet, 961–962selecting cells in worksheet, 962

KURT function, 957

LLabel control, UserForm, 876, 891, 898Label Options section, Format Data Labels

task pane, 482Labels section, Format Axis task pane, 472Labor Day, calculating date of, 272landscape page orientation, 179LARGE function, 399, 957LargeChange property, ScrollBar control, 900Last Cell option, Go to Special dialog box, 76Last Point highlighting option, Sparklines, 531layouts

chart, 429–430pivot table, 725SmartArt, 552

LCM function, 954leap year, 257–258Left alignment option, Format Cells dialog box, 126, 128LEFT function, 243, 247, 960

57_9781118490365-bindex.indd 98957_9781118490365-bindex.indd 989 1/24/13 10:12 AM1/24/13 10:12 AM

Page 24: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

990

Index

Left property, 894legend, chart, 466–467LEN function, 391, 960Life argument, depreciation functions, 355line charts, 438–439, 443–444Line Sparklines, 526line width, Sparklines, 531lines, adding to worksheets, 132LINEST function, 957Link To column, Insert Hyperlink dialog box, 637Linked Picture option, Home tab, 88LinkedCell property

CheckBox control, 897ComboBox control, 897defined, 894ListBox control, 899OptionButton control, 899ScrollBar control, 900SpinButton control, 901

linking workbooksexternal reference formulas

changing link source, 619creating link formula by pointing, 615creating links to unsaved workbooks, 616–617general syntax for, 614–615intermediary links, 621modifying source workbook, 620–621opening workbooks with, 617–618overview, 614pasting links, 616renaming or moving a source workbook, 620severing links, 619Startup Prompt dialog box, 618–619updating links, 619using Save As command, 620

general discussion, 613–614List Box control, UserForm, 891List option, Data Validation dialog box, 593ListBox control, UserForm, 876, 898–899ListFillRange property

defined, 894ListBox control, 899

ListFillRange property, ComboBox control, 897ListRows property, ComboBox control, 898ListStyle property, ComboBox control, 898ListStyle property, ListBox control, 899live preview, 136LN function, 954loan calculations

credit card payments, 339–340Data Table feature, 342–345

example, 337–339IPMT function, 336loan amortization schedule, 340–342loan with irregular payments, 346–347NPER function, 337overview, 334–335PMT function, 335PPMT function, 336PV function, 337RATE function, 336–337worksheet functions for, 335

LOG function, 954LOG10 function, 954LOGEST function, 957Logical category functions

AND, 951FALSE, 951IF, 951IFERROR, 951IFNA, 951NOT, 951OR, 952TRUE, 952XOR, 952

logical errors, 655logical values, counting, 290LOGINV function, 944LOGNORMDIST function, 944LOGNORM.DIST function, 957LOGNORM.INV function, 957Long data type, VBA, 929Look In drop-down list, Find and Replace dialog

box, 79, 677Lookup & Reference category functions

ADDRESS, 952AREAS, 952CHOOSE, 952COLUMN, 952COLUMNS, 952FORMULATEXT, 952GETPIVOTDATA, 952HLOOKUP, 952HYPERLINK, 952INDEX, 952INDIRECT, 952LOOKUP, 952MATCH, 952OFFSET, 952ROW, 952ROWS, 952

57_9781118490365-bindex.indd 99057_9781118490365-bindex.indd 990 1/24/13 10:12 AM1/24/13 10:12 AM

Page 25: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

991

Index

RTD, 952TRANSPOSE, 952VLOOKUP, 952

lookup formulascalculating grade-point average, 326–327determining cell address of value within range, 330determining letter grades for test scores, 325–326functions relevant to, 314–315HLOOKUP function, 317–318INDEX function, 319–321looking up exact value, 322–323looking up value by using closest match, 331–332looking up value from multiple lookup tables, 325looking up value to left, 323–324LOOKUP function, 318–319MATCH function, 319–321overview, 313–314performing case-sensitive lookup, 324–325performing two-column lookup, 329–330performing two-way lookup, 327–329VLOOKUP function, 316–317

LOOKUP functiondefined, 315, 952determining whether value appears in range, 401lookup_value argument, 318lookup_vector argument, 318#N/A error value and, 658range references, 319result_vector argument, 318

lookup_array argument, MATCH function, 319lookup_value argument

HLOOKUP function, 317LOOKUP function, 318MATCH function, 319VLOOKUP function, 316

lookup_vector argument, LOOKUP function, 318looping ranges, 919–920Low Point highlighting option, Sparklines, 531LOWER function, 242, 698, 960

MMacro Name option, Record Macro dialog box, 835Macro Options dialog box, 867Macro recorder indicator, Excel screen, 6–7Macro Settings section, Trust Center dialog box, 829MacroOptions method, 867macros. See also recording macros

defined, 827, 833making available from worksheet button, 886making available on Quick Access toolbar, 887

saving workbooks containing, 830Security Warning, 830that can’t be recorded, 852–853

Macros option, Excel Options dialog box, 566–567Madison, Josh, 362Main Tabs, Ribbon, 571Major Tick Marks option, Format Axis task pane, 472malware, 148Manage Rules option, Conditional Formatting

drop-down list, 505Manual Calculation mode, formulas, 223manual grouping, pivot table items, 741–742manual what-if analysis, 778–779manually entering formulas, 205margins, adjusting, 180–181Margins tab, Page Setup dialog box, 180–181Mark as Final option, Protect Workbook

drop-down list, 155Markers highlighting option, Sparklines, 531Martin Luther King, Jr., Day, calculating date of, 271Match Case check box, Find and Replace

dialog box, 79, 677Match Entire Cell Contents check box, Find and Replace

dialog box, 79, 677MATCH function

defined, 315, 952lookup_array argument, 319lookup_value argument, 319match_type argument, 319returning longest text in range, 404

match_type argument, MATCH function, 319Math & Trig category functions

ABS, 953ACOS, 953ACOSH, 953ACOT, 953ACOTH, 953AGGREGATE, 953ARABIC, 953ASIN, 953ASINH, 953ATAN, 953ATAN2, 953ATANH, 953BASE, 953CEILING.MATH, 953COMBIN, 953COMBINA, 953COS, 953COSH, 953COT, 953

57_9781118490365-bindex.indd 99157_9781118490365-bindex.indd 991 1/24/13 10:12 AM1/24/13 10:12 AM

Page 26: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

992

Index

Math & Trig category functions (continued)COTH, 953CSC, 953DECIMAL, 953DEGREES, 953EVEN, 953EXP, 953FACT, 953FACTDOUBLE, 953FLOOR.MATH, 954GCD, 954INT, 954LCM, 954LN, 954LOG, 954LOG10, 954MDETERM, 954MINVERSE, 954MMULT, 954MOD, 954MROUND, 954MULTINOMIAL, 954MUNIT, 954ODD, 954PI, 954POWER, 954PRODUCT, 954QUOTIENT, 954RADIANS, 954RAND, 954RANDBETWEEN, 954ROMAN, 954ROUND, 954ROUNDDOWN, 954ROUNDUP, 954SEC, 954SECH, 954SERIESSUM, 954SIGN, 954SIN, 954SINH, 954SQRT, 955SQRTPI, 955SUBTOTAL, 955SUM, 955SUMIF, 955SUMIFS, 955SUMPRODUCT, 955SUMSQ, 955SUMX2MY2, 955

SUMX2PY2, 955SUMXMY2, 955TAN, 955TANH, 955TRUNC, 955

Max Feasible Solutions option, Solver Options dialog box, 804

MAX function, 200, 404, 957Max property

ScrollBar control, 900SpinButton control, 901

Max Subproblems option, Solver Options dialog box, 804

Max summary formula, Total Row, 111Max Time option, Solver Options dialog box, 803MAXA function, 957maximized window, 50MaxLength property, TextBox control, 901–902MDETERM function, 954MDURATION function, 949MEDIAN function, 957Memorial Day, calculating date of, 272Merge Across option, Format Cells dialog box, 130Merge & Center control, Ribbon, 130Merge Cells option, Format Cells dialog box, 130Merge Conditional Formatting option, Home tab, 88Merge Styles dialog box, 139merging named styles, 139metadata (document properties), 153–154methods, VBA code, 833, 847, 850MID function, 243, 406, 960MIN function, 957Min property

ScrollBar control, 900SpinButton control, 901

Min summary formula, Total Row, 111MINA function, 957Mini toolbar

Chart Element control, 459customizing charts with, 462–463formatting worksheets, 121–122overview, 15

minimized window, 50Minor Tick Mark option, Format Axis task pane, 472MINUTE function, 274, 946MINVERSE function, 954MIRR function, 949missing data, Sparklines, 529–530mixed cell references, 211, 213mixed reference, formula, 305MMULT function, 954

57_9781118490365-bindex.indd 99257_9781118490365-bindex.indd 992 1/24/13 10:12 AM1/24/13 10:12 AM

Page 27: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

993

Index

MOD function, 408–409, 954modal dialog boxes, 19MODE function, 296, 944modeless dialog boxes, 19, 675MODE.MULT function, 957MODE.SNGL function, 957modifying

arguments for function in formula, 209Chart Area, 463–464chart axes, 469–477chart properties, 926–927chart type, 926data used in data series, 479–482named styles, 137–138pivot tables, 729–730Plot Area, 464–465source workbook, 620–621templates, 1643-D charts, 487–488

modules, VBA code, 833, 845money

rounding fractional dollars, 369time value of, 333–334

Month argument, depreciation functions, 355MONTH function, 260, 946More Functions option, Total Row, 111mouse

navigating worksheets with, 9–10selecting chart elements with, 458–459

Move and Size with Cells option, Format task pane, 542Move But Don’t Size with Cells option, Format

task pane, 542Move Chart dialog box, 424, 433Move or Copy dialog box, 55movement keys, worksheet, 9moving

chart elements, 434charts, 424, 433ranges, 918–919tables, 109windows, 50–51

Moving Average tool, 820–821moving ranges. See copying rangesMROUND function

defined, 367, 954rounding to nearest multiple, 368

MsgBox functiondebugging worksheet formulas, 866as UserForm alternative, 871–874

multicell array formulascreating array constant from values in

range, 385–386creating from values in range, 385

displaying calendar in range, 417–418editing rules, 383expanding or contracting, 384generating array of consecutive integers, 388–389overview, 374–375performing operations on, 386–387returning list of unique items in range, 416–417returning nonblank cells from range, 414returning only positive values from range, 413–414reversing order of cells in range, 414–415sorting range of values dynamically, 415–416transposing, 387–388using functions with, 386–387

MultiLine property, TextBox control, 901–902MULTINOMIAL function, 954MultiPage control, UserForms, 876multiple criteria

conditional sums using, 311–312counting cells based on, 292–295

multiple selection (noncontiguous) ranges, 72–73MultiSelect property, ListBox control, 899multisheet ranges, 73–75MUNIT function, 954My Extended Date Functions add-in, 259

Nn argument, ExtractElement function, 865#N/A error, 221, 661Name box, Excel screen, 6–7, 92#NAME? error, 220, 662Name Manager dialog box, 94–95, 668Name property, 894named styles

applying styles, 136–137controlling with templates, 139creating new styles, 138–139merging, 139modifying, 137–138overview, 136

named view, 191–192naming

array constants, 381formulas, 223–228ranges, 91–95worksheets, 54, 152

navigatingdialog boxes, 19tables, 108within task panes, 21worksheets, 8–10

57_9781118490365-bindex.indd 99357_9781118490365-bindex.indd 993 1/24/13 10:12 AM1/24/13 10:12 AM

Page 28: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

994

Index

negation operator, formula, 665Negative Points highlighting option, Sparklines, 531NEGBINOMDIST function, 944NEGBINOM.DIST function, 957nesting IF functions, 315NETWORKDAYS function, 260, 264–265, 946NETWORKDAYS.INTL function, 260, 946New Formatting Rule dialog box

color scale conditional formatting, 510–511creating conditional formatting rules, 506–507data bars conditional formatting, 508

New Name dialog boxformulas, 224naming array constants, 381naming ranges with, 92–93

New page, Backstage view, 162New Rule option, Conditional Formatting drop-down

list, 505New Sheet button, Excel screen, 6–7New Table Quick Style dialog box, 107New Web Query dialog box, 640–641New Year’s Day, calculating date of, 271NewSheet event, 906, 908No Borders option, Home tab, 87No Switch: TRUE or FALSE argument, depreciation

functions, 355NOMINAL function, 949nonblank cells

counting, 289returning from range, 414

noncontiguous (multiple selection) ranges, 72–73nondate string, converting to date, 263nondates, 252None summary formula, Total Row, 111non-numeric data, 741non-object events, 912–914

OnKey event, 913–914OnTime event, 913overview, 912

nonprinting characters, removing, 241–242nonrelative cell references, 213–214nontext cells, counting, 290non-time-of-day values, 282–283Normal distribution, Random Number Generation

dialog box, 822Normal Probability option, Regression dialog box, 823Normal view, printing from, 173–174normalized data, pivot tables, 716–717NORMDIST function, 944NORM.DIST function, 957NORMINV function, 944

NORM.INV function, 957NORMSDIST function, 944NORM.S.DIST function, 957NORMSINV function, 944NORM.S.INV function, 958NOT function, 951NOW function, 202, 260, 274, 946Nper argument, financial functions, 335NPER function, 337, 950NPV function, 950#NULL! error, 221, 662null hypothesis, 824#NUM! error, 221, 662–663Num Lock key, 9number formatting

Accounting category, 47, 576automatic, 44, 574Currency category, 47, 576custom number formats

adding, 48codes for, 580creating, 577–581for dates and times, codes used in creating, 581defined, 576displaying fractions, 586–587displaying leading zeros, 585displaying negative sign on right of number, 587displaying text with numbers, 588filling cell with repeating character, 590formatting dates and times, 587–588scaling values, 582–585specifying conditions, 586suppressing certain types of entries, 589–590testing, 589

Date category, 47, 576default number format, 581Format Cells dialog box, 576Fraction category, 47, 576General category, 47, 576Number category, 47, 576number format string, 578–579overview, 43–44, 573–574Percentage category, 47, 576with Ribbon, 574–575Scientific category, 48, 576Special category, 48, 576Text category, 48, 576Time category, 47, 576using Format Cells dialog box, 45–48using Ribbon, 44–45using shortcut keys, 45, 575

57_9781118490365-bindex.indd 99457_9781118490365-bindex.indd 994 1/24/13 10:12 AM1/24/13 10:12 AM

Page 29: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

995

Index

Number of Variables field, Random Number Generation dialog box, 821–822

Number tab, Format Cells dialog box, 46, 256–257, 576–577

NUMBERVALUE function, 960numeric cells, 290numeric values, worksheet

entering, 30overview, 30

NumSign functionanalyzing, 857–859overview, 856using in worksheet, 857

OObject data type, VBA, 929object model, VBA code, 846object-oriented language, 847objects, VBA code, 833, 846–848Objects option, Go to Special dialog box, 76OCT2BIN function, 361, 948OCT2DEC function, 361, 700, 948OCT2HEX function, 361, 948ODD function, 367, 370–371, 954ODDFPRICE function, 950ODDFYIELD function, 950ODDLPRICE function, 950ODDLYIELD function, 950ODS (OpenDocument Spreadsheet) files, 686, 713Office Clipboard, 81, 85–86, 731Office Compatibility Pack, 160OFFSET function, 315, 952offsetting date using only workdays, 266On Error Resume Next statement, 907one-dimensional arrays

defined, 373horizontal, 378vertical, 379

100% stacked column chart, 440–441one-way data table, 342–344, 780–782OnKey event, 913–914OnTime event, 913Open and Repair option, Open dialog box, 147Open as Copy option, Open dialog box, 147Open dialog box

displaying file preferences, 148filtering file extensions, 686filtering filenames, 147opening workbook from, 146–147organizing workbook files, 153

Open event, 906–907Open in Browser option, Open dialog box, 147Open in Protected View option, Open dialog box, 147Open option, Open dialog box, 147Open Read-Only option, Open dialog box, 147OpenDocument Spreadsheet (ODS) files, 686, 713opening workbooks, 146–149Operation section, Paste Special dialog box, 90operators

operator precedence errors, 664–665operator precedence in formulas, 197–199using in formulas, 196–197

Option Button control, UserForm, 891Option Explicit statement, VBA module, 850OptionButton control, UserForms, 876, 899Or criterion, 295, 312OR function, 952order argument, SERIES formula, 481ordinal number, 250organizing workbooks, 153–155orientation, chart, 430–431outlines, worksheet

adding data to, 611creating automatically, 608creating manually, 608–610displaying levels, 610–611general discussion, 603–606grouping, 609preparing data, 607–608removing, 611symbols, 611–612

Ppadding numbers, 240–241Page Break Preview mode, 175–177page breaks

inserting, 182overview, 181removing, 182

Page Layout tab, Ribbon, 10Page Layout views

Normal view, 173–174overview, 174–175Page Break Preview, 175–177

Page Setup dialog boxMargins tab, 180–181Sheet tab, 183

Page Setup settingsadjusting margins, 180–181background image, 184–185changing page orientation, 179

57_9781118490365-bindex.indd 99557_9781118490365-bindex.indd 995 1/24/13 10:12 AM1/24/13 10:12 AM

Page 30: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

996

Index

Page Setup settings (continued)choosing printer, 178copying across sheets, 189overview, 177–178page breaks, 181–182printing cell gridlines, 184printing multiple copies of report, 180printing row and column headers, 184printing row and column titles, 182–183scaling printed output, 183–184specifying, 178–179specifying paper size, 180

Page View buttons, Excel screen, 6–7paired arguments, 294–295Paired two-sample for means t-test, 824parentheses, use in formulas, 198–199, 201, 656password, workbook, 152–153, 647–649Password dialog box, 648Paste Link option, Home tab, 88Paste Name dialog box, 206–207Paste option, Home tab, 87Paste Special dialog box

consolidating worksheets with, 624overview, 88–90performing mathematical operations without

formulas, 90skipping blanks when pasting, 90transposing range, 90–91

Paste Special option, Home tab, 88pasting data, 690pasting options. See also copying ranges

ranges, 87–88worksheet cells, 87–88

Patterned distribution, Random Number Generation dialog box, 822

PDF (Portable Document Format) files, 192, 651, 713PDURATION function, 950PEARSON function, 958Per argument, financial functions, 335Percent Style button, Ribbon, 575Percentage error bar, 485Percentage number format, 47, 576PERCENTILE function, 944PERCENTILE.EXC function, 958PERCENTILE.INC function, 958PERCENTRANK function, 944PERCENTRANK.EXC function, 958PERCENTRANK.INC function, 958perimeter, calculating, 364Period argument, depreciation functions, 355periodic sample, 824PERMUT function, 958

PERMUTATIONA function, 958Personal Macro Workbook, 842PgDn_Sub procedure, 913–914PgUp_Sub procedure, 914phantom links, 667–668PHI function, 958PI function, 954picture charts, 492–494Picture option, Home tab, 88Picture property

defined, 894Image control, 898

pictures. See graphic toolspie charts, 438–439, 445–446pivot charts, 761–765pivot tables

banking example, 731–737creating automatically, 722–723creating calculated field or calculated item, 750–756creating from non-numeric data, 739–741creating manually

formatting, 727–729laying out, 725modifying, 729–730specifying data, 723–724specifying location for pivot table, 724–725

data appropriate for, 718–721Data Model feature, 771example, 716–718, 765–768filtering

with Slicers, 756–758with Timeline, 758–759

frequency distribution, 304, 748–749grouping items

automatic grouping, 742–748manual grouping, 741–742overview, 741

overview, 715–716pivot charts, 761–765producing report with, 769–770referencing cells within, 759–761reverse, 757terminology, 726–727

Plot Area, chart, 464–465Pmt argument, financial functions, 335PMT function, 335, 950pointing technique, entering formulas, 205–206Poisson distribution, Random Number Generation

dialog box, 822POISSON function, 944POISSON.DIST function, 958Popular Commands option, Excel Options dialog box, 566

57_9781118490365-bindex.indd 99657_9781118490365-bindex.indd 996 1/24/13 10:12 AM1/24/13 10:12 AM

Page 31: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

997

Index

Portable Document Format (PDF) files, 192, 651, 713POWER function, 954Power Utility Pak add-in, 709PPMT function, 336, 950precedents, cell, 671–673Precedents option, Go to Special dialog box, 76Presidents’ Day, calculating date of, 272PRICE function, 950PRICEDISC function, 950PRICEMAT function, 950Print Active Sheets option, Page Setup dialog box, 179Print Entire Workbook option, Page Setup

dialog box, 179Print Preview window, 172Print Selected Chart option, Page Setup dialog box, 179Print Selected Table option, Page Setup dialog box, 179Print Selection option, Page Setup dialog box, 179printing

adding header or footer to reports, 186–188adjusting Page Setup settings

changing page orientation, 179choosing printer, 178copying across worksheets, 189margins, 180–181overview, 177–178page breaks, 181–182printing cell gridlines, 184printing multiple copies of report, 180printing row and column headers, 184printing row and column titles, 182–183scaling printed output, 183–184specifying, 178–179specifying paper size, 180using background image, 184–185

basic, 171–172cell comments, 99–100cell gridlines, 184charts, 436Custom Views feature, 191–192multiple copies of report, 180Normal view, 173–174overview, 171Page Break Preview, 175–177Page Layout view, 174–175preventing certain cells from being printed, 189–190preventing objects from being printed, 190–191row and column headers, 184row and column titles, 182–183worksheets, 26

Private keyword, function procedures, 866–867PRN file format, 687, 713PROB function, 958

procedures, VBA code, 831–833, 845PRODUCT function, 954production model, Scenario Manager, 786–787Project Properties dialog box, 938PROPER function, 242, 698, 960properties, VBA code, 833, 846–847, 848–850Properties dialog box, 178Properties tab, Format dialog box, 190Properties window, UserForm, 876, 892–893Protect Current Sheet option, Protect Workbook

drop-down list, 156Protect Sheet dialog box, 18, 644, 646Protect Structure and Windows dialog box, 649–650Protect Workbook drop-down list, Info pane, 155–156Protect Workbook Structure option, Protect Workbook

drop-down list, 156Protected View, workbook, 148protecting work

Information Rights Management feature, 644Rights Management Services, 644types of, 643VB Project, 650–651workbooks

digital signature, 653–654inspecting, 651marking as final, 651requiring password to open, 647–649structure, 649–650

worksheetsassigning user permissions, 647overview, 644Protect Sheet dialog box, 644, 646saving as PDF, 651unlocking cells, 645–646

Protection field, Add Scenario dialog box, 788Protection tab

Format Cells dialog box, 645Project Properties dialog box, 938

Publish as PDF or XPS dialog box, 651pushpin icon, 146PV function, 337, 950pyramid, calculating volume of, 366Pythagorean theorem, 362–363

QQUARTILE function, 944QUARTILE.EXC function, 958QUARTILE.INC function, 958Quick Access toolbar

actions, 567–568adding macro to, 844

57_9781118490365-bindex.indd 99757_9781118490365-bindex.indd 997 1/24/13 10:12 AM1/24/13 10:12 AM

Page 32: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

998

Index

Quick Access toolbar (continued)adding new commands to, 565–567changing comment shape, 98customizing, 16–18default location, 564making macros available on, 887overview, 6–7, 564Redo tool, 564Save tool, 564Scenarios drop-down list, 789Undo tool, 17, 564using data entry form, 42

Quick Access Toolbar tab, Excel Options dialog box, 565–567

Quick Analysis icon, 71Quick Print option, 171–172QUOTIENT function, 954

Rradar charts, 438–439, 449–450RADIANS function, 361, 363, 954RAND function, 954RANDBETWEEN function, 954Random Number Generation dialog box, 821–822Random Number Generation tool, 821–822random sample, 824Random Seed field, Random Number Generation dialog

box, 821–822range argument

COUNTIF function, 291SUMIF function, 309

range intersections, 225–227Range object

monitoring specific range for changes, 910–911properties, 848

range referencesLOOKUP function, 319using single-cell array formula instead of, 395

range_lookup argumentHLOOKUP function, 318VLOOKUP function, 316

rangeschanging by dragging outline, 480converting tables to, 118copying or moving

to adjacent cells, 84to other sheets, 85overview, 79–80Paste Special dialog box, 88–91pasting options, 87–88pasting with Office Clipboard, 85–86

using drag-and-drop, 83–84using Ribbon commands, 80–81using shortcut keys, 82using shortcut menu commands, 81–82

counting characters in, 390–391counting number of differences in two, 402–403counting number of error values in, 398–399defined, 69determining closest value in, 410determining whether range contains valid

values, 404–406determining whether value appears in, 401–402displaying calendar in, 417–418finding row of value’s nth occurrence in, 404formatting with shortcut keys, 125multisheet, 73–75naming, 91–95noncontiguous, 72–73pasting names into formulas, 206–207reference operators for, 226returning list of unique items in, 416–417returning location of maximum value in, 403–404returning longest text in, 404returning nonblank cells from, 414returning only positive values from, 413–414reversing order of cells in, 414–415selecting, 70summing cells in, 304–305summing every nth value in, 408–409summing largest values in, 399summing range that contains errors, 397–398summing three smallest values in, 391–392versus tables, 103taking picture of, 557VBA macro language

copying, 916copying variable-size range, 916–917counting selected cells, 923–924determining type of selection, 922–923looping, 919–920moving, 918–919multiple selection, 923overview, 915–916prompting for cell value, 920–921selecting row or column, 918selecting to end of row or column, 917–918

Rank and Percentile tool, 822RANK function, 944RANK.AVG function, 958RANK.EQ function, 958Rate argument, financial functions, 335RATE function, 336–337, 950

57_9781118490365-bindex.indd 99857_9781118490365-bindex.indd 998 1/24/13 10:12 AM1/24/13 10:12 AM

Page 33: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

999

Index

reading cell comments, 99read-only properties, VBA code, 848RECEIVED function, 950Recommended Charts tab, Insert Chart dialog box, 426Recommended PivotTables dialog box, 722Record Macro dialog box, 834–835recording macros

absolute versus relative recording, 841adding macro to Quick Access toolbar, 844assigning macro to button, 843assigning macro to shortcut key, 842–843editing macro, 837–838examining macro, 836–837, 839example, 835–836, 838overview, 834–835rerecording macro, 840running macro, 838–839storing in Personal Macro Workbook, 842testing macro, 837, 840

recoveringunsaved work, 151versions of current workbook, 151

rectangle, calculating, 364rectangular solid, calculating, 365Redo tool, Quick Access toolbar, 564#REF! error, 221, 663RefEdit control, UserForms, 876Reference box, Consolidate dialog box, 625reference lines, Sparklines, 533–534refreshing pivot table, 726Regression dialog box, 823Regression tool, 822–823regular expressions, 709relative cell references, 211–212relative recording, macros, 841relative references

conditional formatting, 516–517data validation, 596–597formula errors, 664

Remove Duplicates dialog box, 111–112, 692removing

chart gridlines, 468duplicate rows, 690–691duplicate rows from table, 111–112extra spaces, 698–699nonnumeric characters from string, 409nonprinting characters, 241–242page breaks, 182strange characters, 699titles from names in advanced text formulas, 250worksheet outlines, 611

REPLACE function, 244–245, 960

Replace tab, Find and Replace dialog box, 678Replace Text as You Type option, AutoCorrect

dialog box, 681replacing cell content, 35reports

adding header or footer to, 186–188producing with pivot tables, 769–770Scenario PivotTable, 791Scenario Summary, 791

Reports section, Solver Results dialog box, 801REPT function, 960

creating text histogram, 239–240padding numbers, 240–241repeating character or string, 239

Research task pane, 638resetting

default workbook, 167Quick Access toolbar, 568Ribbon, 571

Residuals option, Regression dialog box, 823resizing

charts, 433windows, 50–51

restored window, 50Restrict Access option, Protect Workbook drop-down

list, 156result_vector argument, LOOKUP function, 318reverse pivot tables, 757Review tab, Ribbon, 11Ribbon

accessing with keyboard, 14–15commands

check box control, 14simple button, 13simple drop-down, 13spinner control, 14split button control, 13toggle button, 13

contextual tabs, 12customizing, 568–571customizing charts with, 462Developer tab, 828–829dialog box launcher, 14number formatting, 44–45, 574–575standard tabs

Add-Ins tab, 11Data, 10Developer tab, 11Formulas, 10Home tab, 10–12Insert, 10Page Layout, 10

57_9781118490365-bindex.indd 99957_9781118490365-bindex.indd 999 1/24/13 10:12 AM1/24/13 10:12 AM

Page 34: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1000

Index

Ribbon, standard tabs (continued)Review, 11View tab, 11

Ribbon Display Options, Excel screen, 6–7Right alignment option, Format Cells dialog box, 127RIGHT function, 243, 960right triangle, calculating, 362–363RightClick event, 912Rights Management Services (RMS), 644ripple effect, formula, 220ROMAN function, 954rotating Shapes, 546ROUND function, 281–282, 367, 667, 954ROUNDDOWN function, 367, 954rounding numbers

currency values, 368–369versus formatting numbers, 366formulas, 367–368fractional dollars, 369INT function, 370rounding functions, 367rounding time values, 281–282rounding to even or odd integer, 370–371rounding to nearest multiple, 368rounding to significant digits, 371TRUNC function, 370

ROUNDUP function, 367, 954Row Differences option, Go to Special dialog box, 76ROW function, 406, 952row labels, pivot table, 726Row numbers, Excel screen, 6–7row outlines, 605row_index_num argument, HLOOKUP function, 317row_num argument, INDEX function, 320rows, table

adding, 108–109deleting, 109removing duplicate rows, 111–112selecting, 108

rows, worksheetadjusting height, 68defined, 8deleting, 65–66duplicate rows

identifying, 692removing, 690–691

hiding, 66highlighting based on value, 518–519inserting, 64–65printing row headers, 184randomizing, 703returning last value in, 412

selecting, 71–72, 918selecting to end of, 917–918

ROWS function, 952RRI function, 950RSQ function, 958RTD function, 952Rule of 72, 352run time, UserForm property controls, 877

SSalvage argument, depreciation functions, 355Sampling tool, 823–824Save As command, 620Save As dialog box, 150Save As pane, Backstage view, 150Save tool, Quick Access toolbar, 564saving

custom templates, 168file for use with older version of Excel, 160workbooks

on Internet, 631–636overview, 26–27, 149–150saving and closing, 924–925that contain macros, 830

worksheets as PDF, 651SayIt function, 862Scale with Document control, Page Layout view, 188scaling printed output, 183–184scatter plots. See XY chartsscattergrams. See XY chartsScenario Manager

defining scenarios, 786–789displaying scenarios, 789–790generating scenario report, 791merging scenarios, 790modifying scenarios, 790

Scenario Name field, Add Scenario dialog box, 788Scenario PivotTable report, 791Scenario Summary dialog box, 791Scenario Summary report, 791Scenario Values dialog box, 788–789Scenarios drop-down list, Quick Access toolbar, 789Scientific number format, 48, 576screenshots, 558Scribble Shape, 541ScrollBar control, UserForm, 876, 891, 900ScrollBars property, TextBox control, 901–902Search drop-down list, Find and Replace dialog box, 677SEARCH function, 244–245, 960search-and-replace feature

overview, 676–677replacing information, 678

57_9781118490365-bindex.indd 100057_9781118490365-bindex.indd 1000 1/24/13 10:12 AM1/24/13 10:12 AM

Page 35: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1001

Index

searching for formatting, 678–679searching for information, 677–678

SEC function, 954SECH function, 954SECOND function, 274, 946security

password-protected workbooks, 152–153Protected View, 148VBA macros, 829–830

Security Warning, macros, 830Select Case programming construct, VBA code, 852Select Data Source dialog box, 467, 479Select Locked Cells option, Protect Sheet dialog box, 646Select Objects control, UserForms, 876Select Unlocked Cells option, Protect Sheet

dialog box, 646selecting

array formula range, 382cell comments, 100cells

by searching, 77–79specific types of, 75–76

chart elementswith Chart Element control, 459–460with keyboard, 459with mouse, 458–459overview, 457–458

to end of row or column, 917–918parts of tables, 108row or column, 918

Selection task paneselecting and hiding objects, 544stacking Shapes, 544

SelectionChange event, 909, 911–912semantic errors, 656Separator argument, ExtractElement function, 865serial numbers

dates, 251–252times, 254–255

SERIES formula, 481–482Series Options section, Format Data Series task pane, 497series_name argument, SERIES formula, 481SERIESSUM function, 954Set Precision as Displayed option, Excel Options

dialog box, 666Settings tab, Data Validation dialog box, 592Setup_OnKey procedure, 913shading

alternate-row, 519checkerboard, 519

formatting worksheets, 131groups of rows, 520

Shape Styles command, Format Shape task pane, 543Shapes

adding text to, 543aligning and spacing, 545–546following hyperlinks from, 639formatting, 543–544grouping, 544–545inserting, 540–541overview, 539reshaping, 546–547Shapes gallery, 540stacking, 544–545

SharePoint, 631SHEET function, 201Sheet tab

Excel screen, 6–7Page Setup dialog box, 183

Sheet tab scroll buttons, Excel screen, 6–7SheetActivate event, 906, 907–908SheetBeforeDoubleClick event, 906SheetBeforeRightClick event, 906SheetChange event, 906SheetDeactivate event, 906SHEETS function, 201SheetSelectionChange event, 906sheet.xltx template, 166short date format, 253Shortcut Key option, Record Macro dialog box, 835shortcut keys

activating worksheet, 52assigning macro to, 842–843editing keys in Formula bar, 963formatting keys, 963–964formatting ranges, 125function keys, 965–966moving within range selection, 963navigating worksheet, 961–962number formatting, 45, 575recalculating formulas, 223selecting cells in worksheet, 962

shortcut menus, Excel 2013, 15–16Show Iteration Results option, Solver Options

dialog box, 803Show Margins option, Print Preview window, 172Show Previous Versions option, Open dialog box, 147ShowChangeCaseUserForm procedure, 936Shrink to Fit option, Format Cells dialog box, 129shrinking text, cell, 129SIGN function, 954

57_9781118490365-bindex.indd 100157_9781118490365-bindex.indd 1001 1/24/13 10:12 AM1/24/13 10:12 AM

Page 36: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1002

Index

Signature Setup dialog box, 654simple button, Ribbon, 13simple drop-down, Ribbon, 13SIN function, 954single criterion, conditional sums using

overview, 309summing values

based on date comparison, 310–311based on different range, 310based on text comparison, 310negative values, 310

Single data type, VBA, 929single file web page, 635single-cell array formulas

computing average that excludes zeros, 400–401counting characters in range, 390–391counting number of differences in two ranges, 402–403counting number of error values in range, 398–399counting text cells in, 392–393defined, 374determining closest value in range, 410determining whether range contains valid

values, 404–406determining whether value appears in range, 401–402eliminating intermediate formulas, 393–394finding row of value’s nth occurrence in range, 404overview, 376removing nonnumeric characters from string, 409returning last value in column, 410–411returning last value in row, 412returning location of maximum value in

range, 403–404returning longest text in range, 404summing digits of integer, 406summing every nth value in range, 408–409summing largest values in range, 399summing range that contains errors, 397–398summing rounded values, 407–408summing three smallest values in range, 391–392using instead of range reference, 395

single-cell goal seeking, 793–796single-factor analysis of variance, 816SINH function, 954Size & Properties section, Format Axis task pane, 475Size command, Shapes, 543sizes argument, SERIES formula, 482SKEW function, 958SKEW.P function, 958Skip Blanks option, Paste Special dialog box, 90SkyDrive, 631

Slicersfiltering pivot tables with, 756–758filtering tables with, 117–118

SLN function, 355, 950SLOPE function, 958SMALL function

defined, 958finding row of value’s nth occurrence in range, 404summing three smallest values in range, 391

SmallChange propertyScrollBar control, 900SpinButton control, 901

Smart Tags, 210, 218, 674, 681SmartArt

changing layout, 552changing style, 552–553customizing, 550–552inserting, 549

smoothing constant (damping factor), 818Solver

allocating resources, 809–810appropriate problems for, 797example, 797–798minimizing shipping costs, 806–809optimizing an investment portfolio, 810–812solving simultaneous linear equations, 804–806

Solver Options dialog box, 802–804Solver Parameters dialog box, 798–799Solver Results dialog box, 801Sort dialog box, 115–118Sort option, Protect Sheet dialog box, 646sorting tables, 113–114source data, pivot table, 727Sparklines

auto-updating, 536Column, 526creating, 527–528customizing

adjusting axis scaling, 532changing colors and line width, 531changing type, 530faking reference lines, 533–534handling hidden or missing data, 529–530highlighting data points, 531sizing cells, 529

displaying for dynamic range, 536–537grouping, 529limitations of, 538Line, 526overview, 525

57_9781118490365-bindex.indd 100257_9781118490365-bindex.indd 1002 1/24/13 10:12 AM1/24/13 10:12 AM

Page 37: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1003

Index

specifying date axis, 535Win/Loss, 526

special characters, inserting, 235Special number format, 48, 576speed, VBA

declaring variable types, 929–930disabling screen updating, 927preventing alert messages, 928simplifying object references, 928–929

spell-checker feature, 680, 708–709Spelling dialog box, 680sphere, calculating, 365Spin Button control, UserForm, 876, 891, 901spinner control, Ribbon, 14split button control, Ribbon, 13splitting text

Flash Fill feature, 695–698overview, 692–694Text to Columns Wizard, 694–695

spreadsheet file formats, 686SQRT function, 955SQRTPI function, 955square, calculating, 364stacked area chart, 448stacked column chart, 440stacking Shapes, 544–545Standard Deviation error bar, 485Standard Error error bar, 485Standard Errors check box, Moving Average

dialog box, 820standard tabs, Ribbon, 10–12STANDARDIZE function, 958Start_Period argument, depreciation functions, 355Startup Prompt dialog box, 618–619Statistical category functions

AVEDEV, 955AVERAGE, 955AVERAGEA, 955AVERAGEIF, 955AVERAGEIFS, 955BETA.DIST, 955BETA.INV, 955BINOM.DIST, 955BINOM.DIST. RANGE, 956BINOM.INV, 956CHISQ.DIST, 956CHISQ.DIST.RT, 956CHISQ.INV, 956CHISQ.INV.RT, 956CHISQ.TEST, 956

CONFIDENCE.NORM, 956CONFIDENCE.T, 956CORREL, 956COUNT, 956COUNTA, 956COUNTBLANK, 956COUNTIF, 956COUNTIFS, 956COVARIANCE.P, 956COVARIANCE.S, 956DEVSQ, 956EXPON.DIST, 956F.DIST, 956F.DIST.RT, 956F.INV, 956F.INV.RT, 956FISHER, 956FISHERINV, 956FORECAST, 956FREQUENCY, 957F.TEST, 956GAMMA, 957GAMMA.DIST, 957GAMMA.INV, 957GAMMALN, 957GAMMALN.PRECISE, 957GAUSS, 957GEOMEAN, 957GROWTH, 957HARMEAN, 957HYPGEOM.DIST, 957INTERCEPT, 957KURT, 957LARGE, 957LINEST, 957LOGEST, 957LOGNORM.DIST, 957LOGNORM.INV, 957MAX, 957MAXA, 957MEDIAN, 957MIN, 957MINA, 957MODE.MULT, 957MODE.SNGL, 957NEGBINOM.DIST, 957NORM.DIST, 957NORM.INV, 957NORM.S.DIST, 957

57_9781118490365-bindex.indd 100357_9781118490365-bindex.indd 1003 1/24/13 10:12 AM1/24/13 10:12 AM

Page 38: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1004

Index

Statistical category functions (continued)NORM.S.INV, 958PEARSON, 958PERCENTILE.EXC, 958PERCENTILE.INC, 958PERCENTRANK.EXC, 958PERCENTRANK.INC, 958PERMUT, 958PERMUTATIONA, 958PHI, 958POISSON.DIST, 958PROB, 958QUARTILE.EXC, 958QUARTILE.INC, 958RANK.AVG, 958RANK.EQ, 958RSQ, 958SKEW, 958SKEW.P, 958SLOPE, 958SMALL, 958STANDARDIZE, 958STDEVA, 958STDEV.P, 958STDEVPA, 958STDEV.S, 958STEYX, 959T.DIST, 959T.DIST.2T, 959T.DIST.RT, 959T.INV, 959T.INV.2T, 959TREND, 959TRIMMEAN, 959T.TEST, 959VARA, 959VAR.P, 959VARPA, 959VAR.S, 959WEIBULL.DIST, 959Z.TEST, 959

status barcounting and summing operations, 287overview, 6–7

StdDev summary formula, Total Row, 111STDEV function, 944STDEVA function, 958STDEVP function, 944STDEV.P function, 958

STDEVPA function, 958STDEV.S function, 958STEYX function, 959stock charts, 453–455Store Macro In option, Record Macro dialog box, 835String data types, VBA, 929strings

counting characters in, 242defined, 231determining if identical, 236extracting all but first word of, 248extracting characters from, 243–244extracting first word of, 247extracting last word of, 246finding and searching within, 244–245removing nonnumeric characters from, 409repeating, 239searching and replacing within, 245

Structures group, Equation Tools, 559style, SmartArt, 552–553Style dialog box, 137–138Style property, ComboBox control, 898styles, chart, 429Sub procedures, VBA code, 831–833, 866, 880. See also

function procedures, VBA codeSUBSTITUTE function, 244, 246, 960SUBTOTAL function, 286, 955subtotals, pivot table, 727subtraction operator, formula, 665SUM function

array constants, 377–378defined, 286, 955single-cell array formulas, 376summing all cells in range, 305summing digits of integer, 406

Sum summary formula, Total Row, 111sum_range argument, SUMIF function, 309SUMIF function

defined, 286, 955single-criterion sum formulas, 309–311

SUMIFS function, 286, 955summary formulas, Total Row, 110–111summing formulas

computing cumulative sum, 305–307conditional sums using multiple criteria, 311–312conditional sums using single criterion, 309–311ignoring errors when summing, 307overview, 285–287, 304summing all cells in range, 304–305summing top n values, 307–308

summing times that exceed 24 hours, 277–280

57_9781118490365-bindex.indd 100457_9781118490365-bindex.indd 1004 1/24/13 10:12 AM1/24/13 10:12 AM

Page 39: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1005

Index

SUMPRODUCT functionarray constants, 377defined, 286, 955

SUMSQ function, 955SUMX2MY2 function, 955SUMX2PY2 function, 955SUMXMY2 function, 955surface, calculating, 366surface charts, 450–451SYD function, 355, 950SYLK (Symbolic Link) files, 687, 713Symbol dialog box, 235Symbolic Link (SYLK) files, 687, 713Symbols group, Equation Tools, 559syntax

errors, 655–656InputBox function, 870MsgBox function, 871

TT function, 960Tab key, navigating tables with, 108Tab list, Excel screen, 6–7tab order, UserForms, 888Tab Order dialog box, 888table filter, pivot table, 727table_array argument

HLOOKUP function, 317VLOOKUP function, 316

tablesconverting to ranges, 118creating, 104–105customizing, 105–107defined, 101filtering, 115–118moving, 109navigating, 108overview, 101–104versus ranges, 103removing duplicate rows from, 111–112rows or columns

adding, 108deleting, 109

selecting parts of, 108sorting, 113–114Total Row, 110–111using formulas in

overview, 215referencing data in table, 219–220summarizing data in table, 215–217using formulas within table, 217–218

TabStrip control, UserForms, 876TAN function, 955TANH function, 955task panes, 20–21TBILLEQ function, 950TBILLPRICE function, 950TBILLYIELD function, 950TDIST function, 944T.DIST function, 959T.DIST.2T function, 959T.DIST.RT function, 959templates

chart, 491–492controlling named styles with, 139creating workbook from, 162–163custom, 167–169default, 165–167locking formula cells, 168modifying, 164overview, 161viewing, 161–162

test scores, determining letter grades for, 325–326testing

custom number formats, 589macros, 837, 840UserForms, 880, 883–884, 886

text. See also text functionsadding to cells, 710–711adding to Shapes, 543advanced text formulas

counting number of words in cell, 250counting occurrences of a substring in cell, 246counting specific characters in cell, 246creating ordinal number, 250extracting all but first word of string, 248extracting first names, middle names, and last

names, 248–249extracting first word of string, 247extracting last word of string, 247overview, 246removing titles from names, 250

changing case of, 698controlling direction, 130–131counting occurrences of specific text, 297–298displaying at angle, 130–131entering, 30–31free-floating, adding to chart, 467matching in list, 704–705merging cells to create additional text space, 129–130overview, 30–31, 231–232replacing or removing in cells, 709

57_9781118490365-bindex.indd 100557_9781118490365-bindex.indd 1005 1/24/13 10:12 AM1/24/13 10:12 AM

Page 40: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1006

Index

text (continued)splitting, 692–697wrapping or shrinking to fit cell, 129

Text Box control, UserForm, 891Text category axis, charts, 474–475Text category functions

BAHTTEXT, 959CHAR, 959CLEAN, 959CODE, 959CONCATENATE, 959DOLLAR, 959EXACT, 960FIXED, 960LEFT, 960LEN, 960LOWER, 960MID, 960NUMBERVALUE, 960PROPER, 960REPLACE, 960REPT, 960RIGHT, 960SEARCH, 960SUBSTITUTE, 960T, 960TEXT, 960TRIM, 960UNICHAR, 960UNICODE, 960UPPER, 960VALUE, 960

text file formats, 687TEXT function, 237–238, 960text functions

changing case of text, 242–243character codes

CHAR function, 234–235CODE function, 234overview, 233–234

counting characters in string, 242creating text histogram, 239–240determining whether two strings are identical, 236displaying formatted currency values as text, 239displaying formatted values as text, 237–238extracting characters from string, 243–244finding and searching within string, 244–245joining two or more cells, 236–237overview, 232–233padding number, 240–241

removing excess spaces and nonprinting characters, 241–242

repeating character or string, 239replacing text with other text, 244searching and replacing within string, 245

Text Import Wizard, 687Text Length option, Data Validation dialog box, 594Text number format, 48, 576Text Options tab, Format Task Pane, 435Text to Columns Wizard, 694–695Text Tools, Power Utility Pak add-in, 709TextAlign property, TextBox control, 901–902TextBox control, UserForm, 876, 901–902Thanksgiving Day, calculating date of, 273themes, document

applying, 141–142customizing, 142–144overview, 140–141

themes, table, 105–106thermometer charts, 494–495ThisWorkbook code module, 9043-D area chart, 4493-D clustered column chart, 441–442Tick Marks section, Format Axis task pane, 472TIME function, 274, 275–276, 280–281, 946Time number format, 47, 576Time option, Data Validation dialog box, 593time value of money, 333–334time-based category axis, charts, 475Timeline, 758–759time-related functions

adding hours, minutes, or seconds to time, 280–281calculating difference between two times, 276–277converting decimal hours, minutes, or seconds

to time, 280converting from military time, 280displaying any time, 275–276displaying current time, 275HOUR function, 274MINUTE function, 274NOW function, 274overview, 274rounding time values, 281–282SECOND function, 274summing times that exceed 24 hours, 277–280TIME function, 274TIMEVALUE function, 274working with non-time-of-day values, 282–283

times. See also time-related functionsentering, 255–256entering current date or time, 42entering into worksheet, 34

57_9781118490365-bindex.indd 100657_9781118490365-bindex.indd 1006 1/24/13 10:12 AM1/24/13 10:12 AM

Page 41: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1007

Index

Excel recognized formats, 255–256formatting, 256–257overview, 251time serial numbers, 254–255

TIMEVALUE function, 274, 276, 280, 946TINV function, 944T.INV function, 959T.INV.2T function, 959Title bar, Excel screen, 6–7Title Options tab, Format Task Pane, 435titles

chart, 465–466removing from names, 250

TODAY function, 260, 946toggle button, Ribbon, 13Toggle Button control, UserForm, 876, 891, 902Tool Tabs, Ribbon, 571Toolbox, VB Editor window, 875–876tools. See also graphic tools; Quick Access toolbar

auditingerror-checking feature, 673–675fixing circular reference errors, 673Formula Evaluator, 675Go to Special dialog box, 668–669Inquire add-in, 671tracing cell relationships, 671–673tracing error values, 673

Camera, 557Descriptive Statistics, 817–818Equation, 559formatting worksheets

Format Cells dialog box, 122–123on Home tab, 120

Formula Evaluator, 410, 675–676Fourier Analysis, 819Histogram, 819–820Mini toolbar, 15, 121–122, 459, 462–463Moving Average, 820–821Random Number Generation, 821–822Rank and Percentile, 822Regression, 822–823Sampling, 823–824T-Test, 824Z-Test, 824

Tools group, Equation Tools, 559Top alignment option, Format Cells dialog box, 128Top Bottom Rules option, Conditional Formatting drop-

down list, 505Top property, 894total, displaying only when all values are

entered, 520–521

Total Row, tables, 110–111trailing minus signs, 711Transition Navigation Keys, 961TRANSPOSE function, 381, 387–388, 952Transpose option

Home tab, 88Paste Special dialog box, 90–91

trapezoid, calculating area, 364TREND function, 959trendlines, chart, 486–487triangle

calculating area, 365right, 362–363

TRIM function, 241–242, 658–659, 698–699, 960TRIMMEAN function, 959TRUE function, 952TRUNC function, 367, 370, 955Trust Center dialog box

Macro Settings section, 829templates, 164

TTEST function, 944T.TEST function, 959T-Test tool, 824Tufte, Edward, 527two-column lookup, 329–330two-dimensional arrays, 373, 379–380, 388Two-sample assuming equal variances t-test, 824Two-sample assuming unequal variances t-test, 824two-way analysis of variance, 816two-way data table, 344–345, 782–785two-way lookup, 327–329Txt argument, ExtractElement function, 865TXT file format, 687, 713Type argument, financial functions, 335Type Your Text Here window, SmartArt, 550

UUndo tool, Quick Access toolbar, 17, 564Unhide dialog box, 56UNICHAR function, 234, 960UNICODE function, 234, 960Uniform distribution, Random Number Generation

dialog box, 822unique values, counting number of, 298–299unit conversions, 359–362unlocking worksheet cells, 645–646Unmerge Cells option, Format Cells dialog box, 130up-bars (candlesticks), stock chart, 453Update option, external reference formulas, 617

57_9781118490365-bindex.indd 100757_9781118490365-bindex.indd 1007 1/24/13 10:12 AM1/24/13 10:12 AM

Page 42: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1008

Index

updatingfonts, 124links, 619pivot tables, 716

UPPER function, 242–243, 246, 698, 960URL, extracting filename from, 703Use a formula to determine which cells to format rule

type, conditional formatting, 507Use AutoFilter option, Protect Sheet dialog box, 646Use Automatic Scaling option, Solver Options

dialog box, 803Use Labels In check boxes, Consolidate dialog box, 625Use PivotTable & PivotChart option, Protect Sheet

dialog box, 646user interface

Quick Access toolbaractions, 567–568adding new commands to, 565–567default location, 564overview, 564Redo tool, 564Save tool, 564Undo tool, 564

Ribbon, 568–571user permissions, worksheet, 647User-defined data type, VBA, 929UserForms

adding accelerator keys, 887adding ActiveX controls, 875–876alternatives

InputBox function, 870–871MsgBox function, 871–874

changing control properties, 876–877creating, 878–879, 882–883defined, 833displaying, 878event handler procedure, 880–881, 884–885events, 877making macro available from worksheet button, 886making macro available on Quick Access toolbar, 887overview, 869–870tab order, 888testing, 880, 883–884, 886VB Editor, 875worksheet controls

adding ActiveX controls, 891–896overview, 889–891

VValidation option, Paste Special dialog box, 89value axis, charts, 425, 469–474

#VALUE! error, 221, 663Value Field Settings dialog box, 728VALUE function, 960Value property

defined, 894ScrollBar control, 900SpinButton control, 901

valuesclassifying, 701–702converting, 700converting formulas to, 230determining cell address of value within range, 330determining whether appears in range, 401–402determining whether range contains valid

values, 404–406displaying total only when all values are

entered, 520–521exact, looking up, 322–323finding row of value’s nth occurrence in range, 404formatted, displaying as text, 237–238formula, not hard-coding, 228hard-code, avoiding in formulas, 779highlighting row based on, 518–519imported, treated as text, 232looking up by using closest match, 331–332looking up from multiple lookup tables, 325looking up values to left, 323–324negative, summing, 310prompting for, 920–921returning location of maximum value in

range, 403–404rounded, summing, 407–408summing based on date comparison, 310–311summing based on different range, 310summing based on text comparison, 310

Values and Number Formats option, Paste Special dialog box, 90

Values & Number Formatting option, Home tab, 88Values & Source Formatting option, Home tab, 88values area, pivot table, 727values argument, SERIES formula, 481Values in Reverse Order option, Format Axis

task pane, 471Values option

Home tab, 88Paste Special dialog box, 89

VAR function, 944Var summary formula, Total Row, 111VARA function, 959variables, VBA code, 847, 850Variant data types, VBA, 929VARP function, 944

57_9781118490365-bindex.indd 100857_9781118490365-bindex.indd 1008 1/24/13 10:12 AM1/24/13 10:12 AM

Page 43: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1009

Index

VAR.P function, 959VARPA function, 959VAR.S function, 959VB (Visual Basic) Editor, 831, 833, 875–876, 894–896VB (Visual Basic) protection, 643, 650–651VBA (Visual Basic for Applications) macro language

charts, 925–927data types, 929–930defined, 833enhancing speed, 927–930Function procedures, 832overview, 827ranges

copying, 916copying variable-size range, 916–917counting selected cells, 923–924determining type of selection, 922–923looping, 919–920moving, 918–919multiple selection, 923overview, 915–916prompting for cell value, 920–921selecting row or column, 918selecting to end of row or column, 917–918

recording macrosabsolute versus relative recording, 841adding macro to Quick Access toolbar, 844assigning macro to button, 843assigning macro to shortcut key, 842–843editing macro, 837–838examining macro, 836–837, 839example, 835–836, 838overview, 834–835rerecording macro, 840running macro, 838–839storing in Personal Macro Workbook, 842testing macro, 837, 840

saving workbooks, 150, 830, 924–925security, 829–830Sub procedures, 831–832writing code

assigning values to variables, 847collections, 846, 848entering and editing code, 844–845For-Next loop, 851function procedures, 846If-Then programming construct, 850–851inserting comments, 845macro that can’t be recorded, 852–853manipulating objects, 846methods, 847, 850modules, 845

objects, 847–848overview, 844procedures, 845properties, 846–847, 848–850Select Case programming construct, 852variables, 850With-End With programming construct, 851–852

vbAbortRetryIgnore constant, MsgBox function, 872vbCritical constant, MsgBox function, 872vbDefaultButton1 constant, MsgBox function, 872vbDefaultButton2 constant, MsgBox function, 872vbDefaultButton3 constant, MsgBox function, 872VBExclamation constant, MsgBox function, 872vbInformation constant, MsgBox function, 872vbOKCancel constant, MsgBox function, 872vbOKOnly constant, MsgBox function, 872vbQuestion constant, MsgBox function, 872vbRetryCancel constant, MsgBox function, 872vbYesNo constant, MsgBox function, 872vbYesNoCancel constant, MsgBox function, 872VDB function, 355, 357, 950vector-based images, 555vertical data, 705–707Vertical scrollbar, Excel screen, 6–7vertical worksheet outlines, 605Veterans Day, calculating date of, 273View tab, Ribbon, 11Visible Cells Only option, Go to Special dialog box, 76visible digital signature, 654Visible property, 894Visual Basic (VB) Editor, 831, 833, 875–876, 894–896Visual Basic for Applications macro language. See VBA

macro languageVisual Basic (VB) protection, 643, 650–651VLOOKUP function

col_index_num argument, 316defined, 315, 952looking up value by using closest match, 326–327lookup_value argument, 316range_lookup argument, 316table_array argument, 316

volume, calculating, 365–366

WWatch Window feature, 62–63watermarks, 185Web category functions, 960Web Options dialog box, 636Web Page files, 713

57_9781118490365-bindex.indd 100957_9781118490365-bindex.indd 1009 1/24/13 10:12 AM1/24/13 10:12 AM

Page 44: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1010

Index

Web Page Preview tool, Quick Access toolbar, 635web queries, 639–642WEBSERVICE function, 960WEEKDAY function, 260, 269, 946WEEKNUM function, 260, 269, 946WEIBULL function, 944WEIBULL.DIST function, 959what-if analysis

data tablesone-way, 342–344, 780–782two-way, 344–345, 782–785

manual, 779overview, 777–778Scenario Manager

defining scenarios, 786–789displaying scenarios, 789–790generating scenario report, 791merging scenarios, 790modifying scenarios, 790

types of, 778Whole Number option, Data Validation dialog box, 593Width property, 894wildcard characters

Find and Replace dialog box, 78SEARCH text function, 245

Window Close button, Excel screen, 6–7Window Maximize/Restore button, Excel screen, 6–7Window Minimize button, Excel screen, 6–7WindowActivate event, 906WindowDeactivate event, 906windows

closing, 52maximized, 50minimized, 50moving and resizing, 50–51overview, 49–50restored, 50switching between, 51

Windows Clipboard, 81Win/Loss Sparklines, 526With-End With programming construct, VBA

code, 851–852Within drop-down list, Find and Replace dialog box, 677WordArt, 553–554WordArt Styles command, Format Shape task pane, 543Words that contain X conditional formatting, 504WordWrap property, TextBox control, 901–902Workbook_BeforeClose procedure, 909Workbook_BeforeSave procedure, 908Workbook_Open procedure, 906–907, 909

workbooks. See also linking workbooksadding worksheets to, 53Backstage view, 145backup options, 157–158chart sheets, 5Check for Issues drop-down list, Info pane, 156closing, 157Compatibility Mode section, Info pane, 156creating, 21–27, 145–146, 162–163defined, 49digital signature, 653–654Encrypt Document dialog box, 152–153events

BeforeClose event, 909BeforeSave event, 908NewSheet event, 908Open event, 906–907overview, 903, 906SheetActivate event, 907–908

file compatibilityCompatibility Checker, 158–159file formats, 159overview, 158saving file for use with older version of Excel, 160

Group mode, 74inspecting, 651marking as final, 651naming ranges in, 92–94Office Compatibility Pack, 160opening, 146–149organizing, 153–155overview, 145password-protecting, 152–153Protect Workbook drop-down list, Info pane, 155–156Protected View, 148pushpin icon, 146reasons to convert to add-ins, 933–934referencing cells in, 214–215requiring password to open, 647–649saving

on Internet, 631–636overview, 26–27, 149–150workbooks that contain macros, 830

sending via e-mail, 642structure, 649–650using AutoRecover, 150–152VBA macro language, 150, 924–925workspace files, 155

WORKDAY function, 260, 266, 946WORKDAY.INTL function, 260, 946

57_9781118490365-bindex.indd 101057_9781118490365-bindex.indd 1010 1/24/13 10:12 AM1/24/13 10:12 AM

Page 45: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1011

Index

worksheet controlsActiveX controls, 896–902adding, 892adjusting, 892creating macros for, 894–896linking to cells, 894overview, 889–891properties, 892–894

worksheet functionsCompatibility category functions, 943–944Cube category functions, 945Database category functions, 945Date & Time category functions, 946Engineering category functions, 947–948Financial category functions, 948–950Information category functions, 951Logical category functions, 951–952Lookup & Reference category functions, 952Math & Trig category functions, 953–955Statistical category functions, 955–959Text category functions, 959–960Web category functions, 960

worksheet ranges. See rangesWorksheet_Change procedure, 910worksheets. See also consolidating worksheets;

formatting worksheets; worksheet functionsactivating, 52adding to workbook, 53assigning user permissions, 647changing tab color, 54–55comparing, 60data types

formulas, 31numeric values, 30overview, 29text, 30–31

data-entry techniques, 36–43defined, 49deleting, 53–54deleting cell content, 34–35draw layer, 5, 29editing cell content, 35–36entering dates and times, 33–34entering formulas into

Formula AutoComplete feature, 203–204function entry tips, 209–210inserting functions into formulas, 207–209manually, 205overview, 202pasting range names into formulas, 206–207by pointing, 205–206

entering text and values, 32–33

eventsChange event, 909–910monitoring specific range for changes, 910–911overview, 903RightClick event, 912SelectionChange event, 911–912

freezing panes, 61–62hiding and unhiding, 57importing data into

copying and pasting data, 690from files, 686–688importing text file into specified range, 688–690

naming, 54, 152navigating

with keyboard, 8–9with mouse, 9–10overview, 8

number formattingautomatic, 44custom format, 48overview, 43–44using Format Cells dialog box, 45–48using Ribbon, 44–45using shortcut keys, 45

numeric limitations, 30preventing sheet actions, 56printing, 26Protect Sheet dialog box, 644, 646rearranging, 55, 57referencing cells in, 214re-naming, 54replacing cell content, 35rows and columns

adjusting, 67–68deleting, 65–66hiding, 66inserting, 64–65

saving as PDF, 651splitting worksheet window into panes, 60–61templates, 166unlocking cells, 645–646viewing in multiple windows, 59–60Watch Window, 62–63zooming, 57–58

workspace files, 155Wrap Text option, Format Cells dialog box, 129wrapping text, cell, 129writing VBA code

assigning values to variables, 847collections, 846, 848entering and editing code, 844–845For-Next loop, 851

57_9781118490365-bindex.indd 101157_9781118490365-bindex.indd 1011 1/24/13 10:12 AM1/24/13 10:12 AM

Page 46: Index [] · add-ins. See also Analysis ToolPak Add-In Manager, 932–933 adding descriptive information, 937 creating, 934–935 creating user interface for, 937–938 defined, 931

1012

Index

writing VBA code (continued)function procedures, 846If-Then programming construct, 850–851inserting comments, 845macro that can’t be recorded, 852–853methods, 847, 850modules, 845objects, 846, 847–848overview, 844procedures, 845properties, 846–847, 848–850Select Case programming construct, 852variables, 850With-End With programming construct, 851–852

XXIRR function, 950XLA file format, 686XLM file format, 686XLS file format, 686XLSA file format, 159XLSB file format, 159XLSK file format, 159XLSM file format, 159XLStart folder, 149, 166XLSX file format, 159XLT file format, 686XLTM file format, 159XLTX file format, 159XML (Extensible Markup Language) files, 688

XML Paper Specification (XPS) files, 713XNPV function, 950XOR function, 952XPS (XML Paper Specification) files, 713XPS format, 192, 651XY (scattergrams; scatter plots) charts

general discussion, 446–448plotting mathematical functions with one

variable, 500–501plotting mathematical functions with two

variables, 501–502

YYEAR function, 260, 266–267, 946YEARFRAC function, 260, 267, 946YIELD function, 950YIELDDISC function, 950YIELDMAT function, 950

Zzeros

computing average that excludes, 400–401distinguishing blank cells from, 321

zip files, 160Zoom control, Excel screen, 6–7zooming worksheets, 57–58ZTEST function, 944Z.TEST function, 959Z-Test tool, 824

57_9781118490365-bindex.indd 101257_9781118490365-bindex.indd 1012 1/24/13 10:12 AM1/24/13 10:12 AM


Recommended