excel notes
what is excel
electronic spreadsheet
In a tabular structure with rows and columns, an electronic spreadsheet program accepts data values and establishes relationships between data values. This enables users to perform calculations using these values. Also, it formats the data in the desired way.
Spreadsheet Glossary
1. Workbook
2. Worksheet
3. row
4. Column
5. Cell
6. Formula
7. Work
Workbook:-
In a tabular structure with rows and columns, an electronic spreadsheet program accepts data values and establishes relationships between data values. This enables users to perform calculations using these values. Also, it formats the data in the desired way.
· . To fill series in column
The shortcut key à + E + I + S
· To insert new Sheet à Shift + F11
To switch between sheets
previous sheet à Ctrl + peg up
Next Sheet à Ctrl + Peg Down
Work:- SUM() Ã This function adds up all the numbers specified in a range.
Syntax: =SUM(number1,number2,……)
Example: =SUM(A3,B3,D3)
come on
=SUM(A3:D3)
· avg() Ã This function returns the average of all the numbers specified in a range.
Syntax: =AVERAGE(number1,number2,……)
Example: = Average (A3, B3, D3)
come on
= more (A3:D3)
· Max() Ã This function returns the largest value in a range
Syntax à = max (number 1, number 2, number 3, …..)
Example: =max(A3, B3,D3)
come on
=max(A3:D3)
· min() Ã This function returns the smallest value in a range
Syntax à =min(number1, number2, number3,…..)
Example: =min(A3, B3,D3)
come on
=MIN(A3:D3)
·
if() Ã This function is used to act as a decision maker. if() is used for conditional calculation or sending message, which is widely used in excel
Syntax à = if (condition, true part, false part)
logic function
1 AND ( )
2. OR ( )
3. NOT( )
4. IF ( )
Operators :->, < , >=, <=, =
AND() :- This function returns TRUE if all the conditions given as arguments are TRUE
Syntax: = AND (Logical 1, Logical 2, Logical 3, ...)
Example: =AND(a1>b1, b1<c1)
OR() :- This function checks whether all the conditions are true or not. Returns TRUE if any one condition is TRUE and FALSE if all conditions are FALSE.
Syntax: = OR (Logical 1, Logical 2, Logical 3,…)
Example: =OR(a1>b1, b1<c1)
NOT( ) :- This function converts True to False and False to True.
Syntax: = not (condition)
Example: =NOT(a1>b1)
IF( ):- This function checks whether the condition is satisfied or not. Return one value if true and another value if false
Syntax: =if (logical test, true part, false part)
Example: =IF(AVERAGE >= 50, "PASS", "FAIL")
=IF(NUMBER>=0,"positive number","negative number")
=IF(age>=18,"Eligible to vote","Not eligible to vote")
NESTED IF: Nested if() is an additional function of if(), which allows us to define one or more if() inside the if body.
Syntax :
= if (condition, true part, if (condition, true part, false part))
Example:
=IF(AVERAGE>=50,"PASS",IF(AVERAGE>=33,"COMPT","FAIL"))
statistics function :
count( ) :
This function counts the number of cells in a specified range
that contain number values.
SYNTAX Ã
=count(value1,value2,…)
EXAMPLE Ã
=count(a1:a9)
COUNTA( ) :
This function counts number of
cells in a specified range that are not empty(count all type of data ).
SYNTAX Ã =counts(value1,value2,…)
EXAMPLE Ã =counts(a1:a9)
COUNTBLANK() :
This function count
the number of empty cells in a specified range.
SYNTAX Ã =countblank(value1,value2,…)
EXAMPLE Ã =countblank
(a1:a9)
COUNTIF():
This function counts the number of cells in a specified range that meets the condition.
SYNTAX Ã
=countif(range,criteria)
EXAMPLE Ã
=countif(a1:a10, “manager”)
OR
=countif(a1:a10,”>30000”)
COUNTIF( ): This
function counts the number of cells in a specified range that meets the
condition.
SYNTAX Ã
=countif(range,criteria)
EXAMPLE Ã
=countif(a1:a10, “manager”)
OR
=countif(a1:a10,”>30000”)
Ans:-
You can record a macro to automate actions in Microsoft Excel that you perform frequently. A macro is an action or series of acts that can be repeated endlessly. You are capturing your keystrokes and mouse clicks when you construct a macro. You can edit a macro after you've created it to make a few tiny modifications to how it functions.
Let's say you write a report for your accounting manager each month. The names of the clients who owe money should be formatted boldly and in red, respectively. To quickly apply these formatting changes to the cells you choose, you can construct and execute a macro.
How to
create buttons using Macro in excel?
1.
Type the data in excel sheet
2.Select the
entire tableà Apply
Filter
3.Start the
Macro (Viewà Record
Macro)
Recording
will start, as per example of Mark sheet data.
4.Click on
the arrow of Result column
a. Select Pass
à ok
5.Now stop
the macro (View à Macro à Stop Recording)
Same
goes for Fail option
For Button:-
6.Go to
Insert Tab à Shapes à Select the shape of your choice
7.Place it in
Sheet à Type the
text over it
To Assign Macro on button
8.Right Click
on the shape
9.Assign Macro
à select the macro to assign
How to
create buttons using Macro in excel?
(Using
Advance Filter)
1.Type the
data in excel sheet
2.Make the
criteria in sheet
3.Start the
Macro (Viewà Record
Macro)
Recording
will start, as per example of Mark sheet data
4.After
starting the macro, Go to Data Tab à Click on
Advance Filter
5.A dialog
box will appear asking for some selection
First will be the action
1.Filter the
list, in-place
2.Copy to
another location
Second
1.List Range à Here, select the entire table
2.Criteria
Range à Select the
criteria long with heading
3.Copy to
another location (optional) Ã It will be
used to show the filtered data in another place. This option will be used only
if you have selected “Copy to another location”.
6.Now stop
the macro (View à Macro à Stop Recording)
For Button:-
7.Go to
Insert Tab à Shapes à Select the shape of your choice
8.Place it in
Sheet à Type the
text over it
To Assign Macro on button
9.Right Click
on the shape
10. Assign
Macro à select the
macro to assign
Comments
Post a Comment