pradeep velugoti lakshman tallam. type in the month name “january” in any cell say a1. now...

27
MS-Excel Manual-2 Pradeep Velugoti Lakshman Tallam

Upload: kiley-setter

Post on 01-Apr-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

MS-Excel Manual-2Pradeep VelugotiLakshman Tallam

Page 2: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Type in the month name “January” in any cell say A1.

Now drag the fill handle to the right to select the range (Do not release the mouse button).

Release the mouse button to create a month name series.

In the similar way we can do it for autofilling of numbers.

Auto Fill Options

Page 3: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Click the mouse button and drag by holding it

Page 4: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 5: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Relative cell reference…◦The reference to cell changes relative to where a formula or function is placed.Eg. If the formula =A5+ B5 is moved down one row it will change to =A6+B6

Cell Reference

Page 6: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Relative cell reference:

Page 7: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Absolute cell reference.◦Suppose that the cell $C$16 is used in a formula. =A9*$C$16

If this formula is copied two rows down it would be

=A11*$C$16The references preceded by the $ do not change.

Cell Reference

Page 8: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

A lot of the things you type into Excel can change. For example, if you type "=B6+C6" into D6, you can easily copy that equation all the way down the page. If you do, however, most of the time the equation will change to "=B7+C7" on the 7th line and "=B8+C8" on the 8th. If you want to keep the equation B6 or D6 without changing, you put a $ in front of the 6. Similarly, you might be copying over, so maybe the letters might change to accommodate your new equation. If you want the letter to stay the same, you put the $ in front of it. Finally, if you don't want the cell value to change, regardless of where you end up putting it or what you end up doing with it, you use both $.

Cell Ref. Continue

Page 9: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Absolute cell reference

Fixed column value B4 for all

rows

Fixed column value B4 for all

rows

Page 10: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

B4 is fixedB4 is fixed

Page 11: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

The V in VLOOKUP stands for vertical. It Searches for a value in the first column of

a table array and returns a value in the same row from another column in the table array.

Syntax VLOOKUP(lookup_value,table_array,col_

index_num,range_lookup)

VLOOKUP()

Page 12: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Lookup_value  The value to search in the first column of the table array. Lookup_value can be a value or a reference. If lookup_value is smaller than the smallest value in the first column of table_array, VLOOKUP returns the #N/A error value.

Table_array  Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent.

Page 13: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

Col_index_num  The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on.

Range_lookup  A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.

Page 14: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 15: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 16: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 17: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 18: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 19: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

You can select between two alternative tasks by evaluating a condition. The evaluation must evaluate to True or False.

Click on Formulas tab and then choose the Insert Function button.

Select the IF function and write the logical statements as shown in the screenshots.

Conditional Statements

Page 20: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 21: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 22: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

We can use IF as an argument within another IF function.

Suppose we want to provide remark to each grade specifically we do that by mentioning the remark independently for each grade like this:

A=Outstanding, B=Good, C=Bad, D=Worst Following slide explains how we can achieve

this.

IF function Nested:

Page 23: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

IF function Loop:

IF function loop format IF LOOPNested If

Page 24: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

=IF(I4="A","outstanding",IF(I4="B","Good",IF(I4="C","bad",IF(I4="D","Worst")))) means

IF condition I4 =“A” is true◦ Outstanding will be printFalse(if the above condition is false check the

following)IF I4=“B” is true

Good is printFalse(if above condition is false check)

IF I4=“C” is trueBad is print

False(if above condition is false )print WORST

Page 25: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do

We can freeze any number of rows or columns in Excel.

So that when we scroll vertically or horizontally , particular row or column remains at the same position in the spreadsheet.

Freezing Rows and Columns

Page 26: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do
Page 27: Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do