Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Software & Technology
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

DW Simpson & Co
Worldwide Actuarial

Recruitment

Entry Level Jobs
Casualty, Health,

Life, Pension,
Investment --
Insurance / Consulting

Asian Jobs
Hong Kong, China, India, Japan, Korea, Indonesia, Singapore,

Malaysia, and more

Registration Form
Be Notified of

New Actuarial Jobs


Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2002, 12:42 PM
PK's Avatar
PK PK is offline
Member
CAS
 
Join Date: Jan 2002
Location: 18 miles due west of the GWB.
Favorite beer: Dr. Pepper
Posts: 1,660
Default Excel thinks my numbers are text

J.T. had a problem caused by Excel treating his numbers as text. This is probably the most anoying thing about XL. Often (but of course not always) when bring data in from somewhere else, XL treats the numbers as text.

Does anyone have a reliable way to fix this once it happens? Just changing the format does not appear to be enough.

P
Reply With Quote
  #2  
Old 10-30-2002, 12:52 PM
Pseudolus's Avatar
Pseudolus Pseudolus is online now
Member
 
Join Date: Nov 2001
Location: galumphing towards Bethlehem
Favorite beer: Four Loko
Posts: 52,539
Default

I had the same problem awhile back and asked it here.

Short answer:

If you're pasting the numbers in, try pasting as text.

If that doesn't work or isn't possible, the best workaround seems to be soing a side calculation where you multiply all your text/numbers by 1 (or add zero). The results will be recognized as numerics and can be pasted back where you want them to go. This works well for contiguous arrays, less well if you have a bunch of scattered instances.

Good luck!
Reply With Quote
  #3  
Old 10-30-2002, 01:06 PM
Dr T Non-Fan Dr T Non-Fan is offline
Member
 
Join Date: Sep 2001
Location: Just outside of Nowhere
Posts: 59,071
Default

Depends on where it's coming from. Access? Is it a flat-file of data being imported and parsed?

I usually have the opposite problem: numbered text always gets converted to numbers, and if the text can be interpreted as a date field, it will be converted to dates. I think this is the fault of the creator of "General" number format.
Does this have something to do with the sheet's "Style" default? Mine's "General," which I interpret as my saying, "Oh, great Excel God, omniscient in data formats, do thy stuff."
I'll bet your default number style is on "Text." Check "fOrmat, Style."
Reply With Quote
  #4  
Old 10-30-2002, 01:12 PM
MountainHawk's Avatar
MountainHawk MountainHawk is offline
Member
CAS AAA
 
Join Date: Dec 2001
Location: Salem, MA
Studying for Nothing!!!!
College: Lehigh University Alum
Favorite beer: Yuengling
Posts: 55,598
Default

If I'm going to be doing a calculation on an imported column, I'll usually create a column with =value in it, so I know the column is numbers.
Reply With Quote
  #5  
Old 10-30-2002, 01:43 PM
PK's Avatar
PK PK is offline
Member
CAS
 
Join Date: Jan 2002
Location: 18 miles due west of the GWB.
Favorite beer: Dr. Pepper
Posts: 1,660
Default

I interpret the replies so far as saying... yep, we all have problems with XL formats and don't have easy solutions. I interpret the lack of easy solutions to mean that there are no easy solutions.

I take it as more proof of my contention that no one at Microsoft ever uses these products. If they did, there would be easy ways to fix any formatting problems.
Reply With Quote
  #6  
Old 10-30-2002, 03:11 PM
Elisha's Avatar
Elisha Elisha is offline
Member
 
Join Date: Sep 2001
Favorite beer: Guiness or another quality Micro/Import
Posts: 4,787
Default

You can always do an =ISNUMBER(cell) to test if it is and then a =VALUE(cell).
Reply With Quote
  #7  
Old 10-30-2002, 04:14 PM
MountainHawk's Avatar
MountainHawk MountainHawk is offline
Member
CAS AAA
 
Join Date: Dec 2001
Location: Salem, MA
Studying for Nothing!!!!
College: Lehigh University Alum
Favorite beer: Yuengling
Posts: 55,598
Default

Elisha,

Why test? =value() of a number is the number anyway, is it not?
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

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


All times are GMT -4. The time now is 08:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.28973 seconds with 7 queries