Advance tools in excel
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Advance</strong> <strong>tools</strong> <strong>in</strong> <strong>excel</strong>
Microsoft Office 2007<br />
MS-Excel 2007
Explore ways to create more <strong>in</strong>telligent spreadsheets us<strong>in</strong>g advanced elements<br />
• such as:<br />
– Functions<br />
– <strong>Advance</strong> formatt<strong>in</strong>g<br />
– Validation<br />
– Lookup Tables<br />
– Audit<strong>in</strong>g<br />
– Customizations<br />
– Pivot Tables<br />
– Etc.<br />
Objectives<br />
MS-EXCEL 2007<br />
4/23/2015 3
• Spreadsheet software<br />
– Electronic spreadsheet organizes <strong>in</strong>formation <strong>in</strong>to software def<strong>in</strong>ed columns and<br />
rows<br />
• Released <strong>in</strong> 1987<br />
MS-EXCEL 2007<br />
About us<br />
• Orig<strong>in</strong>ally written for use on Mac<strong>in</strong>tosh Apple computers<br />
• Excel file have extension .xlsx (.xls for Previous versions of Excel)<br />
4/23/2015 4
Different way to open Excel<br />
MS-Excel Screen<br />
1. Go to Start>Program>Ms Office > Ms office 2007<br />
2. Start > Run > Type and press “enter”<br />
3. Start > Run > Browse > program > ms office > Office12 > Excel<br />
4/23/2015 5
MS-Excel Screen Description<br />
1 Active Cell<br />
2 Formula Bar<br />
3 Cell Format Controls<br />
4 Expand Formula Bar<br />
5 Record Macro<br />
6 Active Sheet<br />
7 Inactive Sheet<br />
8 New Sheet<br />
9 Status Bar<br />
10 Page Layout<br />
11 Page Zoom<br />
Sheet Management <strong>in</strong> Excel 2007<br />
Total Rows <strong>in</strong> a Sheet 2007 1048576<br />
Total column <strong>in</strong> a Sheet 2007 16384<br />
4/23/2015 6
MS-Excel Screen Description<br />
4/23/2015 7
Part of MS-Excel W<strong>in</strong>dow<br />
4/23/2015 8
Cell Addresses or Cell References<br />
Absolute Vs. Relative Addresses<br />
• Assume you enter the follow<strong>in</strong>g formulae <strong>in</strong>to cell C1:<br />
=A1+B1<br />
• If you copy the formula from C1 and paste this formula <strong>in</strong>to cell C2, Excel will<br />
automatically change the formula to reflect the new position<br />
=A2+B2<br />
4/23/2015 9
Cell Addresses or Cell References (Contd…)<br />
Absolute Addresses (Cell Reference)<br />
• Sometimes you want the cell address to be “locked”. If you cut and paste it, the<br />
address will be same.<br />
• In order to create locked or absolute cell formulas, you enter $ <strong>in</strong> front of the<br />
row number and column letters<br />
– =$A$1+$B$1<br />
4/23/2015 10
Cell Addresses or Cell References<br />
Relative Addresses<br />
If the formula <strong>in</strong> cell C1 is copied & pasted <strong>in</strong> C2 & C3, the follow<strong>in</strong>g will result<br />
A B C<br />
1<br />
2<br />
3<br />
4<br />
4 7 =$A$1+$B$1<br />
6 3 =$A$1+$B$1<br />
8 1 =$A$1+$B$1<br />
5 2 ????<br />
4/23/2015 11
Cell Addresses or Cell References<br />
Relative Addresses<br />
• If you paste this formula <strong>in</strong>to a bunch of cells, Excel automatically adjusts the<br />
formula to reflect the relative position of the new formula to the orig<strong>in</strong>al form.<br />
4/23/2015 12
Cell Addresses or Cell References<br />
Relative Addresses<br />
If the formula <strong>in</strong> cell C1 is copied & pasted <strong>in</strong> C2 & C3, the follow<strong>in</strong>g will result<br />
A B C<br />
1<br />
2<br />
3<br />
4<br />
4 7 =A1+B1<br />
6 3 =A1+B1<br />
8 1 =A1+B1<br />
5 2 ????<br />
4/23/2015 13
Custom Formatt<strong>in</strong>g<br />
Highlight<strong>in</strong>g Duplicate Records<br />
• Select the column you want to search for duplicates.<br />
• In the Styles group on the Home tab, click the Conditional Formatt<strong>in</strong>g button, po<strong>in</strong>t to<br />
Highlight Cells Rules, and then click Duplicate Values.<br />
• Click the values with arrow, then click Custom Format.<br />
• In the Format Cells dialog box, set the formatt<strong>in</strong>g you want to use.<br />
• Click the OK button <strong>in</strong> each dialog box.<br />
4/23/2015 14
• When we create a data and we want to<br />
check the data with same value of<br />
duplicate value<br />
Custom Formatt<strong>in</strong>g<br />
Check Duplicate Value<br />
• A rule specifies the type of condition<br />
for check<strong>in</strong>g of Duplicates<br />
• such as > Select data > Go to<br />
Conditional Formatt<strong>in</strong>g tab > Highlight<br />
Cell Rules > Duplicate Vales).<br />
• Once data entered with same value<br />
will formatted the both value.<br />
4/23/2015 15
Custom Formatt<strong>in</strong>g<br />
Rule Manager<br />
• Each time you create a conditional format, you are def<strong>in</strong><strong>in</strong>g a conditional formatt<strong>in</strong>g<br />
rule<br />
• A rule specifies the type of condition (such as formatt<strong>in</strong>g cells greater than a specified<br />
value), the type of formatt<strong>in</strong>g when that condition occurs<br />
4/23/2015 16
Conditional Formatt<strong>in</strong>g<br />
Rule Manager<br />
• Sometimes it is convenient to<br />
have data po<strong>in</strong>ts that matches<br />
certa<strong>in</strong> criteria formatted with<br />
different colors/styles.<br />
• Let’s say we want that RH data<br />
are is greater than 50% colored <strong>in</strong><br />
red and the those less than 40%<br />
colored <strong>in</strong> blue<br />
• We can do this by us<strong>in</strong>g<br />
“Conditional Formatt<strong>in</strong>g”<br />
Greater than 10 Above average Duplicate values<br />
10 11 8 59 62 27 17 46 71<br />
6 10 9 24 55 61 9 60 98<br />
5 1 1 54 63 56 64 26 30<br />
3 11 6 22 75 12 70 44 35<br />
2 11 6 34 32 35 94 75 36<br />
12 2 3 84 42 52 80 45 62<br />
9 4 2 42 32 57 69 57 76<br />
2 2 5 3 1 72 7 31 43<br />
10 9 9 50 34 33 77 22 2<br />
6 3 11 58 25 28 16 30 48<br />
Words that conta<strong>in</strong> X Data Bars Color Scale<br />
apple kite urn 4 5 4 1 11 21<br />
baby light viol<strong>in</strong> 6 5 4 2 12 22<br />
cry max wax 8 8 8 3 13 23<br />
dog night X-ray 2 6 9 4 14 24<br />
elf oxen young 5 10 7 5 15 25<br />
fox purple zebra 3 2 3 6 16 26<br />
garage oxen angle 7 3 5 7 17 27<br />
hex right boy 6 6 7 8 18 28<br />
icon sled chump 5 7 2 9 19 29<br />
jewel turtle dusty 2 4 4 10 20 30<br />
Icon Set Icon Set Custom Rule<br />
79 59 90 3 1 2<br />
73 79 20 3 2 3<br />
34 30 19 2 2 3<br />
47 99 58 1 1 2<br />
72 81 49 2 2 2<br />
55 26 34 2 3 3<br />
64 52 68 1 2 2<br />
35 55 17 2 2 1<br />
13 78 30 1 2 2<br />
77 84 7 1 2 1<br />
68 87 77 1 1 1<br />
4/23/2015 17
Cell Addresses or Cell References<br />
You can create your rule as per<br />
requirement<br />
4/23/2015 18
MS-Excel Functions<br />
Function Syntax<br />
=keyword(cell or cell range)<br />
No spaces<br />
Lowercase<br />
Always beg<strong>in</strong> with =<br />
4/23/2015 19
Functions<br />
Database Functions<br />
DMAX<br />
DAVERAGE<br />
DCOUNTA<br />
DGET<br />
DSUM<br />
ABS<br />
4/23/2015 20
This function exam<strong>in</strong>es a list of <strong>in</strong>formation and produces the largest value from a specified column.<br />
DMAX<br />
SL.N<br />
o. Product Company Model No.<br />
Sales<br />
Price<br />
1 BLUE TOOTH NOKIA 6300 7200 Product Company<br />
2 MOBILE NOKIA 5200 6300 BLUE TOOTH NOKIA<br />
3 BLUE TOOTH LG KG800 1050<br />
4 MOBILE LG KG900 5000<br />
5 BLUE TOOTH NOKIA 6030 1600 7200 =DMAX(B2:F17,F2,I3:J4)<br />
6 DATA CABLE MOTOROLA MOTO566 1200<br />
7 BLUE TOOTH MOTOROLA MOTO747 1500<br />
8 HANDS FREE SONY MEX-BT5000 800<br />
9 DATA CABLE SONY N73 2000<br />
10 BLUE TOOTH NOKIA N72 3200<br />
11 DATA CABLE NOKIA MOTO485 2300<br />
12 HANDS FREE MOTOROLA KL299 800<br />
13 HANDS FREE LG KL144 900<br />
14 DATA CABLE LG DEYVT7400 1400<br />
15 MOBILE SONY i250 7200<br />
DMAX<br />
What does it do<br />
4/23/2015 21
This function exam<strong>in</strong>es a list of <strong>in</strong>formation and produces and average.<br />
SL.No. Product Company Model No.<br />
DAVERAGE<br />
Sales<br />
Price<br />
1 BLUE TOOTH NOKIA 6300 7200 Product Company<br />
2 MOBILE NOKIA 5200 6300 BLUE TOOTH NOKIA<br />
3 BLUE TOOTH LG KG800 1050<br />
4 MOBILE LG KG900 5000<br />
5 BLUE TOOTH NOKIA 6030 1600 4000 =DAVERAGE(B2:F17,F2,I3:J4)<br />
6 DATA CABLE MOTOROLA MOTO566 1200<br />
7 BLUE TOOTH MOTOROLA MOTO747 1500<br />
8 HANDS FREE SONY MEX-BT5000 800<br />
9 DATA CABLE SONY N73 2000<br />
10 BLUE TOOTH NOKIA N72 3200<br />
11 DATA CABLE NOKIA MOTO485 2300<br />
12 HANDS FREE MOTOROLA KL299 800<br />
13 HANDS FREE LG KL144 900<br />
14 DATA CABLE LG DEYVT7400 1400<br />
15 MOBILE SONY i250 7200<br />
DAVERAGE<br />
What does it do?<br />
4/23/2015 22
This function counts the number of numeric or text entries <strong>in</strong> a list.<br />
DCOUNTA<br />
Product Wattage Life Hours Brand Unit Cost<br />
Box<br />
Quantity<br />
Boxes In<br />
Stock<br />
Value Of<br />
Stock<br />
Bulb 200 3000 Horizon Rs4.50 4 3 Rs54.00<br />
Neon 100 2000 Horizon Rs2.00 15 2 Rs60.00<br />
Spot 60 Rs0.00<br />
Other 10 8000 Sunbeam Rs0.80 25 6 Rs120.00<br />
Bulb 80 1000 Horizon Rs0.20 40 3 Rs24.00<br />
Spot 100 unknown Horizon Rs1.25 10 4 Rs50.00<br />
Spot 200 3000 Horizon Rs2.50 15 1 Rs37.50<br />
Other 25 unknown Sunbeam Rs0.50 10 3 Rs15.00<br />
Bulb 200 3000 Sunbeam Rs5.00 3 2 Rs30.00<br />
Neon 100 2000 Sunbeam Rs1.80 20 5 Rs180.00<br />
Bulb 100 unknown Sunbeam Rs0.25 10 5 Rs12.50<br />
Bulb 10 800 Horizon Rs0.20 25 2 Rs10.00<br />
Bulb 60 1000 Sunbeam Rs0.15 25 1 Rs3.75<br />
Bulb 80 1000 Sunbeam Rs0.20 30 2 Rs12.00<br />
Bulb 100 2000 Horizon Rs0.80 10 5 Rs40.00<br />
Bulb 40 1000 Horizon Rs0.10 20 5 Rs10.00<br />
The count of a product with an unknown Life Hours value.<br />
DCOUNTA<br />
What does it do?<br />
Product<br />
Bulb<br />
Life Hours These two cells are the Criteria range.<br />
unknown<br />
The number of products is : 1 =DCOUNTA(B1:I17,E1,D21:E22)<br />
4/23/2015 23
This function exam<strong>in</strong>es a list of <strong>in</strong>formation and produces and average.<br />
Product Wattage Life Hours Brand Unit Cost<br />
Box<br />
Quantity<br />
Boxes In<br />
Stock<br />
Value Of<br />
Stock<br />
Bulb 200 3000 Horizon Rs4.50 4 3 Rs54.00<br />
Neon 100 2000 Horizon Rs2.00 15 2 Rs60.00<br />
Spot 60 Rs0.00<br />
Other 10 8000 Sunbeam Rs0.80 25 6 Rs120.00<br />
Bulb 80 1000 Horizon Rs0.20 40 3 Rs24.00<br />
Spot 100 unknown Horizon Rs1.25 10 4 Rs50.00<br />
Spot 200 3000 Horizon Rs2.50 15 1 Rs37.50<br />
Other 25 unknown Sunbeam Rs0.50 10 3 Rs15.00<br />
Bulb 200 3000 Sunbeam Rs5.00 3 2 Rs30.00<br />
Neon 100 2000 Sunbeam Rs1.80 20 5 Rs180.00<br />
Bulb 100 unknown Sunbeam Rs0.25 10 5 Rs12.50<br />
Bulb 10 800 Horizon Rs0.20 25 2 Rs10.00<br />
Bulb 60 1000 Sunbeam Rs0.15 25 1 Rs3.75<br />
Bulb 80 1000 Sunbeam Rs0.20 30 2 Rs12.00<br />
Bulb 100 2000 Horizon Rs0.80 10 5 Rs40.00<br />
Bulb 40 1000 Horizon Rs0.10 20 5 Rs10.00<br />
How many Boxes of a particular item do we have <strong>in</strong> stock?<br />
DGET<br />
What does it do?<br />
Product Wattage Life Hours Brand These four cells are the Criteria range.<br />
Bulb 100 Horizon<br />
The number <strong>in</strong> stock is : 5 =DGET(B1:I17,H1,B21:E22)<br />
4/23/2015 24
This function exam<strong>in</strong>es a list of <strong>in</strong>formation and produces the total.<br />
Product Wattage<br />
Life<br />
Hours Brand<br />
Boxe<br />
s In<br />
Unit Cost Box Quantity Stock<br />
Value Of<br />
Stock<br />
Bulb 200 3000 Horizon £4.50 4 3 £54.00<br />
Neon 100 2000 Horizon £2.00 15 2 £60.00<br />
Spot 60 £0.00<br />
Other 10 8000 Sunbeam £0.80 25 6 £120.00<br />
Bulb 80 1000 Horizon £0.20 40 3 £24.00<br />
Spot 100 unknown Horizon £1.25 10 4 £50.00<br />
Spot 200 3000 Horizon £2.50 15 0 £0.00<br />
Other 25 unknown Sunbeam £0.50 10 3 £15.00<br />
Bulb 200 3000 Sunbeam £5.00 3 2 £30.00<br />
Neon 100 2000 Sunbeam £1.80 20 5 £180.00<br />
Bulb 100 unknown Sunbeam £0.25 10 5 £12.50<br />
Bulb 10 800 Horizon £0.20 25 2 £10.00<br />
Bulb 60 1000 Sunbeam £0.15 25 0 £0.00<br />
Bulb 80 1000 Sunbeam £0.20 30 2 £12.00<br />
Bulb 100 2000 Horizon £0.80 10 5 £40.00<br />
Bulb 40 1000 Horizon £0.10 20 5 £10.00<br />
To calculate the total Value Of Stock of a particular Brand of bulb<br />
Brand These two cells are the Criteria range.<br />
Type the brand name : Horizon<br />
stock value of Horizon is : £248.00 =DSUM(B3:I19,I3,E23:E24)<br />
DSUM<br />
What does it do?<br />
4/23/2015 25
ABS<br />
What does it do?<br />
This function calculates the value of a number, irrespective of whether it is positive or negative.<br />
ABS<br />
Number Absolute Value<br />
10 10 =ABS(C4)<br />
-10 10 =ABS(C5)<br />
1.25 1.25 =ABS(C6)<br />
-1.25 1.25 =ABS(C7)<br />
Table 1<br />
Test Required Actual<br />
Error<br />
Difference<br />
Cut<br />
Length Length<br />
Percentage<br />
Test 1 120 120 0 0%<br />
Test 2 120 90 30 25%<br />
Test 3 120 150 -30 -25%<br />
=D36-E36<br />
Table 2 shows the same data but us<strong>in</strong>g the =ABS() function to correct the<br />
calculations.<br />
Table 2<br />
Test Required Actual<br />
Error<br />
Difference<br />
Cut<br />
Length Length<br />
Percentage<br />
Test 1 120 120 0 0%<br />
Test 2 120 90 30 25%<br />
Test 3 120 150 30 25%<br />
=ABS(D45-<br />
E45)<br />
4/23/2015 26
IF<br />
OR<br />
AND<br />
NOT<br />
Functions<br />
Logical Functions<br />
This Logical function calculates the value of a number, as per your logic and concept<br />
whether it is text of numeric.<br />
4/23/2015 27
This function of IF<br />
The logical functions <strong>in</strong> Excel are a small group consist<strong>in</strong>g of six functions<br />
These functions are noted for their black or- white results<br />
A logical function can return only one of two values: TRUE or FALSE<br />
The most common and powerful of the logical functions <strong>in</strong> Excel is the IF function<br />
This function is particularly powerful because it can test for a particular condition <strong>in</strong> the<br />
Worksheet.<br />
do a calculation if the condition is TRUE; or another calculation if the condition is FALSE<br />
The format of the IF function is:<br />
IF(logical_test, value_if_true, value_if_false)<br />
IF FUNTIONS<br />
What does it do?<br />
logical_test is any value or expression that can be evaluated to TRUE or FALSE<br />
value_if_true is the value that is returned if logicaltest is TRUE<br />
value_if_false is the value that is returned if logical_test is FALSE<br />
4/23/2015 28
IF Functions<br />
How does it do?<br />
Name Sales Target Result<br />
Alan 1000 5000 Not Achieved =IF(C4>=D4,"Achieved","Not Achieved")<br />
Bob 6000 5000 Achieved =IF(C5>=D5,"Achieved","Not Achieved")<br />
Carol 2000 4000 Not Achieved =IF(C6>=D6,"Achieved","Not Achieved")<br />
This is an example of “IF” Function so that appear as Text result.<br />
4/23/2015 29
Other Logical Functions<br />
Logical Functions<br />
OR<br />
AND<br />
NOT<br />
This other Logical functions like “or”, “and”, “not” will always work with “IF”, We cant use<br />
these functions separately.<br />
4/23/2015 30
Date Functions<br />
NOW<br />
TODAY<br />
DATEVALUE<br />
NETWORKDAYS<br />
4/23/2015 31
The function is used to convert a piece of text <strong>in</strong>to a date which can be used <strong>in</strong> calculations.<br />
Syntax<br />
Date<br />
=DATEVALUE(text)<br />
Date Value<br />
22-03-2009 39894 =DATEVALUE(C4)<br />
Date Functions<br />
Date value<br />
Formatt<strong>in</strong>g<br />
The result will normally be shown as a number which represents the date. This<br />
number can<br />
be formatted to any of the normal date formats by us<strong>in</strong>g Format,Cells,Number,Date.<br />
Property Ref. Expiry Date Days Until Expiry<br />
BC100 25-dec-99 -3961<br />
FG700 10-july/99 -4129<br />
TD200 13-sep-98 -4429<br />
HJ900 30/5/2000 -3804<br />
=DATEVALUE(E32)-TODAY()<br />
Example<br />
The example uses the =DATEVALUE and the =TODAY functions to calculate the number<br />
of<br />
days rema<strong>in</strong><strong>in</strong>g on a property lease.<br />
The =DATEVALUE function was used because the date has been entered <strong>in</strong> the cell as<br />
a piece of text, probably after be<strong>in</strong>g imported from an external program.<br />
4/23/2015 32
Date Functions<br />
Network days<br />
This function will calculate the number of work<strong>in</strong>g days between two dates..<br />
Note<br />
The calculation does not <strong>in</strong>clude the last day. The result of us<strong>in</strong>g 1-Jan-98 and 5-Jan-98 will<br />
give a result of 4. To correct this add 1 to the result.<br />
=NETWORKDAYS(Start,End,Holidays)+1<br />
Note:- The follow<strong>in</strong>g example shows how a list of Holidays can be created.<br />
Start Date End Date Work Days<br />
Tue 02-Mar-10 Sun 06-Mar-11 264 =NETWORKDAYS(B28,C28,C33:C37)<br />
Sun 02-Mar-08 Thu 13-Mar-08 9 =NETWORKDAYS(B29,C29,C33:C37)<br />
Fri 01-Oct-10 Sun 31-Oct-10 21 =NETWORKDAYS(B30,C30,C33:C37)<br />
Bank Holiday<br />
Xmas<br />
New Year<br />
New Year<br />
New Year<br />
Holidays<br />
01-May-10<br />
25-Dec-10<br />
01-Jan-07<br />
01-Jan-08<br />
01-Jan-08<br />
4/23/2015 33
Date Functions<br />
Now:- For current time and date <strong>in</strong> a s<strong>in</strong>gle format.<br />
The current Date and Time<br />
29/10/2010 14:49 =NOW()<br />
40480.61767 =NOW()<br />
Today:- For current date. Shortcut is (ctrl+:)<br />
Today Is<br />
29-Oct-10<br />
=TODAY()<br />
DATEDIF :- This function calculates the difference between two dates.<br />
First Date SecondDate Interval Difference<br />
01-Jan-60 10-May-70 days 3782 =DATEDIF(C4,D4,"d")<br />
01-Jan-60 10-May-70 months 124 =DATEDIF(C5,D5,"m")<br />
01-Jan-60 10-May-70 years 10 =DATEDIF(C6,D6,"y")<br />
01-Jan-60 10-May-70 yeardays 130 =DATEDIF(C7,D7,"yd")<br />
01-Jan-60 10-May-70 yearmonths 4 =DATEDIF(C8,D8,"ym")<br />
01-Jan-60 10-May-70 monthdays 9 =DATEDIF(C9,D9,"md")
Functions related to F<strong>in</strong>ance<br />
Depreciation<br />
• SLN - Straight L<strong>in</strong>e Method of Depreciation<br />
Fixed Deprecation Amount deducted every year.<br />
• DB – Dim<strong>in</strong>ish<strong>in</strong>g balance Method of Depreciation<br />
Depreciation amount calculate on last year balance of Assets<br />
• SLN DB comparison<br />
Both Type depreciation on one assets with Graph0<br />
4/23/2015 35
Depreciation<br />
SLN<br />
This function calculates the Straight L<strong>in</strong>e Depreciation of an item.
Depreciation<br />
DB<br />
This function calculates the Straight L<strong>in</strong>e Depreciation of an item.<br />
4/23/2015 37
Depreciation Method<br />
SLN DB Comparison<br />
Asset:<br />
Office Furniture<br />
Orig<strong>in</strong>al Cost:<br />
Rs.10,000<br />
Life (years): 10<br />
Salvage Value:<br />
Rs.1,000<br />
Depreciation Amount<br />
Year SLN DB<br />
1 Rs.900.00 Rs.2,060.00<br />
2 Rs.900.00 Rs.1,635.64<br />
3 Rs.900.00 Rs.1,298.70<br />
4 Rs.900.00 Rs.1,031.17<br />
5 Rs.900.00 Rs.818.75<br />
6 Rs.900.00 Rs.650.08<br />
7 Rs.900.00 Rs.516.17<br />
8 Rs.900.00 Rs.409.84<br />
9 Rs.900.00 Rs.325.41<br />
10 Rs.900.00 Rs.258.38<br />
Comparision of SLN & DB Method<br />
Rs.2,500.00<br />
Rs.2,000.00<br />
Rs.1,500.00<br />
Rs.1,000.00<br />
Rs.500.00<br />
Rs.0.00<br />
Amount 1 2 3 4 5 6 7 8 9 10<br />
Years ---------------------------------><br />
SLN<br />
DB
F<strong>in</strong>al Accounts
Trad<strong>in</strong>g and Profit & Loss A/c<br />
F<strong>in</strong>al Accounts<br />
Trad<strong>in</strong>g and Profit & Loss A/c<br />
Particulars<br />
Amount Amount<br />
Amount Amount<br />
Particulars<br />
Rs. Rs.<br />
Rs. Rs.<br />
To Open<strong>in</strong>g Stock 170000By Clos<strong>in</strong>g Stock 145000<br />
To Purchase 250000 By Sales 350000<br />
Less - Purchase Return 25000 225000 Less - Sales Return 3000 347000<br />
To Wages 5000<br />
To Carraige Inward 7000<br />
Denotation<br />
DI=Direct Income<br />
DE= Direct Expense<br />
To Gross Profit 85000<br />
=IF(SUM(di)>SUM(de),SUM(di)-SUM(de),"")<br />
492,000 492,000<br />
By Gross Profit 85000<br />
To Salary 7500By Discount Received 4500<br />
To Advertisement<br />
Expenses 5000By Commission Received 5000<br />
To Rent 6500By Dividend Received 14500<br />
To Bad Debt 4500<br />
To D.Allowed 5000<br />
To Conveyance 2500<br />
To Travell<strong>in</strong>g Expenses 4500<br />
To Commission 4500<br />
To Net Profit 69000<br />
Same formula will<br />
assigned for “Gross<br />
Loss” and “Net loss” <strong>in</strong><br />
their respective cell as<br />
vice versa.<br />
109,000 109,000<br />
This Amount will transfer to Balance sheet
Liabilities<br />
Amount<br />
Rs.<br />
Balance Sheet<br />
Amount<br />
Rs.<br />
Assets<br />
F<strong>in</strong>al Accounts<br />
Balance Sheet<br />
Amount<br />
Rs.<br />
Amount<br />
Rs.<br />
Share Capital<br />
Fixed Assets<br />
Authorised Share Capital 120000 Goodwill 50000<br />
Equity Share Capital 110000 Land 120000<br />
Add: For-feited Share 15000 245000Plant & Mach<strong>in</strong>ery 200000 370000<br />
Reserve & Surplus Investment 100000<br />
Capital Resrve 65000<br />
Current Asset, Loan &<br />
<strong>Advance</strong><br />
General Reserve 75000<br />
Capital Redemption Reserve 25000 A. Current Asset<br />
Profit & Loss A/c Balance 69000 234000 - Stock - <strong>in</strong> - trade 145000<br />
Secured Loan - Sundry Debtors 35000<br />
Debenture 150000 - Cash <strong>in</strong> Hand 39000<br />
Unsecured Loan - Cash at Bank 80000 299000<br />
Fixed Deposits 35000 B. Loan & <strong>Advance</strong><br />
Short term Loan & <strong>Advance</strong> 25000 60000 - Prepaid Rent 5000<br />
Current Liabilities and<br />
Provision - <strong>Advance</strong> Salary 8000 13000<br />
A. Current Liabilities Miscellanious Expenditure<br />
- Outstand<strong>in</strong>g Expenses 6000 Prellim<strong>in</strong>ary Expenses 15000<br />
- Sundry Creditors 75000 81000Discount on Share Issue 20000<br />
Development expenditure not<br />
adjusted 6000 41000<br />
B. Provision<br />
- Proposed Dividend 35000<br />
- Other Provision 17000 52000<br />
822000 823000<br />
This Amount will be auto<br />
effected from P&L A/C
Lookup Functions<br />
There are two famous and important<br />
LOOKUP<br />
VLOOKUP<br />
&<br />
HLOOKUP
Lookup Functions<br />
Lookup<br />
This is an example of Lookup Functions based on a metal database to f<strong>in</strong>d the qty . On behalf of materials.
Lookup Functions<br />
VLOOKUP<br />
This function scans down the row head<strong>in</strong>gs at the side of a table to f<strong>in</strong>d a specified item.<br />
When the item is found, it then scans across to pick a cell entry.<br />
A B C D E F G<br />
1 Month Enquiry Registration Addmission Exam Result<br />
2 Jan 10 20 30 40 50<br />
3 Feb 80 90 100 110 120<br />
4 Mar 97 69 45 51 77<br />
5<br />
6<br />
7 Type a month to look for : Jan<br />
8 Which column needs to be picked out : 4<br />
9<br />
10 The result is : 30<br />
11 =VLOOKUP(E7,A1:F4,E4,FALSE)<br />
This is an example of Vlookup Functions based on a center database to f<strong>in</strong>d the different type details month wise.<br />
4/23/2015 44
Lookup Functions<br />
HLOOKUP<br />
A B C D E F<br />
1 Jan Feb Mar row 1 The row numbers are not needed.<br />
2 10 80 97 row 2 they are part of the illustration.<br />
3 20 90 69 row 3<br />
4 30 100 45 row 4<br />
5 40 110 51 row 5<br />
6 50 120 77 row 6<br />
7<br />
8 Type a month to look for : Feb<br />
9 Which row needs to be picked out 4<br />
10<br />
11 The result is : 100<br />
=HLOOKUP(C8,A1:C6,C9,FALSE)
Lookup Functions<br />
MATCH<br />
This function looks for a piece of <strong>in</strong>formation <strong>in</strong> a list, and then picks an item from the last cell <strong>in</strong> the adjacent row<br />
or column.<br />
4/23/2015 46
Lookup Functions<br />
MATCH
Amount<br />
To Convert<br />
Convert<strong>in</strong>g<br />
From<br />
Eng<strong>in</strong>eer<strong>in</strong>g Functions<br />
Convert<strong>in</strong>g<br />
To<br />
CONVERT<br />
This function converts a value measure <strong>in</strong> one type of unit, to the same value<br />
expressed <strong>in</strong> a different type of unit, such as Inches to Centimeters.<br />
Converted<br />
Amount<br />
1 <strong>in</strong> cm 2.54 =CONVERT(C4,D4,E4)<br />
1 ft m 0.3048 =CONVERT(C5,D5,E5)<br />
1 yd m 0.9144 =CONVERT(C6,D6,E6)<br />
1 yr day 365.25 =CONVERT(C8,D8,E8)<br />
1 day hr 24 =CONVERT(C9,D9,E9)<br />
1.5 hr mn 90 =CONVERT(C10,D10,E10)<br />
0.5 mn sec 30 =CONVERT(C11,D11,E11)<br />
It is based on abbreviation, such as “<strong>in</strong>” for <strong>in</strong>ches, “ft” for feet. List of more abbreviations <strong>in</strong> next page.
Eng<strong>in</strong>eer<strong>in</strong>g Functions<br />
Abbreviation for Convert Functions<br />
Weight and mass From_unit or to_unit<br />
Gram<br />
"g"<br />
Slug<br />
"sg"<br />
Pound mass "lbm"<br />
(avoirdupois)<br />
U (atomic mass unit) "u"<br />
Ounce mass "ozm"<br />
(avoirdupois)<br />
Distance<br />
Meter<br />
Statute mile<br />
Nautical mile<br />
Inch<br />
Foot<br />
Yard<br />
Angstrom<br />
Pica (1/72 <strong>in</strong>.)<br />
Time<br />
Year<br />
Day<br />
Hour<br />
M<strong>in</strong>ute<br />
Second<br />
From unit or to unit<br />
"m"<br />
"mi"<br />
"Nmi"<br />
"<strong>in</strong>"<br />
"ft"<br />
"yd"<br />
"ang"<br />
"Pica"<br />
From_unit or to_unit<br />
"yr"<br />
"day"<br />
"hr"<br />
"mn"<br />
"sec"<br />
Power<br />
Horsepower<br />
Watt<br />
Magnetism<br />
Tesla<br />
Gauss<br />
Temperature<br />
Degree Celsius<br />
Degree Fahrenheit<br />
Kelv<strong>in</strong><br />
Liquid measure<br />
Teaspoon<br />
Tablespoon<br />
Fluid ounce<br />
Cup<br />
U.S. p<strong>in</strong>t<br />
U.K. p<strong>in</strong>t<br />
Quart<br />
Gallon<br />
Liter<br />
From unit or to unit<br />
"HP" (or "h")<br />
"W" (or "w")<br />
From unit or to unit<br />
"T"<br />
"ga"<br />
From unit or to unit<br />
"C" (or "cel")<br />
"F" (or "fah")<br />
"K" (or "kel")<br />
From unit or to unit<br />
"tsp"<br />
"tbs"<br />
"oz"<br />
"cup"<br />
"pt" (or "us_pt")<br />
"uk_pt"<br />
"qt"<br />
"gal"<br />
"l" (or "lt")<br />
Pressure<br />
Pascal<br />
Atmosphere<br />
mm of Mercury<br />
Force<br />
Newton<br />
Dyne<br />
Pound force<br />
Energy<br />
Joule<br />
Erg<br />
Thermodynamic<br />
calorie<br />
From_unit or to_unit<br />
"Pa" (or "p")<br />
"atm" (or "at")<br />
"mmHg"<br />
From unit or to unit<br />
"N"<br />
"dyn" (or "dy")<br />
"lbf"<br />
From unit or to unit<br />
"J"<br />
"e"<br />
"c"<br />
IT calorie "cal"<br />
Electron volt "eV" (or "ev")<br />
Horsepower-hour "HPh" (or "hh")<br />
Watt-hour "Wh" (or "wh")<br />
Foot-pound "flb"<br />
BTU<br />
"BTU" (or "btu")
Information Functions<br />
Functions for Fast utility<br />
<br />
<br />
<br />
ISBLANK<br />
IFERROR<br />
RANK<br />
4/23/2015 50
ISBLANK<br />
What does this function do?<br />
Bill Amount<br />
This function will determ<strong>in</strong>e if there is an entry <strong>in</strong> a particular cell.<br />
Date of<br />
Payment<br />
Day of the<br />
Week<br />
ISBLANK<br />
Bill Amount<br />
Date of<br />
Payment<br />
Day of the<br />
Week<br />
2300 03/03/2009 Tuesday =TEXT(D3,"dddd") 2300 03/03/2009 Tuesday<br />
5400 17/03/2009 Tuesday 5400 17/03/2009 Tuesday<br />
6700 Saturday 6700<br />
3000 10/03/2009 Tuesday 3000 10/03/2009 Tuesday<br />
=IF(ISBLANK(J3),"",TEXT(J3,"dddd"))<br />
The =ISBLANK() function is used to determ<strong>in</strong>e whether the Cleared column is empty or not.
IFERROR<br />
What does this functions do?<br />
This function tests a cell or calculation to remove whether an error has been generated.<br />
IFERROR<br />
COST QTY PRICE / UNIT COST QTY PRICE / UNIT<br />
1500 30 50.00 1500 30 50.00<br />
2500 25 100.00 2500 25 100.00<br />
4000 #DIV/0! 4000 0.00<br />
=C3/D3<br />
=IFERROR(I3/J3,0)<br />
This Error massage you will replace by any suitable word of Number accord<strong>in</strong>g to data.
RANK<br />
What does this function do?<br />
This function tests a cell or calculation to remove whether an error has been generated.<br />
RANK<br />
Values<br />
Rank<strong>in</strong>g Position<br />
High to Low<br />
Values<br />
1200 1 1200 6<br />
800 2 800 5<br />
700 3 700 4<br />
650 4 650 3<br />
300 5 300 2<br />
Rank<strong>in</strong>g Position<br />
Low to High<br />
200 6 200 1<br />
=RANK(B3,$A$3:$A$8)<br />
=RANK(G3,$F$3:$F$8,1)<br />
# Rank can be done <strong>in</strong> order of Ascend<strong>in</strong>g and Descend<strong>in</strong>g as per data.<br />
4/23/2015 53
INFO<br />
What does this function do?<br />
This function provides <strong>in</strong>formation about the operat<strong>in</strong>g environment of the computer.<br />
System Information<br />
Current directory<br />
C:\Documents and Sett<strong>in</strong>gs\VIK@SH\My<br />
Documents\<br />
=INFO("directory")<br />
Available bytes of memory #N/A =INFO("memavail")<br />
Memory <strong>in</strong> use #N/A =INFO("memused")<br />
Total bytes of memory #N/A =INFO("totmem")<br />
Number of active worksheets 198 =INFO("numfile")<br />
Cell currently Position $A:$A$1 =INFO("orig<strong>in</strong>")<br />
Operat<strong>in</strong>g system W<strong>in</strong>dows (32-bit) NT 5.01 =INFO("osversion")<br />
Recalculation mode Automatic =INFO("recalc")<br />
Excel version 12.0 =INFO("release")<br />
Name of system. (PC or Mac) pcdos =INFO("system")
Text Functions<br />
•DOLLAR<br />
•TRIM<br />
•CONCATENATE
This function converts a number <strong>in</strong>to a piece of text formatted as currency.<br />
Orig<strong>in</strong>al<br />
Number<br />
Converted<br />
To Text<br />
Function<br />
Arguments<br />
10 Rs.10.00 =DOLLAR(C4)<br />
10 Rs.10.00 =DOLLAR(C5,0)<br />
10 Rs.10.00 =DOLLAR(C6,1)<br />
10 Rs.10.00 =DOLLAR(C7,2)<br />
10.25 Rs.10.25 =DOLLAR(C8)<br />
10.25 Rs.10.25 =DOLLAR(C9,0)<br />
10.25 Rs.10.25 =DOLLAR(C10,1)<br />
10.25 Rs.10.25 =DOLLAR(C11,2)<br />
DOLLAR<br />
What does this functions do?
TRIM<br />
What does this function do?<br />
This function removes unwanted spaces from a piece of text.<br />
Orig<strong>in</strong>al Text Trimmed Text Function Arguments<br />
ABCD ABCD =TRIM(C4)<br />
A B C D A B C D =TRIM(C5)<br />
Vikash Chandra Vikash Chandra =TRIM(C6)<br />
I I F C A I I F C A =TRIM(C7)
CONCATENATE<br />
What does this functions do?<br />
This function jo<strong>in</strong>s separate pieces of text <strong>in</strong>to one item.<br />
Name 1 Name 2 Concatenated Text Function Arguments<br />
Vikash Chandra VikashChandra =CONCATENATE(C4,D4)<br />
Vishwajeet S<strong>in</strong>gh VishwajeetS<strong>in</strong>gh =CONCATENATE(C5,D5)<br />
Gaurav Arora GauravArora =CONCATENATE(C6,D6)<br />
Vikash Chandra Vikash Chandra =CONCATENATE(C7," ",D7)<br />
Vishwajeet S<strong>in</strong>gh S<strong>in</strong>gh, Vishwajeet =CONCATENATE(D8,", ",C8)<br />
Gaurav Arora Arora, Gaurav =CONCATENATE(D9,", ",C9)<br />
You can jo<strong>in</strong>t more than two name also with space us<strong>in</strong>g as a text.
CLEAR<br />
What does this functions do?<br />
This function removes any nonpr<strong>in</strong>table characters from text.<br />
These nonpr<strong>in</strong>t<strong>in</strong>g characters are often found <strong>in</strong> data which has been imported<br />
from other systems such as database imports from ma<strong>in</strong>frames.
Data Validation<br />
What is data validation?<br />
Data validation is a tool that helps you control the k<strong>in</strong>d of <strong>in</strong>formation that is entered <strong>in</strong><br />
your worksheet. With data validation, you can:<br />
--Provide users with a list of choices<br />
--Restrict entries to a specific type or<br />
size<br />
--Create custom sett<strong>in</strong>gs as per your<br />
requirement.<br />
List is for reference data area and custom is for logical utility<br />
4/23/2015 60
UTILITY FUNCTIONS<br />
What does these functions do?<br />
This function uses for different advance utility of Excel.<br />
Restricted Duplicate Data<br />
Accept Text Only<br />
Accept only data grater than earlier<br />
Data Pattern
Data Validation (COUNTIF)<br />
Restricted Duplicate data
Data Validation (ISTEXT)<br />
Text accepted only (Non numeric)
Custom Data Validation<br />
Accept only data greater than earlier
Custom Data Validation<br />
Data Pattern
A Pivot Table is way to present <strong>in</strong>formation <strong>in</strong> a<br />
report format. The idea is that you can click drop<br />
down lists and change the data display<br />
Student<br />
(All)<br />
PIVOT TABLE & CHARTS<br />
PIVOT TABLE<br />
Sum of<br />
Score<br />
Column<br />
Labels<br />
Row<br />
Labels Art Commerce English Math<br />
Grand<br />
Total<br />
January 150 154 174 118 596<br />
February 142 150 119 126 537<br />
March 140 146 82 106 474<br />
Grand<br />
Total 432 450 375 350 1607<br />
Month Subject Student Score<br />
February English Madhvi 51<br />
February Maths Madhvi 72<br />
February Art Madhvi 83<br />
February Commerce Madhvi 57<br />
January English Madhvi 87<br />
January Maths Madhvi 65<br />
January Art Madhvi 89<br />
January Commerce Madhvi 62<br />
March English Madhvi 41<br />
March Maths Madhvi 71<br />
March Art Madhvi 92<br />
March Commerce Madhvi 56<br />
February English Suman 68<br />
February Maths Suman 54<br />
February Art Suman 59<br />
February Commerce Suman 93<br />
January English Suman 87<br />
January Maths Suman 53<br />
January Art Suman 61<br />
January Commerce Suman 92<br />
March English Suman 41<br />
March Maths Suman 35<br />
March Art Suman 48<br />
March Commerce Suman 90
PIVOT TABLE & CHARTS<br />
PIVOT CHART<br />
A pivot chart is a powerful data analysis tool that enables one to visualize a Pivot table.<br />
100<br />
90<br />
80<br />
70<br />
60<br />
50<br />
40<br />
30<br />
Madhvi<br />
Suman<br />
20<br />
10<br />
0<br />
January February March January February March January February March January February March<br />
Art Commerce English Maths<br />
4/23/2015 67