Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Schneider
 
Posts: n/a
Default Convert Gig to Meg

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
  #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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Convert Gig to Meg

Why make if complicated:
A1 = 10 (Gb)
A2 =A1*2^10 (=10240 Mb)
Merry Christmas (the turkey smells great!)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Biff" wrote in message
...
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





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

Why make if complicated:

It's a bad habit of mine! <g

Biff

"Bernard Liengme" wrote in message
...
Why make if complicated:
A1 = 10 (Gb)
A2 =A1*2^10 (=10240 Mb)
Merry Christmas (the turkey smells great!)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Biff" wrote in message
...
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







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Schneider
 
Posts: n/a
Default Convert Gig to Meg

Thanks Biff and Bernard. I don't have a problem doing the conversions the
long way, I was just wondering why the function does not work as advertised
in help.

John

"Biff" wrote:

Why make if complicated:


It's a bad habit of mine! <g

Biff

"Bernard Liengme" wrote in message
...
Why make if complicated:
A1 = 10 (Gb)
A2 =A1*2^10 (=10240 Mb)
Merry Christmas (the turkey smells great!)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Biff" wrote in message
...
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









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Convert Gig to Meg

I don't think it's supposed to work that way. Note that the help file say
prefixes (as opposed to units) so it can be used to convert for instance a
meter to a mega meter, if you put

1000000 in A1 and use

=CONVERT(A1,"m","Mm")

it will return 1





--
Regards,

Peo Sjoblom

(No private emails please)


"John Schneider" wrote in message
...
Thanks Biff and Bernard. I don't have a problem doing the conversions the
long way, I was just wondering why the function does not work as
advertised
in help.

John

"Biff" wrote:

Why make if complicated:


It's a bad habit of mine! <g

Biff

"Bernard Liengme" wrote in message
...
Why make if complicated:
A1 = 10 (Gb)
A2 =A1*2^10 (=10240 Mb)
Merry Christmas (the turkey smells great!)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Biff" wrote in message
...
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








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Schneider
 
Posts: n/a
Default Convert Gig to Meg

Thank yolu Peo! Now I understand.

"Peo Sjoblom" wrote:

I don't think it's supposed to work that way. Note that the help file say
prefixes (as opposed to units) so it can be used to convert for instance a
meter to a mega meter, if you put

1000000 in A1 and use

=CONVERT(A1,"m","Mm")

it will return 1





--
Regards,

Peo Sjoblom

(No private emails please)


"John Schneider" wrote in message
...
Thanks Biff and Bernard. I don't have a problem doing the conversions the
long way, I was just wondering why the function does not work as
advertised
in help.

John

"Biff" wrote:

Why make if complicated:

It's a bad habit of mine! <g

Biff

"Bernard Liengme" wrote in message
...
Why make if complicated:
A1 = 10 (Gb)
A2 =A1*2^10 (=10240 Mb)
Merry Christmas (the turkey smells great!)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Biff" wrote in message
...
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









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
Convert decimal degree (lattitude/longitude) into Degree, Tim Ashcom Excel Discussion (Misc queries) 5 August 17th 05 04:53 PM
Convert PivotTable data into a worksheet list sansk_23 Excel Worksheet Functions 3 May 2nd 05 09:51 AM
CONVERT Function Disappered in Excel Gord Dibben Excel Discussion (Misc queries) 3 April 13th 05 07:59 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 11:24 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 10:25 PM


All times are GMT +1. The time now is 01:57 AM.

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

About Us

"It's about Microsoft Excel"