Excel Documentation

Embed Size (px)

Citation preview

  • 8/9/2019 Excel Documentation

    1/63

    What is Worksheet?

    Combination of Columns and Rows form a worksheet. It is also calledas a spreadsheet. Number of columns and rows are fixed and are 256and 65536 respectively.

    What is workbook?Number of Worksheets together form aWorkbook. Hence workbook contains large number of worksheets. Excel. You can haveunlimited worksheet in a file. It is limited by the Operating System and the hard diskSpace available.

    What is active sheet?

    It is a sheet in which you are working. This sheet is always highlighted.

    What is a cell, cell address and cell reference?

    Intersection of rows and columns form a cell. Each

    cell has unique address starting with Column letterfollowed by Row number. AG1245 impliesColumn is AG and Row number is 1245. Celladdress is displayed in the name box.

    What is a Range?

    Group of cells together form a range.e.g. A10:A20 is a Range.

    What is a Dependent and Independent (Constant) cell?

    A cell not dependent on other cell is called as constant. Value of dependent cell variesaccording change in value of independent cell or constant.

    What is Chart Sheet?

    It is sheet in a workbook that contains only a Chart. Chart sheets are linked to worksheetdata and the chart is automatically updated according to the changes in the worksheetdata.

    What is mean by Save Workspace?

    This function is used when you want to save / open number of files at the same time. If afile with name Account is save using option Save Workspace, all the Excel files whichwere opened at that time becomes a part of file Account. If you open file Account, allother files will automatically get open.

  • 8/9/2019 Excel Documentation

    2/63

    Module I

    Start

    How To Start Excel 2003

    Start >> All Programs >> Ms-Office >> Microsoft Excel

    How To Create a New Default Excel Workbook

    How To Create A New Excel Workbook Using Template

    Getting Familiar With The Excel ScreenHow To Use Menu

    You can see the contents of a menu byclicking mouse button on a particularmenu on the Menu bar. If you are not ableto see all menus in one click, then do thefollowing.

    >> >>

    Click on this Icon on Standard Toolbar

    File >> New >> On Task pane Click on Blank Document

    Shortcut key Ctrl + N

    File >> New >> On Task pane Click on General Template>> S readsheet Solutions >> O en an Tem late.

    Tools >> Customized >> Options>> Tick the options as shown inthe figure on right

  • 8/9/2019 Excel Documentation

    3/63

    How To Show Or Hide Toolbars

    How To Move Toolbar And Menu Bar

    Moving Around Your CursorHow To Select A Cell Using The Mouse

    Standard and Formatting are thecommonly used toolbars. To show /hide toolbar do the following.

    View >> Toolbar >> Click on thetoolbar you want to display /remove from the screen.

    At the beginning of the toolbarthere is a vertical line called asdragging line. Move cursor to thedragging line, it will turned intofour sided arrow as shown. Dragthe it to move to the particularlocation.

    1. Click on a cell with mouse to select it.2. To select a range click on the beginning

    of the cell and drag it till the end.

  • 8/9/2019 Excel Documentation

    4/63

    Selecting Range In WorkbookHow To Select A Single Cell

    How To Select A Range of Cells

    How To Select A Range Of Cells Using Shift key

    How To Select The Entire Column

    How To Select The Entire Row

    How To Select The Entire Worksheet

    How To Select Non-Adjacent Ranges

    Click with the mouse button to select a single cell, keep mouse button pressand drag to select a range of cells

    Click with the mouse button to select a single cell, keep shift key press and useArrow key to select the range.

    1. Move cursor to the column letter till you get this arrow >> Click to select the column. Or

    2. Position cursor in the column you want to highlight >>kee Ctrl ke ressed and then ress S acebar.

    1. Move cursor to the row number till you get this arrow >> Click to select the row. Or

    2. Position cursor in the row you want to highlight >> keepShift key pressed and then press Spacebar.

    1. Move cursor at the junction of rows andcolumns (i.e. below Name Box) >> Click Or

    2. Press Ctrl +A.

    Keep Ctrl key pressed and go on clicking on

    nonad acent cell.

  • 8/9/2019 Excel Documentation

    5/63

    How To Select Multiple Worksheets

    How To Move To A Cell Using Keyboard

    How To Move Using Go To Command

    How To Move using Name Box

    How To Move Within Selected Range

    How To Move To Other Sheets Within A Workbook

    To move to the end of the column

    To move to the beginning of the column

    To move to the end of the row

    To move to the beginning of the row

    Ctrl +

    Ctrl +

    Press Ctrl + G or F5 function key inreference type the address of the cellyou want to jump to e.g. AF100 >> OK

    Position cursor in the name box, typeaddress of the cell you want to jump toe.g. BY5000 >> Enter.

    Highlight the range, keep on pressingenter key to move the cursor in theselected range as shown the figure.

    1. Click with mouse button to change the active worksheet2. Page Up / Page Down key can also be use to change the

    active sheet in a workbook.

    Keep Ctrl key pressed and go on clicking on sheet to select multiple sheets

  • 8/9/2019 Excel Documentation

    6/63

    Managing Worksheet Information

    How To Copy Information Using Copy And Paste

    How To Copy Information Using Drag And Drop

    How To Move Information Using Cut And Paste

    How To Move Information Using Drag And Drop

    Item Rate Qty Amount

    A 25 2 50

    B 40 3.5 140

    C 35 10 350

    1. Type text given in the figure on the right2. Highlight the text ( Ctrl + * )3. Edit >> Cut or Ctrl + X4. Position cursor where you want to put on

    this copied data

    5. Edit >> Paste or Ctrl + V

    Item Rate Qty Amount

    A 25 2 50

    B 40 3.5 140

    C 35 10 350

    1. Type text given in the figure on the right2. Highlight the text ( Ctrl + * )3. Edit >> Copy or Ctrl + C4. Position cursor where you want to put on

    this copied data5. Edit >> Paste or Ctrl + V

    1. Type text given in the figure on the right2. Highlight the text ( Ctrl + * )3. Move cursor to the border on any side,

    cursor will change to four sided arrow.4. Keep Ctrl key pressed and Drag it to the

    be innin of cell ou want to co to.

    1. Type text given in the figure on the right2. Highlight the text ( Ctrl + * )3. Move cursor to the border on any side,

    cursor will change to four sided arrow.4. Drag it to the beginning of cell you want

    to co to.

  • 8/9/2019 Excel Documentation

    7/63

    How To Insert A New Row

    How To Insert Multiple Rows

    How To Delete Rows

    1. Position cursor on any cell where you want to insert a row.2. Insert >> Rows Or

    1. Position cursor on any cell where you want to insert a row2. Shift + Spacebar3. Ctrl + + Or Shift + Ctrl + =

    1. Position cursor on the row number. It will change itsappearance to arrow Click

    2. Ctrl + +

    1. Right mouse button key on row number >> Insert

    Select the multiple cells or rows and try above for inserting multiple rows.

    1. Position cursor on any cell where you want to insert a row.2. Edit >> Delete >> Select Entire Row >> OK OR

    1. Position cursor on any cell where you want to delete a row

    2. Shift + Spacebar3. Ctrl + -

    1. Position cursor on the row number. It will change its appearance to arrow Click

    2. Ctrl + -

    1. Ri ht mouse button ke on row number >> Delete

    If you press Ctrl + + This Window appears

  • 8/9/2019 Excel Documentation

    8/63

    How To Insert A New Column

    How To Insert Multiple Columns

    How To Delete Columns

    1. Position cursor on any cell where you want to insert a Column.2. Insert >> Columns OR

    1. Position cursor on any cell where you want to insert a Column

    2. Ctrl + Spacebar3. Ctrl + + Or Shift + Ctrl + =

    3. Position cursor on the Column heading (e.g. B or D or F ). It willchange its appearance to arrow Click

    4. Ctrl + +

    2. Ri ht mouse button ke on Column Headin >> Insert

    Select the multiple cells or columns and try above for inserting multiple columns.

    1. Position cursor on any cell where you want to insert a column.2. Edit >> Delete >> Select Entire Column >> OK OR

    1. Position cursor on any cell where you want to delete a column2. Ctrl + Spacebar3. Ctrl + -

    1. Position cursor on the column heading. It will change its appearance to arrow Click

    2. Ctrl + -

    1. Ri ht mouse button ke on column headin >> Delete

    If you press Ctrl + - This Window appears

  • 8/9/2019 Excel Documentation

    9/63

    How To Insert A Cell

    How To Delete A Cell

    Managing Workbook Information

    How To Rename Worksheet

    How To Add (Insert) New Worksheet

    4. Position cursor on the cell where you wantto insert a blank cell

    5. Ctrl + +

    6. Select where you want to shift the existingdata >> OK

    1. Position cursor on the cell where you wantto delete a cell

    2. Ctrl + -3. Select where you want to shift the existing

    data >> OK

    1. Right mouse button Click on the Sheetname Tab >> Rename >> Type the Newname >> Press Enter key OR

    1. Double Click on the Sheet name Tab >>

    Type the New name >> Press Enter key

    1. Insert >> Worksheet OR

    1. Shift + F11 OR

    1. Alt + Shift + F1

    Note:- In Excel 2003 there is no option toinsert a new sheet on the right side ofthe sheet

  • 8/9/2019 Excel Documentation

    10/63

    How To Rearrange Worksheet

    How To Copy Worksheet

    Adjusting Column Width / Row Height

    How To Adjust Column Width Using Mouse

    1. Position cursor on the sheet you want torearrange

    2. Right mouse button click on the sheet name

    tab >> Move or Copy >> select option whereyou want to position the sheet >> OK OR

    1. Click on Sheet name tab You will seethis envelop

    2. Drag this envelop to the position you want andrelease the mouse button. See the sheet getsmoved

    1. Position cursor on the sheet you want torearrange2. Right mouse button click on the sheet name

    tab >> Move or Copy >> Tick on Create aCopy >> select option where you want toposition the sheet >> OK OR

    1. Click on Sheet name tab You will seethis envelop

    2. Keep Ctrl button pressed and Drag thisenvelop to the position you want and release

    the mouse button. See the sheet gets duplicated

    1. Position cursor on the separator linebetween column name header

    2. Cursor will change its appearance to adouble sided arrow as shown the figure,

    keep mouse button pressed and drag tochange the width.

    Note:- Double click on this arrow, totake the max width in the columnto occupy the highest text enter ina cell in that column..

  • 8/9/2019 Excel Documentation

    11/63

    How To Adjust Column Width Using Menu

    How To Adjust Row Height Using Mouse

    How To Adjust Row Height Using Menu

    How To Hide Columns

    1. Highlight the number of columns foryou want to change column width asshown in the figure.

    2. Format >> Column >> Width >> Typerequired width >> Press Enter.

    1. Position cursor on the separator linebetween rows on the row header

    2. Cursor will change its appearance to adouble sided arrow as shown the figure,keep mouse button pressed and drag tochange the width.

    1. Highlight the number of rows for youwant to change row height as shown inthe figure.

    2. Format >> Row >> Height >> Typerequired height >> Press Enter.

    1. Highlight the columns from the columnheader

    2. Right click mouse button on thecolumn header >> Hide OR

    2. Format >> Column >> Hide OR

    1. Ctrl + 0 (0 below function key F8 andnot from numeric key).

  • 8/9/2019 Excel Documentation

    12/63

  • 8/9/2019 Excel Documentation

    13/63

    How To Split A Worksheet In Panes

    How to select sequential / non-sequential worksheets

    How To Hide And Unhide Worksheet

    How To Hide And Unhide Workbook

    How To Format Worksheet Tab

    How To Add Worksheet Background

    Windows >> Split

    1. Do the following to select sequential worksheetsClick on first sheet >> Keep Shift key pressed and click on the last sheet.

    2. Do the following to select sequential worksheetsClick on first sheet >> Keep Ctrl key pressed and go on clicking on thesheet you want to select.

    To hide a active worksheetFormat >> Sheet >> Hide

    To unhide worksheetFormat >> Sheet >> Unhide

    To hide active workbookWindow >> Hide

    To unhide workbookWindow >> Unhide

    Format >> Sheet >> Tab Color

    Format >> Sheet >> Background Select any picture of your choice >> Insert

  • 8/9/2019 Excel Documentation

    14/63

    How To Delete Worksheet Background

    How To Delete a Worksheet

    How To Insert Comment

    How To Use Paste Special Options

    a. All: - This option is same as normalpaste. It copies text, formula, formattingand comments.

    b. Formulas: - It copies only text andformula and not formatting andcomments.

    c. Values: - It copies only values.d. Formats: - This option copies only the

    formula and no text, value or comment.This option is used when we want a

    consistent format.e. Comments: - This option copies onlythe comments.

    f. Validation:- This option will copy onlythe validation and not the data,comments and formats to the destination.

    g. All except borders: - As name suggests. It will not copy borders to the destination.

    Format >> Sheet >> Delete Background

    Right mouse button click on the sheet name,menus will appear as shown in the figure >>Click on Delete >> If sheet is not emptyfollowing message will be display >> Clickon Delete if you want to delete.

    1. Position cursor in the cell in which you want to insert comment.Insert >> Comment

  • 8/9/2019 Excel Documentation

    15/63

    h. Column Widths: - In all other optionsabove column width on the source data willnot be available on the destination. When you select this option, destination columnwidth is automatically adjusted to source column width. Then do the normal pasteoperation to copy the data.

    i. Formulas and number formats: - This option copies only formulas and number

    formats. It does not copy borders, formats and comments.j. Value and number formats: - This option copies only value and number formats. Itdoes not copy borders, formats and comments.

    k. Transpose: - This option will transpose data from column format to row format andvice versa as shown in the figure below. Formula also gets automatically transpose.

    l. Operation:-

    Assignment 1. Multiply the existing numbers by 1.25. The source of input and thedestination of the result should be same.

    Step 1. Type 1.25 in any cell in the worksheet. Here the cell address is A12. Position

    cursor in cell A12.Step 2. Do copy operation Edit >> Copy OR Ctrl + CStep 3. Highlight range from E2 to E10Step 4. Edit >> Paste Special >> Operation Tick on MultiplyStep 5. OK

  • 8/9/2019 Excel Documentation

    16/63

    Complete the following assignment.

    Assignment 2. Increase salary by 1000 for all the employees.Assignment 3. Decrease salary by 1000 for all the employees.Assignment 4. Divide salary by 2

    How To Use Shortcut Menu Using Right Mouse Click

    How To Use Toolbar Button

    Entering Data Into WorksheetHow To Enter Text (Label) Into A Cell

    Highlight the cells. From Toolbar click on the particular Icon to apply thatformatting on the selected cells.

    Very few Icons are available on thetoolbar. To have the more Icons do thefollowing. Bring Icon to increase /decrease font size on the toolbar.

    Tools >> Customized >> Commands>> Format >> Scroll down on the rightwindow and drag the Icon of IncreaseFont Size / decrease font sizeon the toolbar.

    1. Highlight range2. Right mouse click3. You can do the operations

    shown in the figure

    1. Numeric and Nonnumeric data (text) or label can be directly type in the cell2. If you want numeric data to be considered as label. Type apostrophe

    followed by the number.

    Note: - Numbers are always right aligned and text/label left aligned

  • 8/9/2019 Excel Documentation

    17/63

    How To Edit Cell Content

    How To Replace Contents In A Cell

    How To Delete Contents In A Cell

    How To Undo And Redo

    How To Enter Number As A Value Into A CellHow To Enter Number As A Label Into A Cell

    How To Enter Date Into A Cell

    How To Use AutoFill To Enter Text

    1. Press function key F2 to edit cell content OR2. Place cursor in the formula bar and edit the cell content

    1. Position cursor in the cell and type new data. The existing contents willautomatically get replaced

    2. Copy >> Paste OR Cut >> Paste also will replace contents in the cell.

    1. Highlight the range you want to delete2. Press delete key

    1. To UndoEdit >> Undo Clear OR Ctrl + Z

    2. To RedoEdit >> Redo Clear OR Ctrl + Y

    1. You should know if your computer is usingDD/MM/YY or MM/DD/YY format. By default italways use MM/DD/YY FORMAT

    2. If you want to type 19-Aug. Type 19/8 press Enter andtype 8/19 and then press Enter. You will see thedifference as shown in the figure. So which format yourcomputer is using

    1. Type Text 1 in cell A12. Position cursor to the notch in cell A1. Cursor will

    turn to hairy like + sign.3. Keep mouse button pressed and drag it down OR

  • 8/9/2019 Excel Documentation

    18/63

    How To Use AutoFill To Enter Sequence Numbers

    Assignment 5. Type a series with text from Text1 to Text 125

    Assignment 6. Type a series from 1 to 240

    How To Customize AutoFill

    1. Type Text 1 in cell A1 and position cursor

    in A12. Position cursor in the name box type A1253. Keep shift key pressed and press Enter key.

    It will highlight range from A1 to A1254. Edit >> Fill >> Series >> Autofill >> OK

    1. Type 1 in cell A1 and positioncursor in A1

    2. Edit >> Fill >> Series >> Series incolumns >> Type Linear >> Stopvalue 240 >> OK

    1. Type 1 in cell A1 and 2 in cell A22. Highlight range A1:A23. Position cursor to the notch, it will

    turned to the hairy like + sign4. Keep mouse button pressed and drag

    until number 240.

    1. Type 1 in cell A1 and 2 in cell A22. Highlight range A1:A23. Position cursor in the name box type A1254. Keep shift key pressed and press Enter key.

    It will highlight range from A1 to A1255. Edit >> Fill >> Series >> Series in Column

    >> Tick on Trend >> Type Linear >> OK

  • 8/9/2019 Excel Documentation

    19/63

    Assignment 7. Type series of Arithmetic Progression as 2, 6, 10, 14, 18 ..

    Assignment 8. Type series of GeometricProgression as 2, 6, 18,54, 162,

    Assignment 9. How to automatically generate date series.

    1. Type 2 in cell A1 and 6 in cell A22. Highlight range A1:A103. Edit >> Fill >> Series >> Series in

    columns >> Type Linear >> OK

    1. Type 2 in cell A1 and 6 in cell A22. Highlight range A1:A103. Edit >> Fill >> Series >> Series in columns >>

    Type Growth >> Tick on Trend >> OK

    1. Type 10-5 in cell A12. Highlight range A1:A103. Edit >> Fill >> Series >> Series in

    columns >> Type date >> Date unitDay >> Step Value 2 >> OK

  • 8/9/2019 Excel Documentation

    20/63

    Assignment 10. How to type series of only weekdays.

    1. Type 10-5 in cell A12. Type =Text(A1, ddd) in cell B23. Highlight range A1:A10

    4. Edit >> Fill >> Series >> Series incolumns >> Type date >> Date unitWeekday >> Step Value 1 >> OK

    5. Copy formula from B1 up to B10 To getthe day on that particular date.

  • 8/9/2019 Excel Documentation

    21/63

    How To Use Pick List To Enter Data

    Assignment 11. To create drop down to display regions East, North, West, South

    How To Enter Data Into A Range Of Cells

    How To Fill A Range Of Cells With The Same Data

    How To Save A Workbook For The First Time

    1. Highlight range from A1 to A10

    2. Data >> Validation >> Allow >> List>> Source type East,North,West,South>> OK

    3. Position cursor on cell A1 and pickregion from the drop down.

    1. Highlight range from A1 to D102. Presently active cell is A1 type text you want in this cell.>> Enter, now active

    cell is A2, type text >> so on

    1. Highlight range from A1 to D102. Type Shyam >> Enter

    3. Edit >> Fill >> Right OR Ctrl + R4. Edit >> Fill >> Down OR Ctrl + D

    1. File >> Save >> for the first time Save As window appears as shown in thefigure.

    2. You can change drive and select specific folder or you can create a folder.3. Type file name >> Save

  • 8/9/2019 Excel Documentation

    22/63

    How To Save Another Copy Using `Save As'

    How To Save To Another FolderHow To Save Into A DisketteHow To Save Into A Different File Format

    How To Close The Current Workbook

    1. File >> Save As>>2. Select specific folder or you can create a folder.3. Type file name >> Save

    1. File >> Save As>>2. Select specific folder or you can

    create a folder.3. Type file name >> Save as type

    >> select type you want >> OK

    1. File >> Close >> If file is not saved following message appears >> Yes OR

    1. Ctrl + W >> If file is not saved following message appears >> Yes

  • 8/9/2019 Excel Documentation

    23/63

    How To Open A Workbook

    How To Exit Excel 2003

    Keep Fit 1. Formatting Cell Using Toolbar

    a. How To Change Fontb. How To Change Font Sizec. How To Boldd. How To Italice. How To Underlinef. How To Change Font Colorg. How To Align Data In A Cellh. How To Indent Data In A Celli. How To Merge Cells And Center Dataj. How To Change Number To Percentagek. How To Increase / Decrease Decimal Pointsl. How To Copy Format Using Format Painter

    Keep Fit 2. Formatting Cell Using Menu Options

    a. How To Double Underline Using Menu Optionb. How To Align Verticallyc. How To Change Text Orientationd. How To Wrap Text In A Celle. How To Format Numbersf. How To Format Dateg. How To Change Cell Background Color

    1. To Open existing workbookFile >> Open >> Go to the specific folder >> select file >> Open OR

    1. To Open existing workbookCtrl + O >> Go to the specific folder >> select file >> Open

    2. To Open new workbookFile >> New >> From Task pane select Blank WorkbookOR

    2. Ctrl + N

    1. File >> Exit OR

    1. Alt + F4

  • 8/9/2019 Excel Documentation

    24/63

    h. How To Add Outline Borderi. How To Add Double Line Borderj. How To Format Table Using AutoFormat

    Assignment 12. Complete the following assignment to understand above functions.

    DAYSMorning Batch

    (10.00 - 1.30)

    Evening Batch

    (2.30 - 5.30)

    Gobind Sable Gobind Sable

    Shashimukhi Shashimukhi

    Surendra Surendra

    Adikeshav Adikeshav

    Shyamanand ShyamanandKaranjit Kaur Karanjit Kaur

    Kapil Shah Saurav Modi

    Salil Ankola Venkatesh Raghavan

    Rashid Rizvi Ram

    Varshav

    Brajesh

    LU

    NCH

    Mahendra Singh Dhoni

    4th Millennium Corporate Training House

    Training Time Table

    MON

    TUE

    WED

    THU

    FRI

  • 8/9/2019 Excel Documentation

    25/63

    Solution

    1. In cell A1 type 4th Millennium Corporate Training House

    2. In cell A2 type Training Time table

    3. In cell A3 type Days

    4. In cell B3 type Morning Batch >> Alt + Enter >> type 10.00 1.30

    5. Increase width of column B6. In cell C3 type LUNCH

    7. In cell D3 type Evening Batch >> Alt + Enter >> type 2.30 5.30

    8. Type text from B4 B13 i.e. from Gobind sable to Mahendra Dhoni

    9. Highlight cells from B4:B9 >> Move cursor to the border to get four sided arrow>> keep Ctrl key pressed and drag it to cell D4

    10. Type remaining text column D

    11. In cell A4 type Mon >> Highlight A4:A5 >> Click on this icon i.e. Merge andCenter

    12. In the same way do merging for Tue, Wed, Thu and Fri

    13. Highlight from A1:D1 >> Merge and Center

    14. Position cursor in cell A1 >> Click on Format Painter >> Click on cell B1

    15. Increase font size in A1 to 14 and B1 to 10 using Icons i.e. to increase &decrease font size respectively. Make it Bold

    16. Highlight B13:B14 >> Merge and Center >> Left Align

    17. Highlight C3:C14 > Merge & Center

    18. Format >> Cells >> Orientation >> Vertical >> Text alignment Horizontal Center>> Vertical >> Center >> OK

    19. Increase font size of LUNCH to 18 and different font color and background color.

    20. Position cursor in cell A4 and insert one column

    21. Make column A and F of the same width

    22. Highlight A3:A14 >> Merge >> Fill with black color

    23. Position cursor in cell A3 >> Format Painter >> Click on F3

    24. Highlight A15:F5 >> Merge >> Fill with black color

    25. Highlight A1:F >> Merge >> Fill with black color >> Font color white >> Font size14 >> Bold

    26. Highlight B2:F2 >> Merge >> Fill with Gray color >> Font color Black >> Bold

  • 8/9/2019 Excel Documentation

    26/63

    Keep Fit 3. Using Simple Formula

    a. How To Enter A Formula Using Keyboardb. How To Enter A Cell or A Range Reference Using Mousec. How To Use AutoSum To Calculate Total Quicklyd. How To Use Relative Referencese. How To Use Absolute References

    Keep Fit 4. Using Range Name

    a. How To Define A Range Nameb. How To Define A 3-D Range Name Using The Menuc. How To Redefine The Cell References In Range Named. How To Delete A Range Namee. How To Use Range Name In Formula

    Keep Fit 5. Using Simple Functions

    a. How To Enter A Function Directlyb. How To Use Paste Function

  • 8/9/2019 Excel Documentation

    27/63

    Keep Fit 6. Using AutoCalculate And Labels

    a. How To Use AutoCalculate To Calculation Without Using Formulab. How To Accept Labels In Formulasc. How To Use Label (Natural Language) In Formula

    Assignment 13. Do the following assignment to understand simple calculations andAbsolute and Relative reference and Range name the concept of naturallanguage in formula.

    Assignment 14. Do the following assignment to understand Absolute Reference

    1. Type the data given above2. Position cursor in cell D2 >> = B2 * C23. Copy this formula across rows. You can make out the row number

    automatically gets change. If you drag this formula across the column thencolumn number will automatically gets as shown in the figure. This is calledas relative reference. Relative reference is the default setting in Excel.

    4. Put cursor in cell D9 >> Click on summation symbol >> Enter

  • 8/9/2019 Excel Documentation

    28/63

    Assignment 15. Understanding range names the natural languages in formula.

    1. Type the data given above2. Position cursor in cell C4 >> = B4 * B13. Copy this formula across rows. Here we want that B1 should be fixed to get

    the proper result.

    4. Position cursor in cell C4 >> Press function key F2 to edit content of the cell>> position cursor between B and 1 and press function key F4. You will seethat B1 is dollarized as $B$1

    5. Drag this formula and see the result as $B$1 has not change its reference.This is termed as Absolute reference.

    Idea is instead of reference as B2 * C2 I want it as Rate * Qty

    1. Highlight range from B2:B8 >> Position cursor in Name Box Type Rate >>Enter.

    2. Highlight range from C2:C8 >> Position cursor in Name Box Type Rate >>

    Enter3. Press function key F3 to see the range names. It will display the windownamed Paste Name as shown below.

    4. Position cursor in cell E2 >> press F3 function key >> select Rate >> Ok >>press * >> >> press F3 function key >> select Qty >> Ok >> Enter

    5. Copy this formula across the rows.

  • 8/9/2019 Excel Documentation

    29/63

    Assignment 16. With this assignment we will understand data sorting on 1 to 3 fields.Tips to sort data on more than 3 fields. We will also try to understandthe customized sorting.

    a. Sorting data on only one field

    b. Sorting Region wise then Dept wise then Salary with highest salary on the top

    Remember:-

    1. Before going to sort operation there is no need to highlight the database butthe Cursor should be in the data

    2. There should not be any blank row / rows or column / columns in thedatabase. i.e. the database should be continuous.

    1. While sorting on one field, there is no need to go Data >> Sort2. Position cursor on any cell in the column on which you want to sort the data

    >> click on ascending / descending sorting Icon on the toolbar

    Ascending sort Descending sort

    1. Data >> Sort >> Sort by RegionAscending >> Then by DeptAscending >> Then by SalaryDescending >> y least hasHeader row >> OK

  • 8/9/2019 Excel Documentation

    30/63

    c. In Sort window I can sort only on 3 fields. Is it possible to data on more than 3fields?

    d. If I sort on Region I get ascending order as East, North, South, and West andin reverse in descending. But my core business is in South and then in eastthen west and lastly north. Can I have sorting order as South, East, West,North?

    Yes, but for that you need not use Data >> Sort option

    Suppose my sorting order is Region in Ascending >> Dept in Ascending >>Higherdate in Ascending >> Salary in Descending. Do the following to get therequired result.

    Logic: - To get data sorted in order given above you should sort it in thereverse order as shown below

    1. Keep cursor on salary column >> Click on for descending order.2. Keep cursor on Hiredate column >> Click on for descending order3. Keep cursor on Dept column >> Click on for descending order4. Keep cursor on Region column >> Click on for descending order

    Check the data got sorted in the given above.

    Yes. It is possible. This is termed as Custom Sorting. By default Excelfollows normal sorting order. Do the following for the Customized Sorting.

    1. Tools >> Options >> Custom Lists >> As shown in figure below, in thelist window type South,East,West,North (no space in between) >> Add>> OK

    2. Data >> Sort >> Sort by Region Ascending >> Options First key sortorder >> select our defined custom list >> OK >> OK

  • 8/9/2019 Excel Documentation

    31/63

    Assignment 17. Filtering

    There three type of filtering as follows

    Filtering Types Limitations

    AutoFilter Filter only on one field

    Custom Filter Filter only on two fields

    Advanced Filter No limitations can filter on any numberof fields using complex criteria.

    a. Filter data on one department Admin

    You can use Autofilter for this. Do the following

    1. Keep cursor in the database i.e. not on any blank row / column2. Data >> Filter >> AutoFilter3. As shown in the figure below there are Notch on the headers. Click

    on Drop Down of dept >> Select Admin >> All the Adminemployees will get filtered.

    4. See on status bar (above Start button) will be the display of totalfiltered records.

  • 8/9/2019 Excel Documentation

    32/63

    b. Filter data on two department Admin and Personal

    c. Filter on employees between salary range 9000 to 10000

    You can use Custom Filter for this. Custom filter is inbuilt into theAutofilter. Do the following

    1. Keep cursor in the database i.e. not on any blank row / column2. Data >> Filter >> AutoFilter3. Click on Drop Down of dept >> Select Custom, following window

    appears >> Show rows where >> equals >> Admin >> Click on logicalfunction OR >> Show rows where >> equals >> Personal >> OK

    4. See on status bar (above Start button) will be the display of total filtered

    Do the following

    1. Data >> Filter >> AutoFilter >> Salary Drop down select Custom filter asfollows >> OK

  • 8/9/2019 Excel Documentation

    33/63

    d. How can I extract unique records from a column?

    e. How to filter data on more than 2 fields.

    You can use Advanced Filter for this. Window for advanced filter is shownin the figure below.

    Parameters of advanced filter are

    a. List Range: - The database onwhich you are going to do thefiltering.

    b. Criteria: - The criteria onwhich you want to do thefiltering.

    c. Copy to:- This window isenabled when you selectaction as copy to anotherlocation. Filtered records canbe copied directly the locationreferred in copy to window.

    Do the following

    1. Type the criteria at some place in the worksheet as shown in the figurebelow. Criteria should have the header same as in the List range followedby various parameters from that field.

    Do the following to extract unique recordsfrom dept field.

    1. Data >> Filter >> Advanced filter >>List range highlight complete deptcolumn (Move cursor on column headeryou will get this arrow >> click toselect >> keep cursor in the criteria range>> highlight dept column >> select radiobutton Copy to another location >> keepcursor ion copy window >> selectlocation J1 >> Tick on Unique recordsonly >> OK

  • 8/9/2019 Excel Documentation

    34/63

    f. How to filter on salary range from 9000 to 10000 using advanced filter

    2. Insert seven rows above and in rangeA1:A4 type criteria as shown in thefigure above. This criteria means wewant to data filter on admin, Personaland mktg from Dept field.

    3. Keep cursor on the database and not onthe criteria.

    4. Data >> Filter >> Advanced filter >>List range is automatically selected >>keep cursor in Criteria range >> Scrollup and select range A1:A4 as shown in

    the figure >> OK.

    Note: - In advanced filter criteria, between rows it follows OR logicalfunction and between columns it follows AND logical function.Hence for the above scenario can be represented by followingcriteria.

  • 8/9/2019 Excel Documentation

    35/63

    g. Practice ExercisesOne. Filter records for Admin from North, Personal from West, Mktg

    from east, and Finance from any region.

    Two. Filter records for admin from north with salary greater than or equalto 9000, Personal from West for any salary range, Mktg from Eastwith Salary less than or equal to 7000, and Finance from any regionbetween salary range 9000 to 15000 inclusive.

    Assignment 18. Text to columns

    When you pull data from database it comes in form of a CSV (Comma Separated Values)file or a text file. You need to convert this file to excel format to on it. For this conversionText to Column function is use.You need to describe your data if is Delimited orFixed Width

    Delimited : - Here the fields are separated by a special characters such as Tab,Semicolon, Comma, Space or any other character. The text enclosed inthe double quote is considered as one field.

    Fixed Width : - Here the width of each field is known. This helps you to separate thefields in the database manually.

    a. Separate delimited data to excel format

    Do the following to get the result

    1. Keep cursor in the database >>Data >> Filter >> Advanced filter>> select range as shown in the

    Advanced filter window asfollows.

    Do the following

    1. Open a file named Comma Separated Values2. Select a sheet named delimited 13. Highlight data from Column A4. Data >> Text to Columns following window appears in the sequence >> Next >>

    select delimiter as Space and remove Tab >> Determine data type for eachcolumn as General, Text, Date format or skip a particular column.

    5. Select the destination where you want to copy

  • 8/9/2019 Excel Documentation

    36/63

    Note: Data type general converts numeric values to numbers, date values to dates andall remaining values to text.

  • 8/9/2019 Excel Documentation

    37/63

    b. Separate fixed width data to text format for the field ID (width 1), YM (Yearand Month width 7), Guest ID (width 9), Vehicle No. (width 10) Room No(width 4), and Gift Item (width 1)

    1 1999-01111111111G1-1-106881231N2 1999-00222222222A1-6-490561221Y3 1999-02111111111S1-3-551191510N4 1999-03222222222G1-1-110501211N5 1999-03111111111G1-1-108081220N6 1999-04222222222G1-1-284691220N7 1999-05111111111G1-1-284691221N8 1999-05222222222G1-2-694351520N

    Do the following

    1. Open file named as Fixed width following widow appears2. Click on Fixed width >> Next >> select columns with width given >> delete

    column at the end as shown the figure below.3. Finish4. Insert one row above >> Give the column heading

  • 8/9/2019 Excel Documentation

    38/63

    Assignment 19. Creating Chart

    Creating Chart Using Chart Wizard

    ID Year / Month Guest Code Vehicle No Room No. Gift

    1 1999-01 111111111 G1-1-10688 1231 N

    2 1999-00 222222222 A1-6-49056 1221 Y

    3 1999-02 111111111 S1-3-55119 1510 N

    4 1999-03 222222222 G1-1-11050 1211 N5 1999-03 111111111 G1-1-10808 1220 N

    6 1999-04 222222222 G1-1-28469 1220 N

    7 1999-05 111111111 G1-1-28469 1221 N8 1999-05 222222222 G1-2-69435 1520 N

    Do the following

    1. Open file Excel assignment and select Product sheet2. Highlight the data from A1:E5

    3. Insert Chart OR Click on this symbol >> window appear as shown >> selectchart type >> Next >> Select option series in Rows / Columns >> Next4. Give titles, Legend on bottom see other options and select if required >> Next5. Place chart as ob ect in Product >> OK

  • 8/9/2019 Excel Documentation

    39/63

    Product wise details

    0

    500

    1000

    1500

    2000

    2500

    3000

    3500

    4000

    2001 2002 2003 2004

    Year

    Amount

    Product 1 Product 2 Product 3 Product 4

  • 8/9/2019 Excel Documentation

    40/63

    Keep Fit 7. How To Use Chart Wizard

    a. How To Move Chartb. How To Resize Chartc. How To Change Chart Type

    d. How To Change Chart Source Data

    e. How To Swap Data Series In Legend With The X-axis

    f. How To Move Existing Chart To Another Worksheet

    Assignment 20. Changing Chart Options

    a. How To Change Chart Title, X axis And Y axis Titleb. How To Change Gridlinesc. How To Change Legend Optionsd. How To Change Data Labelse. How To Add Data Tablef. How To Delete Data Seriesg. How To Add Data Series Using Mouseh. How To Delete Chart

    Assignment 21. Formatting Chart

    a. How To Change Font Formatb. How To Change Text Orientationc. How To Change Object Colord. How To Change The Order Of Data Seriese. How To Use Combination Of Chart Typef. Modify existing chart with new datag. How To Create A Pie Charth. How To Use 3-D View To Rotate Charti. How To Explode A Wedge In Pie Chartj. How To Create A Picture Chart

    Ri ht mouse button click on chart >> Chart t e

    Ri ht mouse button click on chart >> Source data

    Ri ht mouse button click on chart and >> Chart o tions >> Le end >> Bottom

    Right mouse button click on chart and >> Location >> as in object select sheet inwhich you want to move the chart.

  • 8/9/2019 Excel Documentation

    41/63

  • 8/9/2019 Excel Documentation

    42/63

    b. Create Pivot report on Salary sheet to calculate total number ofemployees working in each region and total salary paid to them.

    Region SalaryTotal

    Employees

    east 177900 20

    north 354800 40

    south 178400 20

    west 163800 20

    Grand Total 874900 100

    Do the following

    1. Keep cursor on any record on thesalary sheet. No need to highlight allthe records.

    2. Data >> Pivot Table and Pivot Chart>> Select option from where you aregoing to pull data >> Next >> Checkfor the proper range >> Layout >>Drag Region on Row Area >> DragSalary on Data Area >> Double clickon Sum of salary and change name toSalary >> OK >> Once again DragSalary on Data Area >> Double clickon Salary >> Change name to TotalEmployees >> Summarized by Count>> OK >> OK

    3. Pivot table report tick on Newworksheet >> Finish

    4. Change the format report to report 4by clicking on Icon

    5. To have report for north and westClick on Drop Down on the regionfield and remove tick on east andwest >> OK as shown in the figure.

  • 8/9/2019 Excel Documentation

    43/63

    c. Create report for Region wise and Department wise total number

    of employees and total salary paid.

    Do the following

    1. Right mouse button click on PivotTable >> Wizard >> Layout

    2. Drag field Dept on column >> OK >>Finish

    3. This report is in the row formatchange to format report 4

    4. To get Region wise and Dept wisereport Got to Layout mode and dragRegion above Dept >> OK >> Finish

    5. To get concise report as shown aboveRight mouse button click on fieldRegion >> Group and Show Details>> Hide Detail

    6. To get the detailsRight mouse button click on fieldRegion >> Group and Show Details>> Show Detail

    7. Pivot table report can be sorted onany field.

    Region Dept SalaryTotal

    Empl

    eastAdmin 19000 2CCD 28000 3Director 15000 1Finance 8500 1Mktg 29400 4

    Personal 16900 2

    R&D 30600 4

    Sales 30500 3

    north

    Admin 33000 4

    CCD 58900 7

    Finance 25000 2Mktg 52200 7

    Personal 46100 5

    R&D 62600 7

    Sales 77000 8

    south

    Region DeptSalary

    Total Empl

    east 177900 20

    north 354800 40

    south 178400 20

    west 163800 20

    Grand Total 874900 100

  • 8/9/2019 Excel Documentation

    44/63

    d. Calculated Fields to create field not available in the database.

    Do the following to get a calculated fieldas 40% of Salary

    1. Go to Layout mode2. Remove all field from Row / Column

    / Data area3. Drag field First Name on Row >>

    Salary on data area >> OK >> Finish4. Keep button on Pivot Table >> On

    Pivot Table Toolbar >> Pivot Table>> Formula >> Calculated Field >>Name Type as Bonus >> Formula =40%*Salary (Click on Salary >>

    Insert Field) >> Add5. See in the Layout mode Bonus field

    is created.

    First

    Name Salary Bonus

    Aakash 9000 3,600.00

    Aalam 8100 3,240.00

    Aalok 9000 3,600.00

    Andre 9000 3,600.00Ankur 9000 3,600.00

    Anuradha 11000 4,400.00

    Arun 5300 2,120.00

    Asha 11000 4,400.00

    Beena 16900 6,760.00

    Bharat 11000 4,400.00

  • 8/9/2019 Excel Documentation

    45/63

    e. Show the Top Paid Employees

    Do the following to get 5 Top PaidEmployees

    1. Right mouse button click on FieldFirst name as shown in the Figure >>Field Settings >> Advanced

    2. Auto sort options >> Descending >>

    Using field Sum of Salary3. Top 10 Auto Show On >> Show >>

    Top >> 5 >> Using field >> Sum ofsalary >> OK >> OK

  • 8/9/2019 Excel Documentation

    46/63

    f. How can I find out number of employees in different salary rangestarting from minimum salary paid and incrementing by 2600

    Do the following

    1. Go to Layout with fields in the Row /and Data area as shown in the figure>> See the output

    2. Right Mouse Button Click on SalaryField >> Group and Show Detail >>

    Group >> In Grouping window >>By >> type 2601 >> OK see there ort as shown in the fi ure

  • 8/9/2019 Excel Documentation

    47/63

  • 8/9/2019 Excel Documentation

    48/63

  • 8/9/2019 Excel Documentation

    49/63

    Assignment 24. Vlookup

    a. What is Vlookup?

    Vlookup is Vertical Lookup (Hlookup is Horizontal Lookup). Vlookupis used when data is vertically arranged. Vlookup extract one value ata time. This function is very commonly used in corporate. In Excel,the Vlookup function searches for value in the left-most column oftable array and returns the value in the same row based on the indexnumber. Parameters in Vlookup function are as follows.

    Lookup_value : Is the value to be found in the first column of the table. I can bea value, a reference, or a string. This field is mandatory

    Table_array : It is a database where you are going search for a record. Thisfield is mandatory

    Col_index_num : It is the column number in table array from which the matchingvalue should be returned. The Lookup_value is always the firstcolumn and accordingly the column numbers are counted. Thisfield is mandatory

    Range_lookup : It is a logical value True / False. False means you are lookingfor the exact match. True means you are looking for the closestmatch. This field is not mandatory. Hence it is not bold.

    b. Following is an example of a pay slip in the super market. When youpurchase items, at the payment counter they move scanner through thebarcode on tag and the name of the item and the rate gets entered intothe computer.

  • 8/9/2019 Excel Documentation

    50/63

    Lookup_value : These barcodes are the unique code numbers given to each item

    as shown in the figure below. For Cinthol the barcode number isA005. For the first entry this value gets entered into cell B8.Hence the lookup value is B8 which refers to A005. For the

    subsequent entr the number will get entered into B9, B100

    Table_array : When you give the Lookup_value as A005 where should itsearch for that value? There should be a master table where alldetails of the items are recorded. This is the Table_array. Therange for the Table_array is A2:C15. Make it absolute as we aregoing to drag this formula.

    Col_index_num : By default column of the code number in the Table_array isconsidered as the first column. The subsequent columns will be2, 3,4 respectively. Hence for Product column number is 2 and

    for Rate it will be 4.

    Range_lookup : 0 / 1 False / True

  • 8/9/2019 Excel Documentation

    51/63

    Assignment 25. Simple calculations for the Business query

    a. How many employees are working in our factory?b. What is the total CTC (Cost to the Company) for all employees?c. What is the average of CTC?d. What is the Maximum salary?e. What is Minimum salary paid?

    To get answer to the business queries give above, open salary sheet and execute thefollowing formulas.

    Do the following

    1. Keep cursor in cell C8 >> Type Vlookup >> Ctrl + A Vlookup window getsopened as follows.

    2. Enter the details as shown in the figure below >> press Enter3. Do the same for rate in Cell D8. Here the Col_index_num is 3.4. Highlight B8:C8 and Drag this formula across the row5. Keep on typing code number in B9, B10, B11, B12 the Product and Rate will

    automatically gets entered in the respective cells in column C and column D.

    1

    23

    4

    5

    J K

    Total Employees =COUNT(H2:H101)

    Total CTC =SUM(H2:H101)Average CTC =AVERAGE(H2:H101)

    Maximum CTC =MAX(H2:H101)

    Minimum CTC =MIN(H2:H101)

  • 8/9/2019 Excel Documentation

    52/63

    Assignment 26. Conditional calculations for the Business query

    a. Department wise strength of the employeesb. Department wise CTC

    For the first query we will use Countif function, and for the second query we will useSumif function.

    When you open countif function it asks for the following parameters

    Range : It is the Range of department as $D$2:$D$101Criteria : For which department. Cell ref J8 which refers to Director

    When you open sumtif function it asks for the following parameters

    Range : It is the Range of department as $D$2:$D$101Criteria : For which department. Cell ref J8 which refers to DirectorSum_range : From which range to pull the values for Summation

    $H$2:$H$101

    7

    8

    9

    10

    11

    12

    13

    14

    15

    J K L

    Dept Total Employees Total salary

    Director =COUNTIF($D$2:$D$101,J8) =SUMIF($D$2:$D$101,J8,$H$2:$H$101)

    Admin =COUNTIF($D$2:$D$101,J9) =SUMIF($D$2:$D$101,J9,$H$2:$H$101)

    Personal =COUNTIF($D$2:$D$101,J10) =SUMIF($D$2:$D$101,J10,$H$2:$H$101)

    Finance =COUNTIF($D$2:$D$101,J11) =SUMIF($D$2:$D$101,J11,$H$2:$H$101)

    Mktg =COUNTIF($D$2:$D$101,J12) =SUMIF($D$2:$D$101,J12,$H$2:$H$101)

    Sales =COUNTIF($D$2:$D$101,J13) =SUMIF($D$2:$D$101,J13,$H$2:$H$101)

    CCD =COUNTIF($D$2:$D$101,J14) =SUMIF($D$2:$D$101,J14,$H$2:$H$101)

    R&D =COUNTIF($D$2:$D$101,J15) =SUMIF($D$2:$D$101,J15,$H$2:$H$101)

  • 8/9/2019 Excel Documentation

    53/63

    Assignment 27. Using Logical Functions

    A logical calculation gives more flexibility to answer the Business Query. This powerfuloption makes you very flexible to find out answers on What If Analysis? But it is thestepping stone towards learning Macros and VBA (Visual Basic Application the

    Programming Language used to write Macros). Try to understand the concept of LogicDevelopment to become more comfortable in putting the ideas into formulas to getanswer to the Business Queries.

    Execute the following Management Query on Salary worksheet

    Mgmt Query 1. Calculate DA as 60% of Basic salary

    In the database given above First row is the header row and the actual data start fromsecond row. To execute the Mgmt Query do the following.

    78

    9

    10

    1112

    13

    14

    15

    J K L

    Dept Total Employees Total salary

    Director 1 15000

    Admin 10 85000

    Personal 12 105100

    Finance 7 72000Mktg 18 137400

    Sales 18 173900

    CCD 16 137900

    R&D 18 148600

    1

    234

    5678910

    A B C D E F G H

    Empcode First Name Last Name Dept Region Deptcode Hiredate Salary

    16 Aakash Dixit Admin east 70 1-Mar-80 9,000.0074 Suraj Saksena Admin east 70 25-Oct-88 10,000.0054 Lalita Rao CCD east 50 1-Nov-86 9,000.00

    64 Timsi Desai CCD east 50 26-Oct-88 10,000.0053 Vishal Virsinghani CCD east 50 3-Mar-95 9,000.0012 Sheetal Desai Director east 80 12-Dec-84 15,000.0015 Aalok Trivedi Admin north 70 1-Mar-83 9,000.0060 Anuradha Zha Admin north 70 25-Nov-87 11,000.0046 Vicky Joshi Admin north 70 7-Feb-88 9,000.00

    1. Keep cursor in cell I1 type DA

    2. Keep cursor in cell I2 type =60%*H2 since Basic salary for first record is in cell H23. Copy this formula for all records.

  • 8/9/2019 Excel Documentation

    54/63

    Mgmt Query 2. Calculate DA as 60% for employees of Admin and for all othersit should be 50%

    Dept DA

    Admin 60%

    Other than Admin 50%

    Note : - these types of query need some conditional logical expressions to find out if theemployee is from Admin or any other dept. The conditional statement used isIF. To work effectively you should understand Syntax of IF condition.

    Syntax

    Mgmt Query 3. Calculate DA as 60% for all employees of Admin and Personaland for all others it should be 50%

    Dept DA

    Admin 60%

    Personal 60%

    Other than Admin 50%

    For solving this Mgmt Query we should have thorough understanding of Logic gates.There are three Logical gates as follows.

    =if (Condition, Formula_if_true, Formula_if_false)

    If the condition is True then control will get transferred to Execute Formula_if_true andif it is False Formula_if_false will be executed

    While writing the condition we should see the Dept column. For the first record weshould check whether D2 contains Admin. You can write it as D2=admin.

    Note:- Excel is not Case sensitive. Hence you can type command in any case. But thetext data must be enclosed in (Double quote).

    Therefore we can write whole condition as

    =If(D2=admin,60%*H2,50%*H2)

    Type above conditional statement in cell J2 and analyze the report.

  • 8/9/2019 Excel Documentation

    55/63

    Note 1:- To understand OR get in a Nutshell. If any one Input to it is True theoutput will go True. i.e. the get will be opened.

    Note 2:- To understand AND get in a Nutshell. If any one Input to it is False the

    output will go False. i.e. the get will be closed. To open AND gates all theinputs to this Gate must be True.

    You can decide which Logical Gate you would use from the following conversation.

    For the first record you would like to D2 check for Admin / Personal. I would put it asfollows.

    Since D2 can have both the departments. Hence AND out put will always go to falsewhich will give DA as 50% to all the employees. Analyze OR gate will go True if any ofthe condition is True. And False when both the conditions are False. Hence here weshould use OR Gate. Now we will se how to use this OR gate along with IF condition.

    D2=admin D2=personal AND Output OR Output

    1 0 0 1

    0 1 0 1

    0 0 0 0

    OR

    A B O/P0 0 0

    0 1 1

    1 0 1

    1 1 1

    AND

    A B O/P0 0 0

    0 1 0

    1 0 0

    1 1 1

    NOT

    A B O/P0 0 0

    0 1 0

    1 0 0

    1 1 1

    D2=Admin

    D2=Personal

    D2=Admin

    D2=Personal

    =IF(OR(D2=admin,D2=Personal), 60%*H2, 50%*H2)

    1. Here with D2 contains admin / personal output of OR Gate will go True hence DAwill be calculated as 60% of Salary.

    2. For any other departments output of OR Gate will go False hence DA will becalculated as 50% of Salary.

  • 8/9/2019 Excel Documentation

    56/63

    Mgmt Query 4. Calculate DA as 60% for all employees of Admin from RegionEast and all others it should be 50%

    Dept Region DA

    Admin East 60%

    All Others 50%

    In this scenario both conditions i.e. D2=admin , E2=East should be True for DA to60%. Hence we need to use AND Gate.

    Mgmt Query 5. Calculate DA as 60% for all employees of Admin / Personal fromRegion East and all others it should be 50%

    Dept Region DAAdmin

    PersonalEast 60%

    All others 50%

    In this scenario both conditions i.e. D2=admin , E2=East should be True for DA to60%. Hence we need to use AND Gate.

    Mgmt Query 6. Company has decided to give increment to the employees based onRegions as follows.

    Dept Region

    East 900

    North 1200

    West 2000

    South 1700

    =IF(AND(D2=admin,E2=East), 60%*H2, 50%*H2)

    =IF(AND(OR(D2=admin,D2=Personal),E2=East),60%*H2, 50%*H2)

    Analyze your output with different combinations

    This is the example of Nested IF conditions. In the case above there are 4 conditions.Hence we will need 3 nested IF. Excel allows maximum seven nested IF.

    =IF(E2=East,900,IF(E2=North,1200,IF(E2=West,2000,1700)

  • 8/9/2019 Excel Documentation

    57/63

    Mgmt Query 7. Write down command for the following Query.

    Dept Region DA

    Admin

    PersonalEast 60%

    MktgSales

    North 50%

    CCD West 65%

    All Others 40%

    Assignment 28. Conditional Formatting

    Conditional Format : A format, such as cell shading or font color, that Excelautomatically applies to cells if a specified condition is true.

    a. Highlight all the numbers between 9000 and 10000 inclusive.

    1. Highlight text where you want to apply conditional formats. This is Mandatory.2. Format >> Conditional Formatting >> Condition 1 Cell Value Is between 9000 and

    100003. Format >> Font >> Font style Bold >> Color Green >> Pattern Maroon >> Border all

    border >> OK >> OK

  • 8/9/2019 Excel Documentation

    58/63

    b. Highlight Admin department

    c. Highlight Admin and Mktg with different colors

    1. Highlight text where you want to apply conditional formats. This is Mandatory.2. Format >> Conditional Formatting >> Condition 1 Cell Value Is equal to >> =admin3. Give the required format >> OK >> OK

    1. Highlight text where you want to apply conditional formats. This is Mandatory.2. Format >> Conditional Formatting >> Condition 1 Cell Value Is equal to >> =admin

    >> Give the required format3. Add >> Condition 2 Cell Value Is equal to >> =mktg >> Give the required format

    >> OK >> OKNote:- You can have maximum three conditions like this

  • 8/9/2019 Excel Documentation

    59/63

    d. How to remove conditional formatting

    e. How to highlight the whole row when condition is True

    1. Highlight text where you want to apply conditional formats. This is Mandatory.2. Format >> Conditional Formatting >> Delete >> Tick condition you want to delete >>

    OK >> OK

    1. Highlight text where you want to apply conditional formats. This is Mandatory.2. Format >> Conditional Formatting >> Condition 1 >> select from drop down Formula

    Is >> =$D1=admin >> Give required formatting >> OK >> OK

  • 8/9/2019 Excel Documentation

    60/63

    g. Do the following Exercise to understand Data Validation

    a. Validate for whole number from 1 to 10 inclusive.b. Validate for Decimal number from 1.75 to 8.39 inclusive.c. Validate for drop down for Region North, South, East, and

    West.d. Validate for drop down for Dept by using Range Names.e. Validate for date. Person less than18 years of age should not be

    allowed.f. While typing duplicate should not be allowed.g. I have received data with lots of duplication. How can I easily

    find out the duplicate data?h. How To Compose Data Input Messagei. How To Create Error Alert Message

    h. Do the following Exercise for Financial functions

    a. What are the different parameters use to Calculate EMI (PMT),Principal amount (PPMT), Interest amount (IPMT

    b. How to calculate IRR for a series of periodic cash flow.c. How to calculate IRR for a series of periodic cash flow,

    considering both cost of investment and interest on investmentof cash.

    d. How to calculate IRR for a series of non-periodic cash flow.

    i. Using Comments

    a. for a series of periodic cash flow.b. How To Add Comment Into A Cellc. How To Show Commentsd. How To Show/Hide Comment Indicatorse. How To Edit And Delete Comments

    j. Setting Up Page

    a. How To Insert And Remove Page Breakb. How To Set And Clear Print Areac. How To Change Page Orientationd. How To Change Scalinge. How To Change Paper Sizef. How To Change Page Marging. How To Align To Center Of Pageh. How To Add Header / Footer

  • 8/9/2019 Excel Documentation

    61/63

    k. Previewing and Printing

    a. How To Print Previewb. How To Print Active Sheetsc. How To Print Selected Cells

    d. How To Print Charte. How To Multiple Copies

    l. Protecting Worksheet Style, Contents and Elements

    a. How To Protect The Worksheetb. How To Unprotect The Worksheetc. How To Unlock Cell For Editing In Protected Sheetd. How To Hide Cell Formula In Protected Sheete. How To Set Password To Edit Specific Rangef. How To Grant Selected Users Edit Range Without Password

    Creating New Workbook Using Template

    How To Create A New Workbook Using Built-In Template On Your ComputerHow To Create A New Workbook Using Template On Office OnlineHow To Create A New TemplateHow To Create New Workbook From Own TemplateHow To Edit The Template

    Protecting Your Workbook From Unauthorized Users Access

    How To Protect The Workbook StructureHow To Unprotect The Workbook Structure

    Protecting Your Workbook From Unauthorized Users AccessHow To Set Password To OpenHow To Remove Password To OpenHow To Set Password To Modify

    Auditing Worksheets And Tracing Cell References

    How To Select Cells That Contain FormulaHow To Watch FormulasHow To Find Cells That Provide Data To An Active Cell (Precedents)How To Find Cells That Referred By An Active Cell (Dependents)How To Hide All The Auditing Arrows

  • 8/9/2019 Excel Documentation

    62/63

    Tracing Errors

    How To Circle And Remove Circle For Invalid DataHow To Correct Calculation ErrorsHow To Set Error Checking Options

    How To Scan And Correct All Errors

    Customizing Data Appearance With Advance Formatting

    How To Use Build-In Number FormatsHow To Custom Number FormatHow To Custom Date Format

    Maintaining Format Consistency With Style

    How To Add Style Box Tool To The Toolbar

    How To Create New StyleHow To Apply StylesHow To Redefine StyleHow To Delete StyleHow To Merge Style From Another Workbook

    Using Data Outlining

    How To Create An Outline AutomaticallyHow To Remove OutlineHow To Create Outline ManuallyHow To Use Subtotal To Create OutlineHow To Show / Hide Details Using Outline SymbolsHow To Remove Subtotal

    Managing Data in Multiple Worksheets

    How To Select Adjacent WorksheetsHow To Select Non-Adjacent WorksheetsHow To Enter Data Into Multiple Worksheets

    Using 3-D Formula Across Worksheets

    How To Enter 3-D Formula Across WorksheetsHow To Enter 3-D Formula Across Worksheets Using Function

  • 8/9/2019 Excel Documentation

    63/63