PC Review


Reply
Thread Tools Rate Thread

What Am I Doing Wrong Re Some Simple Math On A Column ?

 
 
Bob
Guest
Posts: n/a
 
      1st Dec 2010
Hello,

Using Windows 7

Have a long column of numbers in Column A, with a blank column,
Column B next to it.

I wish to have Column B filled with the numbers in Column A divided by 1000.

So, I put in B1: =(A1/1000)
And then I thought I would just drag it downward for all the other rows

Keeps coming back with an error (before any dragging).
(Column A is Formatted as "Numbers")

What am I doing wrong, please ?

Thanks,
Bob
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      1st Dec 2010
Bob,
Probably, Excel still thinks those numbers in column A are text.
Numbers align right and text aligns left in a cell.
You can convert "text" numbers to numbers by multiplying them by 1 using Paste Special.
Also, the parentheses are not necessary in your formula, however they cause no harm.
--
Jim Cone
Portland, Oregon USA
http://www.mediafire.com/PrimitiveSoftware
(free and commercial Excel programs)

..
..
..

"Bob" <(E-Mail Removed)>
wrote in message
news:id5obk$pq6$(E-Mail Removed)...
Hello,

Using Windows 7

Have a long column of numbers in Column A, with a blank column,
Column B next to it.
I wish to have Column B filled with the numbers in Column A divided by 1000.

So, I put in B1: =(A1/1000)
And then I thought I would just drag it downward for all the other rows

Keeps coming back with an error (before any dragging).
(Column A is Formatted as "Numbers")
What am I doing wrong, please ?
Thanks,
Bob
 
Reply With Quote
 
Ken Mintz
Guest
Posts: n/a
 
      1st Dec 2010
On Dec 1, 7:07*am, Bob <rgs...@notme.invalid> wrote:
> Have a long column of numbers in Column A, with a blank column,
> Column B next to it.
> I wish to have Column B filled with the numbers in Column A divided
> by 1000.
> So, I put in B1: * =(A1/1000)
> And then I thought I would just drag it downward for all the other rows
> Keeps coming back with an error (before any dragging).
> (Column A is Formatted as "Numbers")
> What am I doing wrong, please ?


Not tell us what the Excel error in the first place.

Without that, we can only make wild guesses, which might lead to
misdirection and waste your time.

First, are you saying that =A1/1000 worked, and problems arise only
when you copy that down? In other words, =A1/1000 works, but not
=A2/1000 for example?

Even if A1 contains numerical text instead of bona fide numbers, the
formula A1/1000 will work. Note that even if column A is formatted as
Number, you can enter text.

One possibility: the numerical text in column A has some non-breaking
spaces (ASCII 160). This can happen when you copy from a web page and
paste into Excel.

In that case, Paste-Special and Text-to-Columns will not rectify the
problem. Instead, you might need to create a parallel colulmn of
formulas of the form =SUBSTITUTE(A1,CHAR(160),""). Then you copy the
new column and use paste-special-value to replace column A. Finally,
you can remove the new column.

Note: It would be be prudent to also change the numerical text to
bona fide numbers at the same time. Use the formula =--
SUBSTITUTE(A1,CHAR(160),""). Note the addition of the "--" operators.

If that wild-guess does not work, I suggest that you post some
examples. And tell us what LEN(A2) and TYPE(A2) return.

Better still: upload an example Excel file to a file-sharing web
site, then post the URL in a response here. One such file-sharing web
site: http://www.mediafire.com.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Math acss Microsoft Excel Worksheet Functions 9 25th Jun 2008 07:02 PM
excel math forumla? (simple math problem inside for math people!) Jason Microsoft Excel Discussion 3 16th Feb 2006 10:54 AM
Really Simple Math Christopher Weaver Microsoft C# .NET 9 26th May 2005 07:23 AM
Simple Math Microsoft Excel Worksheet Functions 1 23rd Jul 2004 03:51 AM
Need simple VBA math help CLR Microsoft Excel Programming 2 13th Feb 2004 03:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:31 AM.