Académique Documents
Professionnel Documents
Culture Documents
Q:-1 What is cell? Explain Active cell and Deactivate cell in Excel
Cell:- It is Intersection of rows and columns.
Active Cell:- In a spreadsheet program such as Excel, the active cell is
identified by a black border or outline surrounding the cell. The active cell is
also known as the current cell or the cell that is in focus.
When an action takes place in the spreadsheet - such as data entry,
formatting, or deleting data - it is the active cell that is affected
Deactivate cell:- Those cell which are not selected by user that is called
Deactivate cell.
Q:-2How many Rows and columns are in Excel?
Rows:- 65536 Cols:- 256 in Excel 2003
Rows:- 1048576 Cols :- 16384 in Excel 2007
Q:-3 What is Work Book and Worksheet in Excel?
A workbook is the MS Excel file in which you enter and store related data.
A worksheet (also known as a spreadsheet) is a collection of cells on a single
sheet where you actually keep and manipulate the data.
Each workbook can contain many worksheets.
Q:-4 what is Ms-Excel? Explain Advantages of Ms-Excel
Microsoft Excel is a powerful spreadsheet application. Which has been
developed by a company of U.S.A. known as Microsoft Corporation with the
help of this software the data is analyzed and the data is also represented
graphically. The sheet of Excel is known as a spreadsheet or worksheet.
Uses of Microsoft Excel:
The uses of Microsoft(MS) Excel are as follows:
(1) Using MS Excel we can prepare payroll of the employees. In this payroll the
information of an employee is kept and his salary can be computed from it.
(2) Result sheets can also be prepared. From the result sheet the total and
percentage of scores can be calculated.
(3) By using MS Excel the account-books can also be prepared such as
Journal, Ledger. Trial Balance, Balance sheet etc.
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
2
(4) By using MS Excel the production information for a specific period are
stored and the Production Schedule can also be prepared and from which the
proper planning programmed can be arranged.
Q:-5 Explain Conditional Formatting in Excel.
Conditional formatting allows you to select one or more cells, and create
rules for when and how those cells are formatted.
You can control the cell font, fill colour and border setting, based on the
selected cell's contents, or based on the contents of another cell.
If the rules (conditions) that you specified are met, then the formatting is
applied.
It comes in Format menu.
Example :- In our mark sheet give red color those who are secure marks below
35.For that we are perform following steps
Step1:- select the criteria for to give conditional formatting. For that go format
menu and choose conditional formatting. In Following example
With the help of format button we can decide specific format for our
condition.
Msc (I.T)
Ms-Excel
3
In Second combo box, it having all the condition like less than, greater then,
less then or equal to, greater then or equal to, between, equal to etc.. we can
specify condition as per our requirement.
If we want to specify more condition then click on add button.
For Delete condition click on Delete button.
Q:-6 Explain Date Function In Excel
1. Date():- This function is used to get the date in the current cell
Syntax:- date(year,month,day)
Example
Output:-11/12/2001
2. Day():-Returns the day of a date, represented by a serial number. The day is
given as an integer ranging from 1 to 31.
Syntax:-DAY(serial_number)
Example:-
3. Days360():-Returns the number of days between two dates based on a 360day year (twelve 30-day months), which is used in some accounting
calculations. Use this function to help compute payments if your accounting
system is based on twelve 30-day months.
Syntax:-DAYS360(start_date, end_date)
Example:-
Msc (I.T)
Ms-Excel
4
4. Now():-Returns the serial number of the current date and time. If the cell format
was General before the function was entered, the result is formatted as a date.
Syntax:-NOW( )
Example:- =Now()
5.Today():-Returns the serial number of the current date. The serial number is the
date-time code used by Microsoft Excel for date and time calculations. If the cell
format was General before the function was entered, the result is formatted as a date.
Syntax:-TODAY( )
Example:- =Today() output:- 8/25/2011
6. Hour ():-Returns the hour of a time value. The hour is given as an integer, ranging from 0
7. Minute ():-Returns the minutes of a time value. The minute is given as an integer, ranging
from 0 to 59.
Syntax
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
5
MINUTE(serial_number)
Serial_number is the time that contains the minute you want to find.
8. Second ():-Returns the seconds of a time value. The second is given as an integer in the
Syntax
SECOND(serial_number)
Serial_number is the time that contains the seconds you want to find.
Msc (I.T)
Ms-Excel
6
Msc (I.T)
Ms-Excel
7
Msc (I.T)
Ms-Excel
8
Msc (I.T)
Ms-Excel
9
Number is the number for which you want to find the remainder.
Divisor is the number by which you want to divide number.
12 Exp()
Returns e raised to the power of number
Syntax
EXP(number)
Number is the exponent applied to the base e.
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
10
12) Rand()
It is use to generate random number
13)PI()
Returns the number 3.14159265358979, the mathematical constant pi, accurate to 15 digits.
14) SIGN()
Determines the sign of a number.
Returns 1 if the number is positive
zero (0) if the number is 0
-1 if the number is negative.
Syntax
SIGN(number)
Number is any real number.
15)Subtotal()
Msc (I.T)
Ms-Excel
11
Returns a subtotal in a list or database. It is generally easier to create a list with subtotals by
using the Subtotal command in the Outline group on the Data tab. Once the subtotal list is
created, you can modify it by editing the SUBTOTAL function.
Syntax
SUBTOTAL(function_num, ref1, ref2, ...)
16)Trunc()
Truncates a number to an integer by removing the fractional part of the number.
Syntax
TRUNC(number,num_digits)
Number is the number you want to truncate.
Num_digits is a number specifying the precision of the truncation. The default value for
num_digits is 0 (zero).
Msc (I.T)
Ms-Excel
12
Example
3. NOT():-Reverses the value of its argument. Use NOT when you want to make
sure a value is not equal to one particular value.
Syntax:-NOT(logical)
Logical is a value or expression that can be evaluated to TRUE or FALSE.
Example:-
Msc (I.T)
Ms-Excel
13
Msc (I.T)
Ms-Excel
14
4.Count():-Counts the number of cells that contain numbers and also numbers
within the list of arguments. Use COUNT to get the number of entries in a
number field that's in a range or array of numbers.
Syntax:- COUNT(value1,value2,...)
Value1, value2, ... are 1 to 30 arguments that can contain or refer to a variety
of different types of data, but only numbers are counted.
Msc (I.T)
Ms-Excel
15
5.CountIf():-Counts the number of cells within a range that meet the given
criteria.
Syntax:- COUNTIF(range,criteria)
Range is the range of cells from which you want to count cells.
Criteria is the criteria in the form of a number, expression, or text that
defines which cells will be counted.
Example:-
6.Counta():-Counts the number of cells that are not empty and the values
within the list of arguments. Use COUNTA to count the number of cells that
contain data in a range or array.
Syntax:- COUNTA(value1,value2,...)
Msc (I.T)
Ms-Excel
16
Msc (I.T)
Ms-Excel
17
Msc (I.T)
Ms-Excel
18
2)Exact( ):- Compares two text strings and returns TRUE if they are exactly the
same, FALSE otherwise. EXACT is case-sensitive but ignores formatting
differences. Use EXACT to test text being entered into a document.
Syntax:-EXACT(text1,text2)
Text1 is the first text string.
Msc (I.T)
Ms-Excel
19
Text2
3)Left( ):- LEFT returns the first character or characters in a text string, based
on the number of characters you specify.
Syntax:- LEFT(text,num_chars)
Text is the text string that contains the characters you want to extract
Example:-
Msc (I.T)
Ms-Excel
20
8)Trim():-Removes all spaces from text except for single spaces between words.
Use TRIM on text that you have received from another application that may
have irregular spacing.
Syntax:- TRIM(text)
Text is the text from which you want spaces removed.
Example:-
9) CHAR()
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
21
Returns the character specified by a number. Use CHAR to translate code page numbers you
might get from files on other types of computers into characters.
Syntax
CHAR(number)
Number is a number between 1 and 255 specifying which character you want. The character is
from the character set used by your computer.
Example:-
10) Code():Returns a numeric code for the first character in a text string. The returned code corresponds to
the character set used by your computer.
Syntax
CODE(text)
Text is the text for which you want the code of the first character.
11) Clean()
Removes all nonprintable characters from text. Use CLEAN on text imported from other
applications that contains characters that may not print with your operating system.
Syntax
CLEAN(text)
Text is any worksheet information from which you want to remove nonprintable characters.
Msc (I.T)
Ms-Excel
22
12) FIND ()
It always counts each character, whether single-byte or double-byte, as 1, no matter what the
default language setting is.
FIND(find_text,within_text,start_num)
Find_text is the text you want to find.
Within_text is the text containing the text you want to find.
Start_num specifies the character at which to start the search.
13 MID()
MID returns a specific number of characters from a text string, starting at the position you
specify, based on the number of characters you specify.
Syntax
MID(text,start_num,num_chars)
Text is the text string containing the characters you want to extract.
Start_num is the position of the first character you want to extract in text. The first character in
text has start_num 1, and so on.
Num_chars specifies the number of characters you want MID to return from text.
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
23
14 Search()
The SEARCH functions locate one text string within a second text string, and return the number
of the starting position of the first text string from the first character of the second text string.
SEARCH(find_text, within_text, [start_num])
find_text Required. The text that you want to find. within_text Required.
The text in which you want to search for the value of the find_text argument.
start_num Optional.
The character number in the within_text argument at which you want to start searching.
15 Rept ()
Repeats text a given number of times. Use REPT to fill a cell with a number of instances of a text
string.
Syntax
REPT(text,number_times)
Text is the text you want to repeat.
Number_times is a positive number specifying the number of times to repeat text.
Msc (I.T)
Ms-Excel
24
Syntax
HLOOKUP( value, table_array, index_number, True/false)
PARAMETERS OR ARGUMENTS
value is the value to search for in the first row of the table_array.
Msc (I.T)
Ms-Excel
25
index_number is the row number in table_array from which the matching value
must be returned.
4. COLUMNS() :Returns the number of columns in an array or reference. Syntax COLUMNS ( array )
Array is an array or array formula
Example:- columns(A1:C10)
5. ROW():-Return the number of row where the formula is being executed
Example;-=row(a2) return 2.
6. ROWS():- It is gives number of rows in given array.
Example:- roes(a1:f8) return 8
Msc (I.T)
Ms-Excel
26
2. ISBLANK ():- Check whether a cell value is blank or not. It will give Boolean value
TRUE or FALSE.
3. ISNONTEXT ():- If a cell value is NONTEXT. It will give Boolean value TRUE or
FALSE.
4. ISNUMBER ():-It is used to check whether the cell value is numeric or not. It will give
Boolean value TRUE or FALSE.
Msc (I.T)
Ms-Excel
27
5. ISTEXT():-It is used to check whether the cell value is Text or not. It will give Boolean
value TRUE or FALSE.
Q:-13 Explain D-Function
Excel has a number of database functions that you can use to find
specific information based on set criteria. The tutorials listed here include
an example to how to use each database function in Excel.
1 DSUM()The DSUM function can be used to add up or sum the values in a column of data
that meet the set criteria.
= DSUM ( database, field, criteria )
2. DMAX():-The DMAX function can be used to find out maximum of data that meet the set
criteria.
= DMAX ( database, field, criteria )
3. DMIN():-The DMIN function can be used to find out minimum of data that meet the set
criteria.
= DMIN ( database, field, criteria )
4 .DAVERAGE():-The DAVERAGE function can be used to find the average value for data that
matches the set criteria.
= DAVERAGE ( database, field, criteria )
5.DCOUNT():-The DCOUNT function can be used to total the values in a column of data that
meet the set criteria.
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
28
Msc (I.T)
Ms-Excel
29
1.
2.
3.
4.
5.
6.
7.
8.
9.
Msc (I.T)
Ms-Excel
30
2.
3.
4.
5.
6.
7.
8.
9.
Choose DataSort.
From the sort by drop down, select the first column you want to sort.
Select to sort in Ascending or descending order.
From the Then by dropdown, select the second column you want to sort.
Select to sort in Ascending or Descending order.
From then by Dropdown, select the third column you want to sort
Select to sort in Ascending or Descending order.
Click Ok.
Msc (I.T)
Ms-Excel
31
2. Choose the chart type for creating chart. In that we select columnar chart
and click Next button.
Msc (I.T)
Ms-Excel
32
That dialog box which is useful for to display our chart in which location.If
you want to display chart in other sheet then click on As object in and choose
other sheet.
After your chart will be display in Sheet 2.
Q:-15 Explain Goal Seek.
A method to find a specific value for a cell by adjusting the value of one
other cell when goal seeking, Excel varies the value in a cell that you specify
until a formula that dependent on that cell returns the result your want.
When you know the desired result of a single formula but not the input value
the formula needs to determine the result, you can use the goal seek .
Its available in Tools menuGoal Seek.
Example:There are two employee ram and shyam. Total pay of them is 1575.
With the help of Goal Seek We can adjust the salary in following example.
Msc (I.T)
Ms-Excel
33
Msc (I.T)
Ms-Excel
34
Fig (a)
Fig (C)
Fig (b)
Fig (d)
Msc (I.T)
Ms-Excel
35
Note:- The Blanks and Non Blanks options are available only if the column you
want to filter contain a blank cell.
Q:-18 Write advance filter. How is it different from auto filter?
The advance filter command enables you to specify relatively complex
criteria. It also enables you to copy the records that meet the specified criteria
to another location in the worksheet.
For Advance filtering we are perform following steps:
1. Enter criteria in any vacant party of the worksheet.
2. Select data, filter, advanced filter command. Excel displays the advanced
filter dialog box
3. Select list range and criteria range.
4. Select the range containing condition as the criteria range.
5. Suppose we want output at another location then define new cell address in
copy to another location option.
6. Click the OK button to apply filtering.
Msc (I.T)
Ms-Excel
36
Example :-
Note:-You can also Specify Multiple Conditions for different columns and
display only the rows that meet all the conditions by using the AutoFilter
Command on the Data Menu.
Difference between auto and advance filter
Auto filter s used for simple filtering.
In Advanced filter its possible that through criteria range you can set any
complex filtering
In auto filter its not provide result to ' copy to another location'
In advanced filter its provide one more option 'copy to another Iocation so we
can view database as well as formatting result at a time
Q:-19 Explain various addressing Mode Excel.
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
37
Msc (I.T)
Ms-Excel
38
Msc (I.T)
Ms-Excel
39
Msc (I.T)
Ms-Excel
40
Msc (I.T)
Ms-Excel
41
Msc (I.T)
Ms-Excel
42
Msc (I.T)
Ms-Excel
43
Msc (I.T)
Ms-Excel
44
Msc (I.T)
Ms-Excel
45
Now, a new menu item (Solver) will appear under Tools menu.
Msc (I.T)
Ms-Excel
46
Target Cell This is the cell that represents the goal or objective of the
In above example, advertising budgets are quarterly defined for a fiscal year. We
will be concentrating on Product B. Initially, product B is having advertising
budget of 10000/- for each quarter.
Msc (I.T)
Ms-Excel
47
Projected
Projected
Projected
Projected
profit
profit
profit
profit
of
of
of
of
Q1
Q2
Q3
Q4
equals
equals
equals
equals
to
to
to
to
The constraint is advertising budget itself. It should not exceed 40000/-. Also,
one more constraint is at least 2000/- must be spent for advertising in each
quarter.
Now, we want solver to maximize the profit by making proper advertising
expense in each quarter.
Following are the steps to get the answer using solver:
1. Position the cursor on F20 (i.e. Total profit) and go to Tools -> solver.
2. Supply following parameters in solver window:
a. Target cell: $F$20 , equal to max
i. i.e. we need maximum profit
b. By changing cells: $B$17:$E$17
i. i.e. we need to modify the quarterly advertising budget such
that the profit is maximized.
c. Constraints: $F$17 <= 40000
i. i.e. total yearly advertising budget must not exceed Rs
40000/d. Constraints: $B$17 >= 2000, $C$17 >= 2000, $D$17 >= 2000,
$E$17 >= 2000
i. i.e. each quarter must have minimum of 2000/- advertising
expense.
Msc (I.T)
Ms-Excel
48
Msc (I.T)
Ms-Excel
49
In Excel
Returns the correlation coefficient of the array1 and array2 cell ranges. Use the correlation
Prepared by: - Vimal Vaiwala (Assistant Professor)
SDJ International College
Msc (I.T)
Ms-Excel
50
coefficient to determine the relationship between two properties. For example, you can examine
the relationship between a location's average temperature and the use of air conditioners.
Syntax
CORREL(array1,array2)
Array1 is a cell range of values.
Array2 is a second cell range of values.
Msc (I.T)