LinkBack Thread Tools Search this Thread Display Modes
  #21   Report Post  
Old August 23rd 09, 03:39 PM posted to microsoft.public.excel.misc
external usenet poster
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,909
Default How do I get a value instead of an error or txt in an Excel ce

Post some samples of the data you're working with and show before and after

Gord Dibben MS Excel MVP

On Sat, 22 Aug 2009 19:25:01 -0700, Frazzled Rob <Frazzled


I am sort of new to Excel 2007.

I am having trouble trying to get the "total" of multiplying currency with
quantity. I don't really understand the help box or the answers on the
message boards.

What I need is someone to show me an example, that way I can get this
taken care of.

In disparate need of help.

"NBVC" wrote:

Have you confirmed the formula with CTRL+SHIFT+ENTER not just ENTER so
that { } brackets auto appear around the formula?

Also, you can use this instead:

=SUMIF(A3:A456," S Texas",C3:C456)

and only use ENTER to confirm as normal.


Where there is a will there are many ways.

'The Code Cage' (
NBVC's Profile:
View this thread:

  #22   Report Post  
Old April 27th 10, 10:05 PM posted to microsoft.public.excel.misc
external usenet poster
First recorded activity by ExcelBanter: Apr 2010
Posts: 2
Default How do I get a value instead of an error or txt in an Excel ce

Hi I am trying to figure out a formula that allow me to avoid sign
carachters such "#< $ % &" being enter as data what can I do? Help me!

"Shane Devenshire" wrote:


1. First let me simplify one of the formulas


2. If the cells really contain trailing spaces you can remove all of them
with a single command - highlight all the offending cells and press Ctrl+H,
enter three spaces in the Find what box and leave the Replace with box
empty. Then click Replace all. The cells will still be text most likely,
but they will not contain 3 trailing spaces.

3. You can use the VALUE function to convert text numbers followed by
trailing spaces to numbers =VALUE(A1) However, this might not work if the
trailing spaces were not really spacebar spaces. In which case you could

4. However, maybe the following solution will be best:

When numbers are enter as text they may not calculate within formulas as
they should. A few formulas will work fine despite the numbers being
entered as text. Numbers can be stored as text by 1. preformatting the cell
to Text and entering the number, 2. Typing an apostrophy in front of the
number '123, 3. Because the data was downloaded from a soure inwhich it was
stored as a text number, 4. Because you used the Text to Columns command and
converted it to text., and....

There is no sure indicator that a number is stored as text, although numbers
are usually right aligned and text left aligned, this may not be the case.
If you are using a later version of Excel, Error Checking green triangles
may appear at the top left corner of these cell, but this feature may be off
or the version of Excel may not support it. (2000 and earlier).

You can find out what data type the entries are by using the =ISTEXT(A1) or
=ISNUMBER(A1) functions. You can not tell by checking the Format. If a
number was entered in a cell preformatted as General or as a number, then it
will be a number, even if it's current format is Text. Likewise a number
entered in a cell preformatted as Text will be text even if it's current
format is Number, General, Date, Currency and the like.

1. Change the format to one that is numeric and then reenter the numbers
(too slow and error prone.)
2. Select the cells and open the Error Checking options and choose Convert
to Numbers.
3. Select an empty cell and copy it. Select the text number cell and choose
Edit, Paste Special, Add (or Subtract). This method is ~100 times faster
than #2.

Dates are numbers, and if they are stored as text, you will not get an Error
Checking triangle, so method #3 is obligatory if there is a substantial
number of dates to convert.

If this information is helpful, please click the Yes button.

Shane Devenshire

"lypolintan74" wrote in message

"T. Valko" wrote:

You can install this macro, select the import and run the macro

You forgot the macro!

Did you mean this one?

Microsoft Excel MVP

"Peo Sjoblom" wrote in message
It's not a good way of handling DIV errors because it will hide other

It's better to use


You can install this macro, select the import and run the macro



Peo Sjoblom

"LHW" wrote in message

I understand how the ISERROR() function handles division by zero in
example; =IF(ISERROR(A1/B1),0,A1/B1) converts the value in cell B1 to
numeral 0. However, the problem I have encountered is that numbers
downloaded as text with three trailing spaces. I have to manually
these trailing spaces to use these numbers in the calculation. This
is a
time consuming task.

Is there a better way to automatically convert numbers stored as text
numeric format? I suppose I could write a macro to automatically
three characters from the end of each item in a one-dimensional array
case), but I've never written a macro in Excel 2007. Can the VALUE
not be used to convert text to numbers? I have had no luck using it
do so.

Any help would be greatly appreciated.

Best wishes,

Lewis Williams

"JLatham" wrote:

"wrap" your formula inside of an IF statement with a test to see if
creates an error or not. Consider this

1 5 0 =A1/B1
will give you a #DIV/0 error

But if you do this at C1:
you would be shown 'invalid' in C1 but if B1 is a non-zero value
get the true answer. You can substitute a value for "invalid" such
or one, like:

The ISERROR() test will handle all errors, there are other options
ISERR() handles any error except #N/A
while ISNA() only handles #N/A - good for use with VLookup and

"SkiRJB" wrote:

Is there a way to get a formula to return a value instead of an
(#DIV/0, #N/A, etc...) so when I usr that cell in a chart I can get
at some where other than zero?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
missing cell borders in Excel Nak Excel Discussion (Misc queries) 7 March 9th 06 03:54 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM

All times are GMT +1. The time now is 04:46 AM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.

About Us

"It's about Microsoft Excel"


Copyright © 2017