Printer Friendly
The Free Library
14,694,643 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Double-teaming in Excel: spreadsheets now can solve tougher calculations.


Creating a spreadsheet spreadsheet

Computer software that allows the user to enter columns and rows of numbers in a ledgerlike format. Any cell of the ledger may contain either data or a formula that describes the value that should be inserted therein based on the values in other cells.
 to calculate depreciation expenses for a single property class is a piece of cake for most accountants using Excel's LOOKUP A data search performed within a predefined table of values (array, matrix, etc.) or within a data file.  function (see "Make Excel A full-featured spreadsheet for Windows and the Macintosh from Microsoft. It can link many spreadsheets for consolidation and provides a wide variety of business graphics and charts for creating presentation materials.  a Little Smarter," JofA, Jul.03, page 735. But many CPAs might scratch their heads for a solution if the exercise contained more than one property class. Read on and we'll show you how to perform that difficult calculation by teaming LOOKUP with MATCH.

As you can see from exhibit 1, below, the solution for five-year property class assets is solved simply with =VLOOKUP(F5,A$5:B$11, 2,FALSE).

[ILLUSTRATION OMITTED]

But if we expanded the problem to include seven-year assets, the necessary data would be dependent on the intersection intersection /in·ter·sec·tion/ (-sek´shun) a site at which one structure crosses another.

intersection

a site at which one structure crosses another.
 of rows (the age of the asset) and columns (its property class). Clearly LOOKUP can't perform the data extraction Data extraction is the act or process of retrieving (binary) data out of (usually unstructured or badly structured) data sources for further data processing or data storage (data migration).  on its own--but exhibit 2, page 84, shows how to solve the problem by embedding 1. (mathematics) embedding - One instance of some mathematical object contained with in another instance, e.g. a group which is a subgroup.
2. (theory) embedding - (domain theory) A complete partial order F in [X -> Y] is an embedding if
 MATCH inside the LOOKUP function.

[ILLUSTRATION OMITTED]

Let's create that command in the formula bar (fx). As you know the LOOKUP function extracts data from one area of a spreadsheet and uses them in another. If the data are organized horizontally, we'd use HLOOKUP; and if they're vertical, as in this example, we'd use VLOOKUP, which contains four parts:
               1           2
=VLOOKUP(lookup_value,table_array,
       3           4
col_index_num,range_lookup)


Assume we want to calculate depreciation expense under the modified accelerated cost recovery system Modified Accelerated Cost Recovery System (MACRS)

A 1986 act that set out rules for the depreciation of qualifying assets, allowing for greater acceleration over longer periods of time.
 (MACRS See Modified Accelerated Cost Recovery System.

MACRS

See Modified Accelerated Cost Recovery System (MACRS).
) for assets with a five-year property class. Exhibit 1 shows how the LOOKUP command could extract the appropriate depreciation rate from a MACRS rate table and place it in cell 15:

I5=VLOOKUP(F5,A$5:B$11,2,FALSE)

