#1   Report Post  
Posted to microsoft.public.excel.misc
GKS
 
Posts: n/a
Default Formula?


Can anyone help? I am new to excel but I am trying very hard to learn
ASAP, The problem is that I have a column of numbers that go on for
thousands of rows. This data will change weekly as it is imported in
from another program. using the delimiter function but the column will
stay the same, in this example it is column U. Below is a snapshot of
some of the rows in U. I used the formula U##/1000000 to give the
answers in the V column then I simply hide the U column, but as you can
see when the imported data is all zeros it returns a value message. Is
there any way that in the simple formula I have used I could add
something that basically says divide amount in cell by 1000000 but if
the data in the cell = 0 then return 0

U V
0,000000 #VALUE!
0,000000 #VALUE!
972,000,000 972
342,000,000 342
266,000,000 266
12,570,000,000 12570
1,920,000,000 1920
8,640,000,000 8640
5,400,000,000 5400

Thanks in anticipation of any help


--
GKS
------------------------------------------------------------------------
GKS's Profile: http://www.excelforum.com/member.php...o&userid=32815
View this thread: http://www.excelforum.com/showthread...hreadid=534528

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Formula?

You can use an IF formula similar to the following:

=IF(A1=0,0,A1/1000000)
--
Kevin Backmann


"GKS" wrote:


Can anyone help? I am new to excel but I am trying very hard to learn
ASAP, The problem is that I have a column of numbers that go on for
thousands of rows. This data will change weekly as it is imported in
from another program. using the delimiter function but the column will
stay the same, in this example it is column U. Below is a snapshot of
some of the rows in U. I used the formula U##/1000000 to give the
answers in the V column then I simply hide the U column, but as you can
see when the imported data is all zeros it returns a value message. Is
there any way that in the simple formula I have used I could add
something that basically says divide amount in cell by 1000000 but if
the data in the cell = 0 then return 0

U V
0,000000 #VALUE!
0,000000 #VALUE!
972,000,000 972
342,000,000 342
266,000,000 266
12,570,000,000 12570
1,920,000,000 1920
8,640,000,000 8640
5,400,000,000 5400

Thanks in anticipation of any help


--
GKS
------------------------------------------------------------------------
GKS's Profile: http://www.excelforum.com/member.php...o&userid=32815
View this thread: http://www.excelforum.com/showthread...hreadid=534528


  #3   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Formula?

Use:

=If(U1=0,0,U1/1000000)

HTH

"GKS" wrote:


Can anyone help? I am new to excel but I am trying very hard to learn
ASAP, The problem is that I have a column of numbers that go on for
thousands of rows. This data will change weekly as it is imported in
from another program. using the delimiter function but the column will
stay the same, in this example it is column U. Below is a snapshot of
some of the rows in U. I used the formula U##/1000000 to give the
answers in the V column then I simply hide the U column, but as you can
see when the imported data is all zeros it returns a value message. Is
there any way that in the simple formula I have used I could add
something that basically says divide amount in cell by 1000000 but if
the data in the cell = 0 then return 0

U V
0,000000 #VALUE!
0,000000 #VALUE!
972,000,000 972
342,000,000 342
266,000,000 266
12,570,000,000 12570
1,920,000,000 1920
8,640,000,000 8640
5,400,000,000 5400

Thanks in anticipation of any help


--
GKS
------------------------------------------------------------------------
GKS's Profile: http://www.excelforum.com/member.php...o&userid=32815
View this thread: http://www.excelforum.com/showthread...hreadid=534528


  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Formula?

"Kevin B" wrote in message
...
"GKS" wrote:


Can anyone help? I am new to excel but I am trying very hard to learn
ASAP, The problem is that I have a column of numbers that go on for
thousands of rows. This data will change weekly as it is imported in
from another program. using the delimiter function but the column will
stay the same, in this example it is column U. Below is a snapshot of
some of the rows in U. I used the formula U##/1000000 to give the
answers in the V column then I simply hide the U column, but as you can
see when the imported data is all zeros it returns a value message. Is
there any way that in the simple formula I have used I could add
something that basically says divide amount in cell by 1000000 but if
the data in the cell = 0 then return 0

U V
0,000000 #VALUE!
0,000000 #VALUE!
972,000,000 972
342,000,000 342
266,000,000 266
12,570,000,000 12570
1,920,000,000 1920
8,640,000,000 8640
5,400,000,000 5400


You can use an IF formula similar to the following:

=IF(A1=0,0,A1/1000000)


Have you tried it with GKS's data? There should, of course, be no problem
in dividing zero by a million (and therefore wouldn't need the IF test), but
the #VALUE problem comes about because 0,000000 isn't treated as a number of
zero, but as a text string.

You could, instead, use
=IF(ISNUMBER(A1),A1/1000000,0)
--
David Biddulph


Reply
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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

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

About Us

"It's about Microsoft Excel"