Excel Session - Final - For - Attendees
Excel Session - Final - For - Attendees
by
Facilitated by Arun
Page 1 of 156
OFFICE
BUTTON
NAME
CELL
ROW NO
COLUMN
NAME
ACTIVE
CELL
WORKSHE
ET SCROLL
NORMAL SCREEN
WORK
SHEET
NAME
MINIMIZE RESTORE
HELP CLOSE
WINDOW
RESTORE
CLOSE
PARTICU
LAR FILE
EXPAND
FORMULA
BAR
SPLIT
FORMULA BUTTON
SCROLL
BUTTON
HORIZON
TAL
SCROLL
HORIZONTAL
SPLIT
15
138
what 's
this
18000000000
16000000000
14000000000
12000000000
10000000000
Column B
8000000000
6000000000
4000000000
2000000000
0
1 2 3 4 5 6 7
Unformatted Type Formatted
1200 Currency £ 1,200.00
0.231 Percentage 23.10%
41618 Short Date 10-Dec-13 1200
asd
Rs. 1,200.00
23%
Currency 1200 0 12/10/2013
Question
###
copy the values in b4:b10 to d4:d10 and format them as per the type in
c4:10 1:14:53 PM
1/4
1.71E+10
Loan Payment Calculator
Loan Amount: $ 15,000.00
Annual Interest Rate: 6.25%
Payment Period (months): 1
Number of Periods: 48
Payment per Period: $ 354.00
Question
Number of Periods: 48
Payment per Period: $354.00
###
1:14:53 PM
1/4
1.71E+10
10
20
30
40 Multiplies 150 times 0.05.
50 Adds the values in cells A1 and A2.
60
70 Adds the values in the range A1:A12.
80 Compares cell A1 with cell C12.
90
100
110
Income 10000
Expenses 8000
Formula
=”Part-”&”23A”
=6^3
=216^(1/3)
=A1<A2
=A1<=A2
=A1<>A2
Question
Question 11
Try out the formula in column d19:d24
PART-23A
Rs. 1,200.00
23%
12/10/2013
###
1:14:53 PM
1/4
1.71E+10
Item Quantity Price Total ( quan * price)
Chair 4 $125.00 $500.00
Desk 4 $695.00 $2,780.00
Lamp 3 $39.95 $159.80
Item Quantity Price Sales Tax (quan * price *sales tax) Total ( quant* price + sales tax)
Chair 4 $125.00 $37.50
Desk 4 $695.00 $208.50
Lamp 3 $39.95 $8.99
Width
1.0 2.0 3.0
2.0 2.0 4.0 6.0
Length
absolute reference
4.0
8.0
16.0 Mixed reference
24.0
32.0
40.0
Item Quantity Price Total ( quan * price)
Chair 4 $125.00
Desk 4 $695.00
Lamp 3 $39.95
Item Quantity Price Sales Tax (quan * price *sales tax) Total ( quant* price + sales tax)
Chair 4 $125.00
Desk 4 $695.00
Lamp 3 $39.95
Width
1.0 2.0 3.0
2.0
Length
4.0
6.0
8.0
10.0
relative reference
absolute reference
4.0
Mixed reference
Category Function
Logical 1
Logical OR
Logical NOT
Logical IFERROR*
Logical IF
Logical 0
Logical AND
Description New
Returns the logical value TRUE 0
Returns TRUE if any argument is TRUE 0
Reverses the logic of its argument 0
Returns a different result if the first argument evaluates to an error 1
Specifies a logical test to perform 0
Returns the logical value FALSE 0
Returns TRUE if all its arguments are TRUE 0
Category Function
Text VALUE
Text UPPER
Text TRIM
Text TEXT
Text T
Text SUBSTITUTE
Text SEARCH
Text RIGHT
Text REPT
Text REPLACE
Text PROPER
Text MID
Text LOWER
Text LEN
Text LEFT
Text FIXED
Text FIND
Text EXACT
Text DOLLAR
Text CONCATENATE
Text CODE
Text CLEAN
Text CHAR
Text BAHTTEXT
Description
Converts a text argument to a number
Converts text to uppercase
Removes excess spaces from text
Formats a number and converts it to text
Returns the text referred to by value
Substitutes new text for old text in a text string
Finds one text value within another (not case sensitive)
Returns the rightmost characters from a text value
Repeats text a given number of times
Replaces characters within text
Capitalizes the first letter in each word of a text value
Returns a specific number of characters from a text string, starting at the position you speci
Converts text to lowercase
Returns the number of characters in a text string
Returns the leftmost characters from a text value
Formats a number as text with a fixed number of decimals
Finds one text value within another (case sensitive)
Checks to see whether two text values are identical
Converts a number to text, using currency format
Joins several text items into one text item
Returns a numeric code for the first character in a text string
Removes all nonprintable characters from text
Returns the character specified by the code number
Converts a number to Baht text
New
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Category Function
Date & Time YEARFRAC
Date & Time YEAR
Date & Time WORKDAY
Date & Time WEEKNUM
Date & Time WEEKDAY
Date & Time TODAY
Date & Time TIMEVALUE
Date & Time TIME
Date & Time SECOND
Date & Time NOW
Date & Time NETWORKDAYS
Date & Time MONTH
Date & Time MINUTE
Date & Time HOUR
Date & Time EOMONTH
Date & Time EDATE
Date & Time DAYS360
Date & Time DAY
Date & Time DATEVALUE
Date & Time DATE
Description
Returns the year fraction representing the number of whole days between start_date and end_date
Converts a serial number to a year
Returns the serial number of the date before or after a specified number of workdays
Returns the week number in the year
Converts a serial number to a day of the week
Returns the serial number of today’s date
Converts a time in the form of text to a serial number
Returns the serial number of a particular time
Converts a serial number to a second
Returns the serial number of the current date and time
Returns the number of whole workdays between two dates
Converts a serial number to a month
Converts a serial number to a minute
Converts a serial number to an hour
Returns the serial number of the last day of the month before or after a specified number of months
Returns the serial number of the date that is the indicated number of months before or after the start date
Calculates the number of days between two dates, based on a 360-day year
Converts a serial number to a day of the month
Converts a date in the form of text to a serial number
Returns the serial number of a particular date
New
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Category Function Description
Statistical RANK Returns the rank o
Statistical MODE Returns the most c
Statistical MINA Returns the minimum
Statistical MIN Returns the minimum
Statistical MEDIAN Returns the median
Statistical MAX Returns the maximum
Statistical LARGE Returns the kth lar
Statistical FREQUENCY Returns a frequency
Statistical FORECAST Returns a value alo
Statistical COUNTIFS* Counts the number o
Statistical COUNTIF Counts the number o
Statistical COUNTBLANK Counts the number
Statistical COUNTA Counts how many va
Statistical COUNT Counts how many nu
Statistical AVERAGEIFS* Returns the average
Statistical AVERAGEIF* Returns the average
Statistical AVERAGEA Returns the average
Statistical AVERAGE Returns the averag
Math & Tri SUMPRODUCT Returns the sum of
Math & Tri SUMIFS* Adds the cells speci
Math & Tri SUMIF Adds the cells speci
Math & Tri SUM Adds its arguments
New
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
0
0
Category Function Description
Information TYPE Returns a number indicating the data type of a value
Information NA Returns the error value #N/A
Information N Returns a value converted to a number
Information ISTEXT Returns TRUE if the value is text
Information ISREF Returns TRUE if the value is a reference
Information ISODD Returns TRUE if the number is odd
Information ISNUMBER Returns TRUE if the value is a number
Information ISNONTEXT Returns TRUE if the value is not text
Information ISNA Returns TRUE if the value is the #N/A error value
Information ISLOGICAL Returns TRUE if the value is a logical value
Information ISEVEN Returns TRUE if the number is even
Information ISERROR Returns TRUE if the value is any error value
Information ISERR Returns TRUE if the value is any error value except #N/A
Information ISBLANK Returns TRUE if the value is blank
Information INFO Returns information about the current operating environment
Information ERROR.TYPE Returns a number corresponding to an error type
Information CELL Returns information about the formatting, location, or contents of a cell
New
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Category Function
Lookup & Reference VLOOKUP
Lookup & Reference TRANSPOSE
Lookup & Reference RTD
Lookup & Reference ROWS
Lookup & Reference ROW
Lookup & Reference OFFSET
Lookup & Reference MATCH
Lookup & Reference LOOKUP
Lookup & Reference INDIRECT
Lookup & Reference INDEX
Lookup & Reference HYPERLINK
Lookup & Reference HLOOKUP
Lookup & Reference GETPIVOTDATA
Lookup & Reference COLUMNS
Lookup & Reference COLUMN
Lookup & Reference CHOOSE
Lookup & Reference AREAS
Lookup & Reference ADDRESS
Description
Searches for a value in the leftmost column of a table and then returns a value in the same row from a column you specify
Returns the transpose of an array
Returns real-time data from a program that supports COM automation
Returns the number of rows in a reference
Returns the row number of a reference
Returns a reference offset from a given reference
Returns the relative position of an item in an array
Returns a value either from a one-row or one-column range or from an array
Returns a reference indicated by a text value
Uses an index to choose a value from a reference or array
Creates a shortcut that opens a document on your hard drive, a server, or the Internet
Searches for a value in the top column of a table and then returns a value in the same column from a row you specify in th
Returns data stored in a PivotTable
Returns the number of columns in a reference
Returns the column number of a reference
Chooses a value from a list of values
Returns the number of areas in a reference
Returns a reference as text to a single cell in a worksheet
New
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reference Sheet
Page 35 of 156
Reference Sheet
Page 36 of 156
Question 1 - Result based on a condition
Marks - Marks - Performanc Result in
Name 2008 2007 e in 2008 2008 Question 1 (a)
Ashish 10 6 GOOD GOOD In D6:D8, get the output as Good or Poor. If the score in column B is
Sanjay 5 15 POOR greater than the score in column C, the output is Good, else Poor.
Sameer 4 14 POOR
Fail 3
Fair 6 Question 1 (b)
In E6:E8, get the output as Fail, Fair or Good. If the score in column
An IF() function is used when the output has to be based on a certain condition/set of B <= the number in cell B10, then the output is Fail, if it is between
conditions. the number in B10 and B11, then the output is Fair, else Good.
Value 15.4
Page 37 of 156
Question 3 - Satisfaction of 1 condition
Eligible for Eligible for
discount discount Question 3 (a)
Passenger Destination (Method 1) (Method 2) Method 3
In D28:D29, the output should be Yes or No depending upon the
A Mumbai Eligible Eligible Eligible destination in column C is one of the destinations mentioned in
B Chennai Not eligible Not eligible Not eligible A32:A34
Suffix "A" after historical years and "F" after projected years.
Page 38 of 156
Question 6 - Data parsing into columns
Ashish MathurAshish Mathur
Ravi Prasad Ravi Prasad Question 6
For a Macro based colution of this problem, you may refer to the
following link on my website - http://www.ashishmathur.com/performing
a-text-to-rows-operation/
Page 40 of 156
Question 10 - Filter based on condition
Part II - Let the original data remain i.e. do not tamper with data in any column Filter the A/c code column for all numbers which begin with
Page 41 of 156
Question 11 - Cleansing data
One column 1 Multiple columns Question 11 (Part I) To convert multiple columns of number
1 1 1 into "numbers stored as text", refer to m
3 3 13 Convert "number stored as text" to number for one post at the following link -
and multiple columns. http://www.ashishmathur.com/convert-
4 4 34 multiple-columns-of-numbers-into-text-
5 5 5 once/
US$ million
Clients Asia Europe America Australia Question 14
ABC Ltd 123 23 The data alongside represents revenue in US$ million from four
XYZ Ltd 12 453 1 regions. I would like to view a simple three column table
WER Ltd 23 456 showing Client, Region and Amount. My objective is to view all
those clients which give my company business worth more
than US$100 million (per region).
To convert a matrix like data layout to a tabular data layout, refer to my post Essentially, can you think of a way to convert a matrix structure
at the following link - http://www.ashishmathur.com/converting-a-matrix-
data-layout-to-a-tabular-layout/ to a table structure.
Page 43 of 156
The data alongside represents revenue in US$ million from four
regions. I would like to view a simple three column table
showing Client, Region and Amount. My objective is to view all
those clients which give my company business worth more
than US$100 million (per region).
To convert a matrix like data layout to a tabular data layout, refer to my post Essentially, can you think of a way to convert a matrix structure
at the following link - http://www.ashishmathur.com/converting-a-matrix-
data-layout-to-a-tabular-layout/ to a table structure.
Name Question 15
A
S Rows 186, 188 and 189 are hidden. Try to unhide rows 186 and 188 only i.e. row
189 should remain hidden.
D
E
T
To centre data across columns, please avoid "merging cells" - it generally causes problems when sorting, filtering, summing etc. Instead use "Centre Across Selection" [Format
Cells > Alignment > Horizontal > Centre Across Selection.
Page 44 of 156
To centre data across columns, please avoid "merging cells" - it generally causes problems when sorting, filtering, summing etc. Instead use "Centre Across Selection" [Format
Cells > Alignment > Horizontal > Centre Across Selection.
Please be careful when viewing the formula bar. If you see curly brackets {} around any formula, then it means that the formula is an array formula and has been confirmed by
Ctrl+Shift+Enter as against the conventional Enter. Also, in question 3 above, we could avoid using the OR function in the array formula (Method 2) because comparison with a
range is construed as an OR condition in an array formula.
For Question 5, "A" and "E" have come via Format Cells > Number > Custom > General"A" and general"E" respectively.
For segregating names into First name, middle name and surname, refer to my solution at the following location -
http://www.ashishmathur.com/split-name-into-three-columns/
For question 7, you may also refer to Excel's Help menu. Please type in "Find or replace text and numbers on a worksheet" in the Help box and read through the content there.
To perform a custom sort (Question 8) i.e. sort neither in ascending/descending but in a custom order, perform the following steps:
1. Type the custom order in a range and then import this custom List [Tools > Options > Custom List];
2. Now select the range and sort it. Click on the Options box and in the first key sort order, select the custom list which you imported in 1 above.
A custom sort list created once in any file will remain in MS Excel i.e. the custom list so created can be used in other workbooks as well. The list will remain even if the source fi
(file from which the custom list was created) is deleted.
Page 45 of 156
Basics
re in column B is
ood, else Poor.
score in column
if it is between
else Good.
g upon
n the numbers
Page 46 of 156
Basics
ng upon the
entioned in
g upon the
entioned in
uld be more
d years.
Page 47 of 156
Basics
s.
ws. So
nd Truck, Car
B.
efer to the
ur.com/performing-
in cell E74.
s and
h have four
Page 48 of 156
n sort by size
s and Basics
h have four
n sort by size
Page 49 of 156
Basics
in with 1.
Page 50 of 156
Basics
olumns of numbers
d as text", refer to my
link -
athur.com/convert-
numbers-into-text-at-
:B129 shows
Page 51 of 156
Basics
on from four
table
is to view all
rth more
rix structure
Page 52 of 156
on from four
table
is to view all
rth more
er of digits < 4,
election" [Format
Page 53 of 156
election" [Format
Basics
been confirmed by
comparison with a
Page 54 of 156
Basics
Page 55 of 156
Lookup techniques
Sameer 20
1. Lookup value is searched for in the first column of the table
array.
2. Last argument will almost always be 0.
Page 56 of 156
Lookup techniques
Question 4 - Lookup in ascending range (Lookup largest value less than equal to)
Category
Client Debtor days Method1 Method2
ABC Ltd. 60 C C Question 4
XYZ Ltd. 55 B B
In range C47:C48 and D47:D48, determine the relevant category as per
Page 57 of 156 the table in range A51:C55.
Question 4 Lookup techniques
Page 58 of 156
Lookup techniques
Question 5 - Lookup value not in the first column of the table array
Marks Name
60 Ashish
Question 5
10 Sanjay
20 Sameer In cell B63, determine the marks of the student mentioned in cell
30 Gautam A63.
gautam 30 Be careful with lookups. Use ascending order on lookup vector.
When using the INDEX() and MATCH() functions, always remember that the For a better understanding of the LOOKUP() function, please refer to the
range references of rows in the INDEX() and MATCH() functions should be the following post on my blog - http://www.ashishmathur.com/return-an-exact-
same. If that is not the case, the output would be incorrect. value-via-the-lookup-function/
Date of
Location Product Transporter dispatch Question 6
Mumbai Switches ABC 3/12/2010
In range D82:D83, determine the date of dispatch.
Gurgaon Relays ABC 5/18/2010
Delhi Switches GHT 3/25/2010
Mumbai Relays GHT 3/29/2010
Gurgaon Switches YUE 2/12/2010
Will revert to this question once we discuss content on sheet "Summarising
Date of based on conditions"
Location Product Transporter dispatch
Mumbai Relays GHT 3/29/2010
Gurgaon Relays ABC 5/18/2010
Page 59 of 156
Lookup techniques
Lower age
limit 18 35 45 55 65 70 75 80
100,000 932 1,521 1,721 2,539 5,183 5,816 6,601 7,064
200,000 1,045 1,815 2,058 3,188 6,986 7,839 8,897 9,519
insured
limit
Page 60 of 156
Lookup techniques
Part I - Determine the first and last date of payment (where data area has numbers)
First date Last date
Vendor Name 4/1/2010 4/2/2010 4/3/2010 4/4/2010 4/5/2010 of payment of payment
A 12 34
S 67 45
D 55 12
E 123 12 45
Question 9 - Part I
Determine the first and last date of payment for every vendor
Part II - Determine the first and last date of payment (where data area has text values)
Date of
Most most
recent recent
Project ID 4/1/2010 4/2/2010 4/3/2010 4/4/2010 4/5/2010 status status
A001 In Progress Complete
A002 Pending Approved
A003 Not Approved
A004 Pending In Progress
Question 9 - Part II
Determine the most recent status and data of most recent status.
A001 1 1 0 0 1 1 1
B001 0 1 0 1 0 0 0
C001 0 1 1 1 1 1 1
D001 0 1 0 1 0 0 1
In the table above, 1 respresent that the cellular network was running fine on that day. 0 represents a fault in the network. In column I, one may want to
"Determine the total number of consecutive days for which the network was working fine". Please note that the counting has to happen from right to left.
Part IV - Determine the first date and last date for identical records
DG Sent from Sent to First date Last date Times DG set sent
15 KvA Delhi Mumbai
Question 10
Perform a VLOOKUP where the lookup value is split across multiple worksheets or multiple workbooks. Refer workbook named "Lookup across
sheets".
To return data against all occurrences of a lookup value, kindly refer to my solution at the following link -
http://www.ashishmathur.com/lookup-where-search-string-appears-multiple-times/
To make a VLOOKUP() function run on the visible rows of a filtered range, kindly refer to my solution at the following link -
http://www.ashishmathur.com/vlookup-function-to-work-only-on-visible-cells-of-filtered-range/
Page 62 of 156
Lookup techniques
To make a VLOOKUP() function run on the visible rows of a filtered range, kindly refer to my solution at the following link -
http://www.ashishmathur.com/vlookup-function-to-work-only-on-visible-cells-of-filtered-range/
The INDEX() and MATCH() are a powerful combination of functions. To generalise, the INDEX() and MATCH() functions are typically used in situations where the
VLOOKUP() function fails i.e. where the lookup value is not in the first column of the table array.
1. A LOOKUP() function is very similar to the VLOOKUP() function (where the last argument of the VLOOKUP() is a 1). For both functions to work correctly, the first
column must be sorted in ascending order. If that is indeed the case,then these functions would search for the largest value less then equal to the lookup value in the
first column and return data from the corresponding column
2. The unwritten rule about lookup is that "if you specify a search value greater than the maximum value in the lookup array, the function will continue searching until
it comes to the last non-error value or last non-blank value and stops there. In that situation, it doesn't matter whether the lookup array was sorted or not since the
search value isn't found."
Page 63 of 156
Separator 1
Recap
Page 64 of 156
Dealing with Dates
Please note that this technique will work only in situations when the
date and month swap (during the download process) results in a non-
date entry.
Improper Proper
January, 1 2011 January, 1 2011
Question 3
February 1 2011 February 1 2011
March 1, 2011 March 1, 2011 Convert the entries in C27:C38 to proper date entries.
April 1, 2011 April 1, 2011
May 1, 2011 May 1, 2011
June 1, 2011 June 1, 2011
July 1, 2011 July 1, 2011
August 1 2011 August 1 2011
September 1, 2011 September 1, 2011
Page 65 of 156
Dealing with Dates
Page 66 of 156
Dealing with Dates
Screenshots/Steps
Conversion of non date to date entries - Select the entries (as a result of the filter) and go to Data > Text to columns and click
on Next two times. In the column data format section, select Date and then in the drop down select the date format of the selection
1. Group all non date entries together - Select the entire range and then sort the date column in ascending order
2. Identify non date entries - Go to the Custom Filter box (as shown below) and then select * in the right box
To remove time stamp from a date time entry, find for space* and leave the replace box blank
Page 67 of 156
ng with Dates
. with / or - separator.
Page 68 of 156
ng with Dates
s <date in
column)
Page 69 of 156
Validation & subtotals
Part I - Primary and dependent validation lists - forcing the correct entry in the dependent validation list
Connection Plan
Question 1 (a)
In cell A8, allow the user to enter any one of the values specified
Plans in range A12:A13.
Prepaid Postpaid
Prepaid Talk 299 plan 3G 899 plan
Postpaid Talk 349 plan 3G 1299 plan
Question 1 (b)
Talk unlimited plan
In cell B8, create a dependent validation list i.e. if the user selects
prepaid in cell A8, then allow the user to select from any of the
prepaid plans from range C12:C13.
To correct for the problem of inconsistent selection in the primary and secondary validation list, kindly refer to my article at the following link
http://www.ashishmathur.com/secondary-validation-cell-entry-to-update-when-primary-validation-cell-changes/
Let's say that you create a validation list in a certain cell the source of which is A6:A9 on the same worksheet. On second thoughts, if you realise that the entries in
A6:A9 (source of the validation) are misspelt or you just want to change them to something else, then even after making changes, the existing validated cell show
you preselected entries and not the revised entries. One has to manually go the validation cell drop down and reselect.
This macro based solution, solves the problem - http://www.ashishmathur.com/automatically-change-validated-entries-when-source-of-validation-list-changes/
Page 70 of 156
Validation & subtotals
Part II - Primary and dependent validation lists - working with spaces in primary validation entries
Category Item
Product C Question 1 (C)
Product B
Apply dependent validation in cell B34.
Product C
To make dependent validation list vanish for a certain selection, refer to my solution at the following link - http://www.ashishmathur.com/removing-dependent-
validation-list-from-cell-for-one-case/
Page 71 of 156
Validation & subtotals
Page 72 of 156
Validation & subtotals
One of the properties of the SUBTOTAL() function is that when it is used on a Leaving blank rows/columns /cells in your data is generally a very bad
range in which there are individual SUBTOTAL() functions, it actually ignores idea. This destroys the structured nature of Excel - it sort of violates the
the cells which hold those individual SUBTOTAL() functions. spreadsheet integrity. It means that you can't use your data, in all
instances that work well with blocks of data, such as pivot table,
subtotal, auto filter, advanced filter , auto sum etc.. Presence of blank
rows/columns will require manually selecting the range anytime you
After obtaining the totals in E56, E66 and E70, if you wish to get averages want to do anything. In addition, selection techniques such as Ctrl
instead, then with the three sells selected, simply find for =sum( and replace Down Arrow, Ctrl Up Arrow will not work.
with =average(.
Names Question 3
In cell A89, allow the users to enter any one of the names which
appear in range A6:A9 of the worksheet named "Lookup techniques".
Alternatively one can also type the sheet name and range reference in In Excel 2010, one can validate across worksheets normally without
Data > Validation > Custom > List > Source. The format would be as using named ranges.
follows:
='tabname'!range_reference
Please note the single quotes before and after the sheet name.
The data validation list in question 1 can be automatically expanded for any new category/item which gets appended by converting the range to a list (or Table
in Excel 2007). First convert the range to a List/Table and then validate the cell. Thereafter ,when you add any connection in cell A14, it will automatically
appear in the validation drop down in cell A8.
Page 73 of 156
The data validation list in question 1 can be automatically expanded for any new category/item which gets appended by converting the range to a list (or Table
in Excel 2007). First convert the range to a List/Table and then validate the cell. Thereafter ,when you add any connection in cell A14, it will automatically
appear in the validation drop down in cell A8. Validation & subtotals
For highlighting inconsistencies in the secondary validation list, cell B8, use a combination of conditional formatting, COUNTIF() and INDIRECT() functions.
Page 74 of 156
lects
he
Page 75 of 156
Separator 2
Recap
Page 76 of 156
Data Querying
Page 77 of 156
Data Querying
Method 1
Branches Branches ratio
>8 <14 >50
Method 2
Branches Branches
>8 <14
Company Branches Assets Employees Question 4 (Without using a spare column) - Method 2
Bank A 5 1000 23 Display all the rows where the branches are greater than 8, less than
Bank B 12 1200 35 14 and the ratio of Assets to employees i.e. Assets/Employees is
Bank C 6 1400 47 greater than 50.
.
Page 79 of 156
Question 4 (Without using a spare column) - Method 2
Display all the rows where the branches are greater than 8, less than
14 and the ratio of Assets to employees i.e. Assets/EmployeesData
is Querying
greater than 50.
.
Bank D 13 1600 59
Bank E 9 1300 25
Name
A Question 5
S
Filter range A63:A68 on "A" and range A71:A75 on "F".
D
F
A
Name
F
G
H
F
Bank B 1200
Bank E 1300
Please remember that advanced filters do not auto update. Every time the data changes, you will have to rerun the advanced filter.
Page 81 of 156
Data Querying
ployees
d(>23,<50)
pecified in range A5:F6.
Page 82 of 156
Data Querying
in range
8, less than
yees is
Page 83 of 156
Data Querying
8, less than
yees is
Page 84 of 156
8, less than
yeesData
is Querying
eria specified in
mpany and
Page 85 of 156
Data Querying
Page 86 of 156
Question 1 - Extract unique records Question 2 - Extract mobile nos which called
Mobile duplicate
Emp ID Date Question 1 Number s Question 2
A001 3/12/2009 9811098110 3
Extract unique records to another Extract mobile nos wh
A002 6/15/2009 range (starting from cell A16). A 9811098111 1
A003 2/10/2009 9811098112 2 more than once . In t
unique record is defined as a record
which has atleast one distinct entry. output, the repeated
A006 7/16/2009 9811098110 3 should appear only on
A001 3/13/2009 9811098121 1
A001 3/12/2009 9811098142 1
A002 6/17/2009 9811098110 3
A003 2/11/2009 9811098112 2
Page 87 of 156
Question 4 - Count unique values
Name Incomplete
A
S
G
F
A
R
Question 3
Page 88 of 156
Duplicates and uniques
Question 2
ate-a-unique-count-with-conditions-in-
Page 89 of 156
Duplicates and uniques
Complete
Location ConditionLOB
AZ1
GH2
HJ7
Page 90 of 156
Separator 3
Recap
Page 91 of 156
Summarising based on conditions
Sum 38
Method 1 Count filled up cells (cells with length more than 0)
Method 2 Count Nos.
Count text
Method Criteria Sum Count Count blanks (formulas which return blanks)
Method 1 >10 42 Count empty cells (cells which are empty)
Method 2 10 42
Value #NAME?
Please be advised that arrays in the sumproduct function have to all be of a single orientation i.e. either all by rows or all by columns. For multiplying 2 arrays where
one is by row and another one is by column, refer to Question 6 of the "Miscellaneous" sheet .
Ctrl+Enter is a useful key combination to coerce formulas across the selected cells in a range.
Page 92 of 156
Summarising based on conditions
Ctrl+Enter is a useful key combination to coerce formulas across the selected cells in a range.
The SUMPRODUCT() function has 2 variants - one with a comma and the other with a *. Generally these can be used interchangeably. However, when the numbers
have to taken from multiple columns (Question 6 below), then only the * will work.
Also, the benefit of SUMPRODUCT() with a comma is that it will multiply arrays of numbers even if there is a text value in the range specified. In other words, it will
ignore text values.
When dealing with dates in any formula, please always enter the dates in separate cells and then refer to those cells in the formula. Avoid typing dates in the formula
because 31/12/2009 will not be treated as 31 December 2009 but as 31 divided by 12 divided by 2009
Now please try to solve question 6 of the sheet named "Lookup Techniques"
Page 93 of 156
Summarising based on conditions
Page 94 of 156
Question 6
In B85:E87 sum and count the values from range A6:C12 of the sheet
named Sales data (from file Excel session-data.xls) .
Summarising based on conditions
Since there are only 2 OR conditions i.e. Apples or Oranges, the SUMPRODUCT formula is manageable. If the number of OR conditions was large i.e. then you may
adopt the following approach - http://www.merawindows.com/Forums/tabid/324/forumid/90/threadid/47684/scope/posts/Default.aspx
In my solution to this problem, you may replace the INDIRECT portion with the range reference.
Question 8 - SUMPRODUCT with non numeric values appearing in the values column
Sumit Mumbai
Sumit Mumbai
Page 95 of 156
Summarising based on conditions
In the SUMIF() function, if the sum_range This is one example where the
is more than one column wide, then only sumproduct with a comma will not work.
the first column will be used for summing. One will have to use the * symbol.
Values Values
-1 -1
2 2 Question 11
#VALUE! #VALUE!
In cell B160, sum up the values. Avoid deleting errors or using a spare
4 4 column.
#DIV/0! #DIV/0! In cell C160, count the values. Avoid deleting errors or using a spare column.
Err:504 Err:504
Sum/Count 5 5
To sum visible cells in a filtered range ignoring error values, kindly refer to the following article -
http://www.ashishmathur.com/sum-visible-cells-of-a-filtered-range-ignoring-errors/
To sum numbers from a range of alphanumeric entries, kind refer to the following article -
http://www.ashishmathur.com/sum-a-range-of-alphanumeric-entries-ignoring-errors/
Question 12
Count C139
Count the number of entries from range C139, C142, C143 and C145 which are
C142 greater than 15.
C143
C145
Page 97 of 156
Summarising based on conditions
KPI Jan Feb Mar Apr May Jun Jul Aug Sep
Quantity 1.0 1.2 1.4 1.6 1.0 0.6 1.3 1.5 1.2
Revenue 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0
PAT 3.0 3.4 3.0 2.4 3.2 1.3 2.0 2.4 1.5
KPI Till
KPI Jan Feb Mar Apr May Jun Jul Aug Sep
Quantity 1.0 1.2 1.4 1.6 1.0 0.6 1.3 1.5 1.2
Revenue 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0
PAT 3.0 3.4 3.0 2.4 3.2 1.3 2.0 2.4 1.5
Ageing
>1m 0
1m 1
2m 1
<1m 2
<1m 3
<=1m 5
Page 98 of 156
Summarising based on conditions
Page 99 of 156
Summarising based on conditions
Revenue
Receivables from
Revenue Sales in from Outlet Noida Total
Product from store A Quantity Shop B Items C Pairs sold store Qty Revenue
A 123 12 223 17 323 22 423 29
S 234 13 334 21 434 26 534 33
D 345 14 445 25 545 30 645 37
F 456 15 556 29 656 34 756 41
Q2 - Revenue Q3 - Re
Actual Target Q-o-Q
Product July Aug Sep revenue Revenue Variance growth Oct Nov
A 123 1200 223 1546 1496 3% 1300 423
S 234 1250 334 1818 1874 -3% 1356 534
D 345 1399 445 2189 2312 -5% 1672 645
F 456 1450 556 2462 2336 5% 1567 756
Just as one can perform a SUM() and COUNT () operation based on multiple conditions by using the SUMPRODUCT() formula, one can also perform an AVERAGE( )
operation based on multiple conditions by using the SUMPRODUCT() formula in the numerator and denominator.
In Excel 2007, one can use the AVERAGEIF() and AVERAGEIFS() formulas to perform a conditional average based on one/multiple conditions.
To make
The the SUMPRODUCT()
SUMPRODUCT() function
function is work in situations
more powerful where there
than its equivalent are textinvalues
functions appearing
Excel 2007 a.k.a. in the between
SUMIFS() numeric columns,
and COUNTIFS() becausekindly refer to my article
the SUMPRODUCT at the
function can be
following
used address
in AND/OR - http://www.ashishmathur.com/sumproduct-function-to-work-on-a-range-with-interspersed-text-values/
situations ("+" and "*" operators). The SUMIFS( ) and COUNTIFS() functions are designed for working with the AND condition only.
Please remember that the SUMPRODUCT() function does not accept entire rows or columns as ranges such C:C or 2:2 unless you are working in Excel 2007. Also, even
though one can do so in Excel 2007, please avoid this practise. If you think that you would be adding data to an existing range, please convert the range to "List" (Ctrl +
L) or "Table" (Ctrl + T). Ctrl + T is specific to Excel 2007.
To make the SUMPRODUCT() function work on the visible cells of a filtered range, kindly refer to my article at the following address -
http://www.ashishmathur.com/apply-sumproduct-on-visible-cells-of-a-filtered-range/
Formula
S
1
Y
9
ng 2 arrays where
Date
1/1/2009
1/14/2009
lls 1/20/2009
1/25/2009
2/2/2009
hen
indirect
sumif
countif
offset
getpivotdata
sumifs
countifs
12 of the sheet
ased on conditions
oid filtering,
tion 9
C129, sum up the revenues for May and June for Product A.
t use a spare column .
umn.
10
Oct
21
Oct
1.1
21.0
1.6
Oct
1.1
21.0
1.6
Q3 - Revenue
Dec
1450
1432
1700
1634
n AVERAGE( )
Tarticle at the
function can be
See Note 2
Page 110 of 156
Conditions - summary
See Note 2
Note 1:
- Generally, when one wants to sum/count based on one condition, one uses the SUMIF()/COUNTIF() function. However, in the following two
situations, one would have to use the SUMPRODUCT() function even though there is only one condition:
a. When there are multiple columns to sum up (Question 6 of the previous sheet)
b. When the source workbook is closed (Question 8 of the previous sheet). In other words, the SUMIF()/COUNTIF() functions yield error
values when the source workbook is closed
Note 2:
- Generally, when one wants to sum/count based on multiple conditions, one uses the SUMIFS()/COUNTIFS()/SUMPRODUCT() function.
However, when dealing with dates, one can use the SUMIF()/COUNTIF() function even though there are two criteria
- SUMIFS()/COUNTIFS() are specific to Excel 2007
Recap
Question 1
Date Region Area Agent Product Price Quantity Amount
7/25/2008 DA A Ravi QW 24 24 576
7/28/2008 ER S Mahesh OP 29 25 725
7/29/2008 DA A Pankaj PQ 23 30 690 Before pivoting data,
7/30/2008 ER V Mahesh RT 24 35 840 please always remember
to plug in the blank cells.
7/31/2008 DA F Ravi FD 20 40 800 The procedure to do so
8/1/2008 ER V Pankaj MN 30 45 1350 is:
8/4/2008 DA B Sumit RT 26 51 1326
8/5/2008 ER N FD 26 52 1352 1. Select the column or
Sumit columns;
8/6/2008 DA R Sumit MN 26 53 1378 2. Press Ctrl+G > Special >
8/7/2008 ER Q Sumit DF 26 54 1404 Blanks
8/8/2008 DA B Sumit PQ 26 55 1430 3. Now press =, up arrow
key and Control +Enter
8/11/2008 ER N Sumit RT 26 56 1456
8/12/2008 ER S Ravi FD 26 57 1482
8/13/2008 DA B Pankaj MN 26 58 1508
8/14/2008 ER S Ravi PQ 26 59 1534
8/15/2008 DA F Pankaj RT 26 60 1560
8/18/2008 ER Q Ravi FD 26 61 1586
8/19/2008 DA F Pankaj MN 26 62 1612
8/20/2008 ER S Ravi MN 26 63 1638
8/21/2008 ER V Pankaj PQ 26 64 1664 After plugging the empty
8/22/2008 DA F Ravi RT 26 65 1690 cells with the value in the
8/25/2008 ER S Pankaj FD 26 66 1716 cell above, please
remember to select the
8/26/2008 DA A Ravi MN 26 67 1742 entire column and hard
8/27/2008 ER V Pankaj MN 26 68 1768 paste all the values by
8/28/2008 DA F Ravi PQ 26 69 1794 doing Alt + E + S + V. If
you do not do this and
8/29/2008 ER S Pankaj RT 26 70 1820 sort the range, the result
9/1/2008 ER Q Ravi FD 26 71 1846 will be incorrect.
9/2/2008 DA B Pankaj MN 26 72 1872
9/3/2008 ER S Ravi MN 26 73 1898
9/4/2008 DA R Pankaj PQ 26 74 1924
Page 113 of 156
Pivots - data in one sheet
Question 1
Date Region Area Agent Product Price Quantity Amount
9/5/2008 ER S Ravi RT 26 75 1950
9/8/2008 DA R Pankaj FD 26 76 1976
12/31/1899 ER S Sumit MN 26 77 2002
9/10/2008 ER V Sumit MN 26 78 2028
9/11/2008 DA F Mahesh PQ 26 79 2054
9/12/2008 ER S Mahesh RT 26 80 2080
9/15/2008 DA R Mahesh FD 26 81 2106
9/16/2008 ER V Mahesh MN 26 82 2132
9/17/2008 DA F Mahesh MN 26 83 2158
9/18/2008 ER S Mahesh PQ 26 84 2184
9/19/2008 ER V Mahesh RT 26 85 2210
9/22/2008 DA A Mahesh FD 26 86 2236
9/23/2008 ER N Mahesh MN 26 87 2262
12/31/1899 DA R Mahesh MN 26 88 2288
9/25/2008 ER V Mahesh PQ 26 89 2314
9/26/2008 DA B Mahesh RT 26 90 2340
9/29/2008 ER N Mahesh FD 26 91 2366
9/30/2008 ER N Mahesh MN 26 92 2392
10/1/2008 ER S Sumit DF 26 50 1300
Solution 1
Sum - Amount Region
Status East North South West Total Result
Cancel 39 24 90 31 184
Existing 63 25 81 77 246
Total Result 102 49 171 108 430
Pivots - Formulation (Part II)
Date of
service Service 1 Service 2 Service 3
12/Apr/11 Jones Taylor Taylor
30/Jul/11 Moore Miller Garcia Question 1
18/Apr/11 Thomas Jackson Anderson From the data shown alongside, determine the number of services (by service type and total)
18/Apr/11 Jackson White taken by every individual monthwise.
25/Jan/11 Jackson Harris Thompson
10/Mar/11 Thompson Harris Johnson
13/Mar/11 Smith Lewis
18/Jan/11 Thomas Garcia Williams
6/Jul/11 Garcia Rodriguez Harris
9/Apr/11 Thompson Miller
7/Apr/11 Martin
15/Apr/11 Jones Jones Clark
13/Jul/11 Harris Thomas Garcia
26/Aug/11 Wilson Thomas Martin
1/May/11 Davis Williams
12/Apr/11 Lewis Garcia White
22/Mar/11 Martin Clark Moore
21/Aug/11 Williams Thomas
19/Jul/11 Jones Rodriguez Wilson
27/Jul/11 Jones
6/Mar/11 Clark Thompson
Question 1
Group the first Pivot Table by Months and the second one by Years (without recreating the second Pivot Table).
Pivot Analysis
Simple average such Weighted average such as average Seeing the Grouping Get the message
as average quantity price by agent, by area and by region box "Cannot Group the
sold per month or average realisation. selection". Reasons
can be
Formulation in a pivot
Solutions
Solutions
Compute cancellation
Compute Grand total first ratio first (by using
(by using calculated iten calculated iten formula)
formula) and then and then compute Grand
compute the cancellation Total . Change the solve
ratio. There will be no order to correct for
need to change the solve cancellation rate in the
order Grand Total column
Recap
In the chart above, orders are depicted in column on the primary y axis and % is depicted in line on the secondary y axis. If you wish to show both Orders as well as % as
columns , then please refer to the following link on my website
http://www.ashishmathur.com/create-a-column-column-graph-on-two-axis/
Date Amount
15/Jan/09 12
20/Feb/09 23
25/Feb/09 34
Question 2
Name Amount
Asia 1,897
Americas 1,259
Middle East and Nort 103
Central and Eastern 89
Far East (excl. Mala 188
Question 3
Orders
Name of Agent secured
A 100
B 100
C 100
D 10
E 20
F 100
G 230
H 170
I 30
J 100
K 20
L 20
Page 129 of 156
Question 5 - Customising the "Other" data label in a bar of pie chart
LOB Revenue
Power 142.3
Telecom 80.0
Others 44.5
Railways 65.9
Airports 23.0
Ports 12.0
Roads 12.0
Question 5
Change the Other data label on the pie to "Transportation" and ensure
that the graph remains dynamic for changes made to the source data
50%
Profit
LOB margin (%) 40%
Power 12% 40%
Telecom -4% 50%
Retail 40% 30%
Hospitality -6% 40%
Car Rental -7% 20%
Manufacturing 2% 12%
30%
10%
2%
20% 40% Column B
0%
Power Telecom Retail Hospitality Car Rental Manufacturing
10% -4%
-10% -6% -7%
12%
0% 2%
Part II - Colour columns, representing values less than a benchmark
-4% value, -6%
in red
1 2 3 4 -7%
5 6
45%
-10% 40%
40%
Revenue
LOB Growth (%) Dummy 35%
Power 12% 12% 30%
Telecom 10% 0%
25%
Retail 40% 40%
Hospitality 6% 0% 20%
Car Rental 7% 0% 15% 12% 12%
Manufacturing 12% 12% 10%
10% 7%
6%
Benchmark 10% 5%
0%
Page 131 of 156
Power Telecom Retail Hospitality Car Rental Manufacturing
25%
20%
15% 12% 12%
10%
10% 7%
6%
5%
0%
Power Telecom Retail Hospitality Car Rental Manufacturing
Product Revenue
Product A 123
Product S 1200
Product D 12
Product F 8
Product Y 10
Question 8
In the graph above, also want the columns for Product D, Product F and Product Y to be shown prominently.
90
80
30 34 10
6 54
45
20
10 24 23
12
0
A S D F R
Revenue from India Revenue from overseas
Question 10 - Hiding data labels for zero values on Stacked column charts
80
70
14
Question 10
60
In the graph alongside, hide datalabels which show a
50 21 value
of 0.
40 Page 135 of 156
11
6
30 9 18
6
80
70
14
Question 10
60
In the graph alongside, hide datalabels which show a
50 21 value
of 0.
40 11
6
30 9 18
6
20 5 8
4
0
10 0 21
19 18
12 13
0
FY2005-2006 FY2006-2007 FY2007-2008 FY2008-2009 FY2009-2010
Shoes Apparels Accessories Sports Equipment
Date Complaints 90
1/1/2010 12
2/1/2010 34 80 89 90
3/1/2010 56 78
4/1/2010 32 70 78
5/1/2010 67 67 68
6/1/2010 2 60
7/1/2010 17 56 56 56
8/1/2010 68
50
9/1/2010 34
10/1/2010 56 45
40
11/1/2010 78
12/1/2010 56 34 34
34 32
30 32
1/1/2011 1
2/1/2011 2 23
20 21
3/1/2011 34 17
16
4/1/2011 45 12
10
5/1/2011 16
6/1/2011 78 2 4
1 2
0
1/1/2010 Page 136 of 156 5/1/2010
3/1/2010 7/1/2010 9/1/2010 11/1/2010
34 32
30 32
20 23
21
17
16
12
10
2 4
1 2
0
7/1/2011 23
1/1/2010 3/1/2010 5/1/2010 7/1/2010 9/1/2010 11/1/2010
8/1/2011 89
9/1/2011 90 Question 11
10/1/2011 21
11/1/2011 32 Display multiple series on the x axis i.e. create a 2 x-axis chart.
12/1/2011 4
90
Month Price Qty Revenue
Jan 1 9 12 80 78
Feb 2 15 23
70
Mar 2 20 34
Apr 0 60
May 2 6 12 50
Jun 2 23 45 45
Jul 2 52 78 40
34
30
23
20
10 12 12
0 0
Jan Feb Mar Apr May Jun Jul
Limits Values
Danger-Lower 15
Danger-Upper 25
Ideal range-lower 25
Ideal range-Upper 35
Overstocked-lower 35
Page 137 of 156
Overstocked-Upper 45
50
37
45
33
40
28
35
26
30 23
25
20
15
10
0
Jan Feb Mar Apr May
Danger-Lower Understocked Ideal range Page
Overstocked 138 Overstocked-lower
of 156 Overstocked-Upper Actual stock
10
0
Jan Feb Mar Apr May
Danger-Lower Understocked Ideal range Overstocked Overstocked-lower Overstocked-Upper Actual stock
180
160
140 26
0
120
4
100
80 2
60 119 123
104
40 80
20
0
Q3'10 Q4'10 Q1'11 Q2'11
Account Merges Contact Merges Training Inactivation Reactivation Helpzilla
Q4'10 104
0 0 5 4 8
Q1'11 123
0 2 1 26 3
Q2'11 80
1 0 0 2 4
140 35
120 3 30
A
c 100 25
c A
o l
u 80 20 l
n
t O
123 26 t
M 60 119 15 h
e 104 8 e
r r
g 40 3 80 10 s
e
s 2
4
20 4 4 5
5 1 2
3 2
0 1 0
Q3'10 Q4'10 Q1'11 Page 140 of 156
Q2'11
Account Merges Contact Merges Training Inactivation Reactivation Helpzilla
r r
g 40 3 80 10 s
e
s 2
4
20 4 4 5
5 1 2
3 2
0 1 0
Q3'10 Q4'10 Q1'11 Q2'11
Account Merges Contact Merges Training Inactivation Reactivation Helpzilla
Step 1 - Insert one row above and one row below the 4 rows. So if there are four rows (one for earch quarter), eight rows will get created
(two for each quarter) - one above and one below the quarter
Step 2 - In the blank cells which now emanate because of step 1, enter Label1 in column A. So for four rows, eight Label1 text values should a
Step 3 - Copy the data (numbers in columns C:G) from every second row and paste it in the row below. So, copy data from second row and pa
third. Then copy data from the fourth and paste it in the fifth and so on
Step 4 - Delete the data from every second row now i.e. delete data from row 2, row 4 etc.
Step 5 - Enter label1 in the last row of column i.e. two label1 headings will appear together in the end
Step 6 - Select range from the header row to one row below the last row of data
Step 7 - Create a stacked column chart
Step 8 - Right click on the first column and under Format data Series, select Gap width as 0
Step 9 - Right click on any one stack block in the second column and under Format Data Series, select Secondary Axis
Step 10 - Repeat step 9 for every stacked block in the second column
Step 11 - Right click and add date labesl for all columns and stacks per column
Step 12 - In the source data, delete label1 from column A
One can automatically plot data points appended to an existing source range (data added by rows to the source data of a graph) by converting the source range to a
list/Table (in Excel 2007). Please note that in Excel 2007 and higher versions, a range converted to a List /Table (in Excel 2007) expands by columns as well (only for graphs,
not for formulas).
ers as well as % as
12%
Graphs
Manufacturing
23
54
which show a
78
56
32
Graphs
4
1/1/2010
ce range to a
ell (only for graphs,
Question 3 - Count alphanumeric strings and Sum names starting with "A" Question 4 - Monitor cells
Product Class Name Amount Name Summation
1 Ashish 13 Ashish 10
AC Anuj 13 Sanjay 0
B Mahesh 21 It is possible to select multiple non-contiguous cells in Show watch
9 Rakesh 12 window by pressing the Ctrl key
C Akshay 21
Method 1 Akash 89
Method 2 Sum
Company A
Paste HLOOKUP() Shorter Though we have discussed a shorter formula here for transposing, please
Company B special formula formula remember that if there are many array formulas in the workbook
2009 111 100 100 (confirmed by Ctrl+Shift+Enter) the workbook recalculations slow down.
Therefore please use array formulas judiciously.
2010 112 104 104
2011 113 108 108
2012 114 112 112
Page 150 of 156
Miscellaneous
Question 6 - Multiply arrays with a different orientation (horizontal/vertical) and then sum
Total input
Product Production Input/ProduA B C D required
A 10 In1 1 1
B 11 In2 1
C 12 In3 1 1
D 13 In4 1 1 1 1
In5 1 1
Question 9 - Show next weekday Question 10 - Spell check across the workbook
Date
12/25/2008 26/12/2008 After performing your task (such as spell check) on grouped sheets, please
remember to ungroup the sheets.
12/26/2008 29/12/2008
Question 11 - File bloat Question 12 - See upto 4 different portions of the worksheet at the same time
Page 152 of 156
Miscellaneous
Revenue Revenue
Prod A Prod A The bullets applied by this method will remain even after pasting the cells in MS Word or MS Power
Variant S • Variant S Point.
Variant T • Variant T
Prod B Prod B
Question 15 - Freeze Panes for viewing and printing Question 16 - Open all linked files at once
Save Workspace
Name Marks
Gautam 60
Question 19 - Apply operation on filtered data Ashish 10
Sameer 20
Product Rs. mn Sanjay 30
A 231
D 235 Colour all numbers where the marks scored by
F 781 a student are greater than the marks scored by
A 891 the same student in range B6:B9 of the sheet
"Lookup techniques".
E 761
W 915
Exchange ra 45
A very common problem faced by a majority of the Excel users is that our files take ages to open i.e. when we log into our system in the morning and open an Excel
file, the file takes unduly long to open. The single biggest reason for this occurrence is that the ranges used in formulas include redundant rows i.e. since we know
that we will keep adding data to an existing range, we define the range in a formula as fairly large (such as A5:B20000 when data is actually only populated in range
A5:B1000) to take care of further data additions . Please avoid this practise. Instead just convert the range to a list (or Table in Excel 2007).
As has been discussed in the 2 day session, there are multiple benefits of converting a range to a List (or Table in Excel 2007). However, there are some restrictions
and limitations of converting a range to a List (or Table in Excel 2007):
without
data