Book Image

Excel 2010 Financials Cookbook

By : Andre Odnoha
Book Image

Excel 2010 Financials Cookbook

By: Andre Odnoha

Overview of this book

<p>Excel is one of the mostused software tools in the world and just about every business has a copy somewhere. Despite its power and flexibility it is not always clear how to use it to perform some of the most important tasks in any business: organizing, analysing, and presenting financial information.<br /><br />Excel 2010 Financials Cookbook contains a rich collection of useful techniques for handling financial data in Excel. From integrating data from a variety of different sources, through organazing and analyzing financial data, to presenting it in a variety of graphical forms, this book has you covered.<br /><br />The book deals first with "normalizing" financial data -- that is, bringing data from a number of different sources into a single format where you can analyze them together. Then you'll learn techniques for managing and analyzing the data before discovering ways to present it graphically. The book then looks at Excel's built in features for financial analysis, and even shows how you can combine the built in features to build your own analysis functions.</p>
Table of Contents (14 chapters)
Excel 2010 Financials Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Combining financial data


As we learned in earlier recipes, the best method for manipulating data in Excel is to break information into the smallest pieces possible. However, when porting this data to other locations or merging into reports, data may be better displayed by combining fields together; last name, middle initial, and first name for example. While smaller pieces are more efficiently manipulated, this broken form may not be read, when printed or communicated in reports, as easily.

In this recipe, you will learn how to combine a data field with textual characters to prepare data for review and reporting.

How to do it...

Combining data is a simple task that involves choosing the information that you wish to combine and adding any extra characters as needed. We will prepare the data below to be added to an employee timesheet. The full name field will need to display the employee number, last name, first name, and middle initial in the following form:

34567 — Doe, John F.

  1. 1. Begin by selecting an empty cell where the combined data is to be displayed:

  2. 2. Within the formula bar, type the following formula:

  3. 3. After pressing Enter, Cell A2 now displays the combined data. Click once again in cell A2, place your mouse over the small square that is displayed in the lower right-hand corner of the highlighting, and drag your mouse down to the last row that contains data; in this case row 4. Then release the mouse.

  4. 4. The cells now display the combined data.

How it works...

The formula entered used an ampersand (&), this symbol instructs Excel to combine information sequentially rather than attempting to add it together. By placing the hyphen (-), space ( ), comma (,), and period (.) in between quotation marks ("), Excel recognizes that the information is to be displayed as text. This combined with the ampersand combines the data within the cell references and quotations to build the new text string.

There's more...

Excel has a built-in function for stringing data together called CONCATENATE. This formula allows textual strings to be listed sequentially without the use of an ampersand; however, the ampersand formula allows for greater flexibility and the inclusion of formula results within the combined string, whereas CONCATENATE treats all information as text.

See also

The data that has been combined is now utilizing a formula. Before delivering this Excel sheet to another party, it may be beneficial to remove the formulas and retain the data. See recipe Removing formulas from a list of numbers.