View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Convert Gig to Meg

Hi!

Not sure how to do it using Convert.......I think Convert is referring to a
base 10 system whe

giga = 10^9 = 1,000,000,000
mega = 10^6 = 1,000,000

Using a base 2 system:

A1 = 10

=A1*(2^30)/2^20 = 10,240 mb

gb = 2^30 = 1,073,741,824 bytes
mb = 2^20 = 1,048,576 bytes
kb = 2^10 = 1,024 bytes

Biff

"John Schneider" wrote in message
...
I'm playing around with the CONVERT function, trying to get it to convert
a
number from gigabytes to megabytes. It would appear, from the help file,
that the function should work like this:
=CONVERT(A1,"G","M")
The value in A1, for this test, is 10. I get the error "#N/A" in the cell
with the formula. Clicking on the error, then the information incon, the
error at the top of the list is "Value Not Available Error", which would
seem
to indicate that the "G" and/or "M" from/to units are not available.

I'm on Excel 2003 SP1 and have installed the Analysis ToolPak and even the
Analysis TookPak - VBA add-ins. Should these conversion values work?

Thanks