Você está na página 1de 9

Mathematics is useful in business , managers can use

mathematics :
Calculate interest, principal or period in given
various combinations of parameters
Describe the different techniques of depreciation.
Depreciate an asset using the various depreciation
techniques
Appraise an investment using payback period, Net
Present Values and Internal Rate of Return
Compare the various techniques of investment
appraisal
Calculate the maturity value of an annuity
Calculate periodic payments for a sinking fund
Calculate the fixed equal payment of annuity given
the maturity value
Describe amortisation as a method of debt repayment

Delete or remove a formula


When you delete a formula, the result of the formula is also deleted. If you dont want to delete
the value, you can instead remove the formula only.
What do you want to do?

Delete a formula and its result

Remove a formula and leave the result in place

Delete a formula and its result


1. Select the cell or range of cells that contains the formula.
If the formula is an array formula, you must first select all cells in the range of cells that
contains the array formula:
a. Click a cell in the array formula.
b. On the Home tab, in the Editing group, click Find & Select, and then click Go To.
c. Click Special.
d. Click Current array.
2. Press DELETE.
Top of Page

Remove a formula and leave the result in place


To do this, you copy the formula and then paste in the same cell by using the Paste Values option.
1. Select the cell or range of cells that contains the formula.
If the formula is an array formula, you must first select all cells in the range of cells that
contains the array formula:
a. Click a cell in the array formula.
b. On the Home tab, in the Editing group, click Find & Select, and then click Go To.
c. Click Special.

d. Click Current array.


2. On the Home tab, in the Clipboard group, click Copy

Keyboard shortcut You can also press CTRL+C.


3. On the Home tab, in the Clipboard group, click the arrow below Paste
click Paste Values.

, and then

Excel tip: Split first name and last name into separate cells
MSDNArchive
8 Jul 2004 8:59 PM

Recently, I helped out a local charitable organization by printing some labels from
an Excel spreadsheet that had a single column called Name that contained both
first name and last name. City, state and zip were also in a single column. I offered
then to clean up the spreadsheet by splitting the data into separate columns, but
hadn't gotten around to it. This week I got email asking if I could do the clean up
since they were going to use the data again. It's been a busy week, and I was
planning on working on it this evening... a polite nag mail in my email when I got
home prompted me to start working on it before I worked on laundry (this was okay
because the laundry's not out of control... yet!)

I figured I would have to write a macro to do the deed -- I'm a macro newbie, but
how hard can it be? I thought to myself. However, I searched through help in
Excel and VBA with a variety of search terms with no luck. Then, of course, I went
to the web, but again I didn't have much luck. I thought I was either going to do
them by hand or whine and beg to get Duncan to write a macro for me. I persisted,
though, and finally found a reference to a Text to Columns command. That
sounded intriguing. I played with it and once I figured out how it worked, the
command was so simple to use that I still have time to write the post AND get
started on the laundry -- I've already sent the spreadsheet off!

So I'm sure you're dying to know the details. Let's assume that column A contains
both first name and last name separated by a space. Let's make it a little more real
by adding a middle name and a dual surname.
Before.gif

Start by inserting two new columns after column A. Then select all the cells in
column A that you want to split (in this case A2 through A4). On the Data menu,
choose the option Text to Columns (which of course I'd never even noticed before).
In the dialog that comes up, select Delimited and press Next. In the next dialog,

select Space as your delimiter (and uncheck anything else that is selected) and
press Next. Don't worry if the next dialog shows the preview as three columns,
that's why you inserted two new columns rather than just one! (This can happen
because of a middle name, or a non-hyphenated dual surname, as I've shown
above.) Click Finish and answer Yes when it asks you if you want to overwrite. And
viola, you have your data split into two or three columns.
AlmostThere.gif

Now, go back and do a little bit of clean up where there's data in the third column
and then delete the third column, since you no longer need it, and you're done. You
don't even have to remove the trailing space after first name, it got removed in the
process!
Done.gif

Looking at this example, it might seem like more trouble than hand-editing, but
imagine if you have hundreds or thousands of rows you need to convert -- it's a real
timesaver, and no macro required!

Joining Two Text Columns

I teach a class on Power Excel at the University of Akron. Although it is advertised as an advanced class,
there are always some basic concepts that the students don't seem to know. I am amazed at how the
simplest techniques will cause the most excitement. This is one of those tips.
Today, Sajjad from Dubai wrote with a question. He has a database with first name in Column A and Last
name in column B. How can he merge First Name and Last Name into a single column?

This is one of those questions that you can never find in Excel help, because no one thinks to search for
the word "Concatenation". Heck, I don't think any normal person ever uses the word concatenate. If you
don't know to search for Concatenate, then you will never learn that the concatenation operator is an
ampersand. Start with a basic formula of
=A2&B2 This will give you the result shown in C2 below:

This is a good start. However, we really should concatenate first name, a space, and last name. Try this
formula:
=A2&" "&B2

Then, the question is: do you want to scream MICKEY MANTLE, or would you rather say Mickey Mantle?
If you want to change the name to proper case, use the =PROPER() function.
=PROPER(A2&" "&B2)

Next, you want to copy the formula down to all of the cells in the column. A shortcut method for doing this

is to double-click the fill handle while cell C2 is selected. The fill handle is the darker square dot in the
lower right corner of the cell pointer. The dot looks like this:
When your mouse pointer is near the dot, the mouse pointer changes to a cross like this.

Double click and the formula will be copied down to all of the cells in the range.

Note: Excel uses the column to the left when figuring out how far to copy cells after the double click. If you
happened to have a blank cell in B8, this trick would stop at row 7. Leave it to Cher to cause a problem.

If this is the case, you might want to grab the fill handle and drag down to all of the rows in order to copy
the formula.
Note 2: The Proper function is excellent, but it does not properly capitalize last names like McCartney
(See cell C7). You will have to manually go through and capitalize the C after the Mc. It would also have a
problem with VanHalen. Is this a pain? Yes - but it is easier to fix a few cells than to retype everything in
proper case.
Converting Formulas to Values Now that you have Firstname Lastname in column C, you might be
tempted to delete columns A & B. You can't do this yet. If you would delete columns A & B, all of the
formulas in column C would change to the #REF! error. This error is saying, "Hey - you told me the value
in this column should be from A2 & B2, but you deleted those cells so I don't know what to put here!".

The solution is to change the formulas to values before you delete columns A & B. Follow these steps:

Highlight the range of cells in column C

Copy those cells to the clipboard using your favorite method (The 4 methods to choose from:
Ctrl+c, or Edit - Copy from the menu, or the clipboard icon on the toolbar, or right-click and
choose copy).

Without unselecting the cells, from the menu, choose Edit > Paste Special. From the Paste
Special dialog box, choose Values and then OK. This step will paste the current value of each cell
in the range back into the cell. Rather than having a formula, you will now have a static value. It is
safe to delete columns A & B.

Joining a cell containing text to a cell containing a number In general, this will work out fairly well. In
the image below, I've used the formula to build a phrase containing a name in column A with an age in
column C.

The trick is when the number is displayed in one format and you want it to be used in another format.
Dates are a classic example of this. The date of December 11 1943 is actually stored as a number of
days since January 1 1900. If I try to join the text in column A with the date in column B, I get a silly
looking result

The solution is to use the =TEXT() function. The text function requires two arguments. The first argument
is a cell containing a number. The second argument is a custom number format that indicates how the
number is to be displayed. The following formula will produce a nicely formatted result.

There are a lot of cool techniques that were covered in this tip.

A formula to join 2 columns of text using the ampersand as a concatenation operator

How to join a cell to a text value

How to use the PROPER function to change names to proper case

Why you get a #REF! error

How to use Paste Special Values to convert formulas to values.

Joining a cell containing text to a cell containing a number

Using the TEXT function to control the display of a date in a formula.