jump to navigation

Converting Wikipedia Table Data to Numbers September 29, 2008

Posted by ficial in brain dump, techy.
trackback

Wen you copy table data out of wikipedia and paste it into Excel you get messing looking things like

&0000000000230000.000000230,000[2]
&0000000000013575.00000013,575[4]
&-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1.000000

To convert those to usable numbers (or blanks, where appropriate) here’s an Excel formula you can use:

=IF(ISERR(FIND(“-“,C2)),IF(C2=””,””,VALUE(MID(C2,2,FIND(“.”,C2)-2))),””)

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: