Solved

Cell Format

Posted on 2014-01-14
8
100 Views
Last Modified: 2014-04-28
Can anyone tell me what is wrong with the formulas in column G?
Book5.xlsx
0
Comment
Question by:wcody
8 Comments
 
LVL 39

Expert Comment

by:Adam Brown
ID: 39780378
There's a space in front of each of the numbers in Column F. That's breaking the calculation because it's multiplying a string by a number.
0
 

Author Comment

by:wcody
ID: 39780383
So how do I correct the problem?
0
 
LVL 39

Expert Comment

by:Adam Brown
ID: 39780395
You have to make sure the numbers in F get added without the space or go to each cell in column F and remove the extra space from in front of the numbers.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39780409
Either do a search/replace for the space character

or use a formula like this

=E2*SUBSTITUTE(F2,CHAR(160),"")
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39780418
To do a search/replace

Select the character in the cell. (You would have to do this because the space is not a normal space) and then paste it in the search box.
0
 
LVL 19

Accepted Solution

by:
helpfinder earned 500 total points
ID: 39780451
Hi, I did 2 steps:
1. select data in F column and replaces point to comma (CTRL+H)
2. enter (double click or F2) any cell in F column and copy the leading character which looks like space but it is not and replace it by nothing (CTRL+H)

As I did this I get formula working (see attached sample)
sample.xlsx
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39793999
The nub of the problem is that the formula does arithmetic when the cells are formatted as text, even though they contain numbers.

It is easy to set the format of cells to text, but there is no obvious way to reverse the process. You have used one way, but that would be tedious if you have more than your six cells to do.

Microsoft has an article here:
http://support.microsoft.com/kb/291047

It lists seven methods, including the one that you used. I think this would be the quickest in your case

"Use the Text to Columns Command
This method works best if the data is arranged in a single column. The following example assumes that the data is in column A and starts in row 1 ($A$1). To use this example, follow these steps:

    Select one column of cells that contain the text.
    On the Data menu or ribbon, click Text to Columns.
    Under Original data type, click Delimited, and click Next.
    Under Delimiters, click to select the Tab check box, and click Next.
    Under Column data format, click General.
    Click Advanced and make any appropriate settings for the Decimal separator and Thousands separator. Click OK.
    Click Finish."
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question