dbTalk Databases Forums  

Converting Spreadsheet Cells in "Exponential Format"

comp.databases.pick comp.databases.pick


Discuss Converting Spreadsheet Cells in "Exponential Format" in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Skippy
 
Posts: n/a

Default Converting Spreadsheet Cells in "Exponential Format" - 02-21-2007 , 02:59 PM






Is anyone aware of a Pick function or third party software that can
translate the Excel "exponential format" to Pick-readable data?

We are importing data from Excel and this formatting is of course
giving us fits.

Any and all assistance is greatly appreciated.

Regards,
RG


Reply With Quote
  #2  
Old   
Mark Brown
 
Posts: n/a

Default Re: Converting Spreadsheet Cells in "Exponential Format" - 02-21-2007 , 04:13 PM






what does the raw data in the cell look like?

Most versions of Pick support either var ** power or var ^ power or the old
POWER(var,power)

Mark

"Skippy" <roger.grosser (AT) gmail (DOT) com> wrote

Quote:
Is anyone aware of a Pick function or third party software that can
translate the Excel "exponential format" to Pick-readable data?

We are importing data from Excel and this formatting is of course
giving us fits.

Any and all assistance is greatly appreciated.

Regards,
RG




Reply With Quote
  #3  
Old   
frosty
 
Posts: n/a

Default Re: Converting Spreadsheet Cells in "Exponential Format" - 02-21-2007 , 04:29 PM



Even easier when the var == 10.

--
frosty

Mark Brown wrote:
Quote:
what does the raw data in the cell look like?

Most versions of Pick support either var ** power or var ^ power or
the old POWER(var,power)

Mark

"Skippy" <roger.grosser (AT) gmail (DOT) com> wrote in message
news:1172091589.325574.235680 (AT) m58g2000cwm (DOT) googlegroups.com...
Is anyone aware of a Pick function or third party software that can
translate the Excel "exponential format" to Pick-readable data?

We are importing data from Excel and this formatting is of course
giving us fits.

Any and all assistance is greatly appreciated.

Regards,
RG



Reply With Quote
  #4  
Old   
GVP
 
Posts: n/a

Default Re: Converting Spreadsheet Cells in "Exponential Format" - 02-21-2007 , 07:17 PM



Why You don't use cell NumberFormat before export?

Regards,
Grigory



Reply With Quote
  #5  
Old   
Skippy
 
Posts: n/a

Default Re: Converting Spreadsheet Cells in "Exponential Format" - 02-22-2007 , 12:08 PM



On Feb 21, 2:13 pm, "Mark Brown" <mbr... (AT) drexelmgt (DOT) com> wrote:
Quote:
what does the raw data in the cell look like?

Most versions of Pick support either var ** power or var ^ power or the old
POWER(var,power)

Mark
The data in the cell is .096250, but when imported to Pick looks like
9.62500000000002E-02.



Reply With Quote
  #6  
Old   
Mark Brown
 
Posts: n/a

Default Re: Converting Spreadsheet Cells in "Exponential Format" - 02-22-2007 , 02:43 PM



Then, for the sake of data transfer, I'd suggest changing the format of the
column to either text or to a number with specific number of decimal points.
The "real" data appears to be floating point.

On the Pick side, once the data is there, you could use a subroutine like
this:

sub convert.e(nmbr)
factor = field(nmbr,'E',2)
nmbr = field(nmbr,'E',1)
arg = 1:str(0,abs(factor))
if factor < 0 then nmbr = nmbr/(10*factor) else nmbr = nmbr * 10 * factor
return

Mark

"Skippy" <roger.grosser (AT) gmail (DOT) com> wrote

Quote:
On Feb 21, 2:13 pm, "Mark Brown" <mbr... (AT) drexelmgt (DOT) com> wrote:
what does the raw data in the cell look like?

Most versions of Pick support either var ** power or var ^ power or the
old
POWER(var,power)

Mark

The data in the cell is .096250, but when imported to Pick looks like
9.62500000000002E-02.




Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.