Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default problem with fractions to decimal

I'm creating a spreadsheet that tracks and records line moves in Vegas.
when I copy and paste the data into a sheet, the point spread (+3½) and money line (-105) are both entered into the same cell. like +3½ -105

to separated the two I using =Left(B2,3) to extract +3½ into cell D2

but now I can't get add or subtract anything to that number because the ½ is there and the sheet recognizes it as a text, not a number.

I tried to format it as a fraction with #?/? didn't work
Tried to use find ( and replace, that didn't work.



Here is the sheet. feel free to edit it if you have a solution
https://docs.google.com/spreadsheets...it?usp=sharing

thanks.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default problem with fractions to decimal

Hi again,

Am Sun, 28 Sep 2014 09:12:45 -0700 (PDT) schrieb :

to separated the two I using =Left(B2,3) to extract +3½ into cell D2

but now I can't get add or subtract anything to that number because the ½ is there and the sheet recognizes it as a text, not a number.


1/2 is char(189)
So you can try:
=IF(RIGHT(B2,1)=CHAR(189),--(LEFT(B2,2))+(LEFT(B2,1)&1/2),B2*1)

Or look he
https://onedrive.live.com/?cid=9378A...121822A3%21326
for workbook "5Dimes Sportsbook, Casino, Poker, Racebook and Lotto"


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
Converting decimal fractions of minutes to seconds ronnie-g Excel Worksheet Functions 13 April 22nd 23 10:08 AM
fractions to decimal Alvin Excel Programming 1 April 19th 10 03:47 PM
Convert decimal to fractions Eamon Excel Worksheet Functions 3 October 20th 06 04:09 PM
converting fractions to decimal PDI-AV Excel Discussion (Misc queries) 5 June 25th 05 03:43 AM
How do I convert decimal inches to fractions in excel JTZ Excel Discussion (Misc queries) 2 February 7th 05 09:31 PM


All times are GMT +1. The time now is 09:41 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"