(Editor's Note Editor's Note (foaled in 1993 in Kentucky) is an American thoroughbred Stallion racehorse. He was sired by 1992 U.S. Champion 2 YO Colt Forty Niner, who in turn was a son of Champion sire Mr. Prospector and out of the mare, Beware Of The Cat.

Trained by D.
: Excel's Function Wizard Instructional help in an application or system development environment that guides the user through a series of multiple choice questions to accomplish a task. For the most part, wizards are more effective than the help menus found in most applications, which often border on the atrocious.  could be recruited to develop the formula. To open the wizard, click on Insert, Function, which evokes a pop-up screen that will walk you through the process.)

Formula details:

* The choice of VLOOKUP shows the table is organized vertically.

* Lookup_value = F5 commands Excel to look up the age of the asset (six years) in the first column of the table.

* Table_array = A$5:B$11 is the cell range of the table. Notice the absolute cell reference ($) should be used before copying this formula to other cells.

* Col_index_num = 2 retrieves the depreciation rate from the second column of the table.

* Range_lookup = FALSE finds an exact age match in the table. (For applications in which exact matches are not necessarily sought, such as when the variable in question covers a range of values, the range_lookup would be entered as TRUE, which is the default. In such instances, Excel will find the largest value less than or equal to the lookup_value; the data in the table therefore must be presented in ascending ascending /as·cend·ing/ (ah-send´ing) having an upward course.

ascending

progressing to higher levels, usually used in reference to the nervous system.
 order.)

Now, if we add seven-year-property class assets, the necessary data for the depreciation expense calculations will be dependent on the intersection of rows (the age of the asset) and columns (its property class). That will require the addition of the MATCH function to find the intersection of two data points in a table--in our example, the age and class of an asset. We'll use MATCH in the col_index_num position of the LOOKUP function. MATCH has three required elements:
             1            2           3
=MATCH(lookup_value,lookup_array,match_type)


Details:

* Lookup_value = The value you want to match in your table. It can be a number, text or logical value.

* Lookup_array = The range in the table containing the value you're seeking.

* Match type = The number, -1, 0 or 1, that specifies how Excel matches the lookup_value with values in the lookup_array. If match_type is 1, MATCH finds the largest value that is less than or equal to lookup_value.

The lookup_array must be placed in ascending order: -2, -1, 0, 1, 2; A-Z; and FALSE, TRUE. If match_type is 0, MATCH finds the first value that is exactly equal to lookup_value. The lookup_array can be in any order.

If match_type is -1, MATCH finds the smallest value greater than or equal to lookup_value. The lookup_array must be placed in descending descending /des·cend·ing/ (de-send´ing) extending inferiorly.  order: TRUE, FALSE; Z-A Z-A Zero All ; and 2, 1, 0, -1, -2 and so on. If match_type is omitted, Excel assumes it's 1.

Now let's create the spreadsheet with VLOOKUP and MATCH in column K to determine the proper depreciation expense rate. VLOOKUP combines information from two different sections of the worksheet: Each asset's age and depreciation class are contained in columns H and I in the asset depreciation schedule and the MACRS table in B3 through D11. MATCH tells VLOOKUP what column to go to in the table to find the match (intersection) between the age and class of the asset.

Here's the formula to put in K4 to automatically extract the rate for a six-year-old asset in the five-year-class category:

K4=VLOOKUP(H4,B$3:D$11,MATCH(I4,B$3:D$3,0),FALSE).

Details:

* Lookup value = H4 looks up the age of the asset in the first column of the table.

* Table_array = B$3:D$11 is the cell range of the table.

* Col_index_num = MATCH(14,B$3:D$3,0)

* Lookup_value = I4 looks up the asset class (Five) in the table.

* Lookup_array = B$3:D$3 looks for a property class match in the first row of the table. Be sure the first cell reference in this row corresponds to the first column of the table. Be careful not to use C3.

* MATCH_type = 0 to find an exact match of the asset class in I4.

* Range_lookup = FALSE seeks an exact match of the age and class of the assets in the table. If there is no exact match, Excel will return an error message (#N/A).

Important: The item to be looked up (in this example, age) should be in the first column of the table. The item to be matched (in this example, property class) should be in the first row of the table.

SERIES OF EVENTS

When you execute the command in K4, Excel refers to the table, looks up the age of the asset and matches the appropriate property class. It then places the appropriate depreciation rate of 5.76% for the light truck in that cell (exhibit 2).

If Excel finds a match but there is no depreciation rate listed for the class and life of the asset, it returns a value of 0.00% (see K5) because it concludes the asset is fully depreciated Fully depreciated

An asset that has already been charged with the maximum amount of depreciation allowed by the IRS for accounting purposes.


fully depreciated

Of or relating to a fixed asset that has been depreciated to a book value of zero.
 after six years. If the age and/or class of the asset (columns H and I) doesn't exist in the table, Excel will return the #N/A error message in K6 and will not allow you to perform calculations on ranges that contain this error.

To resolve the range-error problem, we'll add the ISNA Isna (ĭs`nə) or Esna (ĕs`–), town (1986 pop. 43,055), central Egypt, on the Nile River. It is the center for an agricultural area that is irrigated by the Nile.  and IF functions to the formula. ISNA is written as =ISNA(value), where value refers to the contents of a cell. The function returns a value of TRUE if the cell content is #N/A and FALSE if it isn't. Adding this function to the front of the LOOKUP formula results in this command:

K4=ISNA(VLOOKUP(H4,B$3:D$11, MATCH(I4,B$3:D$3,0),FALSE)).

The value in the cell in column K now will read TRUE rather than #N/A if the LOOKUP function fails to find an exact match; or it will read FALSE, instead of listing the depreciation rate, if it does find an exact match.

Now we need to add an IF function to convert TRUE so Excel can perform computations and convert FALSE to the identified depreciation rate for the match. For that we'll use the IF function, which contains three parts:
           1           2             3
=IF(logical_test,value_if_true,value_if_false)


Details:

* Logical_test = Value or expression that evaluates to TRUE or FALSE. In our example, if ISNA finds the error value of #N/A, it returns a TRUE value; if not, it returns a FALSE value.

* Value if_true = Value returned if the logical_test is TRUE. For example, if the logical_test above is TRUE, the cell can accept a number or text because Excel can sum a data column with either of them in it.

* Value_if_false = Value returned if the logical_test is FALSE. In our situation, if the logical_test is FALSE, we will want the depreciation rate to be placed into column K.

Here is the new formula for K4 to automatically insert either the depreciation rate or a message if it finds no match for both the age and class:

K4=IF(ISNA(VLOOKUP(H4,B$3:D$11, MATCH(I4,B$3:D$3,0),FALSE)),0,VLOOKUP (H4,B$3:D$11,MATCH(14,B$3:D$3,0),FALSE)).

Although it may look complicated, the formula is just a repeat of the VLOOKUP and MATCH formulas with a couple of adjustments. The spreadsheet now will look like exhibit 3, below.

[ILLUSTRATION OMITTED]

By linking MATCH, ISNA and IF functions with LOOKUP we have created a depreciation schedule that automatically inserts the appropriate rate for each asset in column K and highlights input errors by noting when an asset's age, combined with its matched class, doesn't exist in our MACRS table. We also can now calculate depreciation expense for each individual asset and then sum these amounts in our asset-depreciation schedule. All these functions are handy enhancements to LOOKUP that can help you use Excel more effectively.

Key to Instructions

To help readers follow the instructions in this article, we use two different typefaces This is a list of typefaces. Serif
Here you can find a graphical version of this table.
  • Aldus
  • Antiqua
  • Aster
  • Baskerville
  • Bell (Monotype) Didone classification serif type deisgned by Richard Austin, 1788
  • Bembo
  • Benguiat
:

* Boldface See boldface font.  type is used to identify the names of icons, agendas and URLs.

* Sans serif Short horizontal lines added to the tops and bottoms of traditional typefaces, such as Times Roman. Contrast with sans-serif.

 type shows commands and instructions users should type into the computer and the names of files.

JUDITH K. WELCH Welch , William Henry 1850-1934.

American pathologist and bacteriologist who discovered the bacteria that causes gas gangrene.
 is an associate professor at the University of Central Florida “UCF” redirects here. For other uses, see UCF (disambiguation).
UCF is a member institution of the State University System of Florida. UCF was founded in 1963 as Florida Technological University with the goal of providing highly trained personnel to support the Kennedy
, Orlando. Her e-mail address See Internet address.

e-mail address - electronic mail address
 is jwelch @mail.ucf.edu. LOIS LOIS Land-Ocean Interaction Study
LOIS Law Office Information Systems
LOIS Lofar Outrigger in Scandinavia
LOIS Loss of Interim Status
LOIS Laser Operated Ion Source
LOIS Learning Options in Suffolk
LOIS Location Oriented Information System
 S. MAHONEY is an assistant professor and DANIEL R. BRICKNER is an associate professor at Eastern Michigan University Eastern Michigan University, mainly at Ypsilanti, Mich.; coeducational; founded 1849 as a normal school, became Eastern Michigan College in 1956, gained university status in 1959. , Ypsilanti. Their e-mail addresses are lois.mahoney@emich.edu and dbrickner@emich.edu, respectively.
COPYRIGHT 2005 American Institute of CPA's
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2005, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Author:Brickner, Daniel R.
Publication:Journal of Accountancy
Date:Nov 1, 2005
Words:1703
Previous Article:The virtues of volunteering: never underestimate the absolute necessity of trust.
Next Article:Make Excel speak faster.(Technology Q&A)
Topics:



Related Articles
The power of spreadsheets. (software programs)
Spreadsheet safety.(accounting practices)
Add perspective to spreadsheets.(information analysis by CPAs using spreadsheet software)
Spreadsheet smarts.
Corporate Focus. (Data News and Products).(Brief Article)
Collaborate on spreadsheets: how to share Excel files with others on your network.
Ferret out spreadsheet errors: use Excel's tools to uncover and correct formula problems.
Data management.(TechnologyTools)(2Web Technologies)
Prepare data for Excel: make information spreadsheet-readable.
The power of arrays: the Excel tool that performs multiple functions in a single step.

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles