Excel Spreadsheet H...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] Excel Spreadsheet Help! Ratios Converting to Weird Numbers.

13 Posts
10 Users
0 Reactions
239 Views
Posts: 435
Free Member
Topic starter
 

I don't understand what is going on here, hope some IT competent spreadsheet gurus can advise. I have a spreadsheet where someone input ratios such as 1:10, 1:100 etc. these have been converted to numbers. I might have expected these to equate to 0.1 and 0.01 respectively, but what I find is very different. Here is a table of what I put in and what I find:

Ratio Excel
1:10 0.048611111
1:50 0.076388889
1:100 0.111111111
1:500 0.388888889
1:1000 0.736111111

What do these numbers mean? What operation is happening to make this conversion? Does the ':' symbol equate to some mathematical function? Is it something to do with Log transformations?

Any and all help gratefully received...


 
Posted : 08/10/2015 7:59 pm
Posts: 8563
Free Member
 

Looks like a 50/50 post to me 😉


 
Posted : 08/10/2015 8:02 pm
Posts: 6
Free Member
 

Take a look at the cell formatting.

I think excel takes the colon to mean it's a time.

If you want to enter it set the format to text.


 
Posted : 08/10/2015 8:04 pm
Posts: 4693
Full Member
 

As above, cell formatting. : is the separator for hours:minutes:seconds.


 
Posted : 08/10/2015 8:07 pm
Posts: 36
Free Member
 

this is what happens when secretaries* use excel.

using a colon in a cell turns it into a timevalue. The numerical value in the excel database attributed to something with a : is of no use to you.

Use text handling functions (such as LEFT, RIGHT, LEN and FIND) to strip that ratio expression into it's two components (divisor, dividend) then you can do your maths. If 1 is always your dividend, then that makes it faster.

* could be male, could be female. Definitely shouldnt be allowed near Excel


 
Posted : 08/10/2015 8:09 pm
Posts: 17851
Full Member
 

Yup 1:10 and 1:50 are recognised as time. If you convert to number format you get the decimals you quote. Not sure about the other 3 though.

Does Excel recognise ratios?


 
Posted : 08/10/2015 8:09 pm
Posts: 435
Free Member
Topic starter
 

Ok, so 1:10 might be seen as 1 min 10 seconds and that is getting expressed as a decimal of 1 hour, but....
How does this work for 1:100? It can't be 1 min 100 secs because that would be 2 mins 40 secs


 
Posted : 08/10/2015 8:14 pm
Posts: 8393
Full Member
 

IF you can rejig the spreadsheet so you put 1:10 in as two columns 1 & 10 you'll save yourself a lot of grief.


 
Posted : 08/10/2015 8:15 pm
Posts: 435
Free Member
Topic starter
 

Actually even that logic doesn't work for 1:10


 
Posted : 08/10/2015 8:16 pm
Posts: 435
Free Member
Topic starter
 

Got it! It's treating the entries as hours and minutes and expressing them as decimal days


 
Posted : 08/10/2015 8:18 pm
Posts: 435
Free Member
Topic starter
 

Thanks guys 8)


 
Posted : 08/10/2015 8:33 pm
Posts: 25873
Full Member
 

this is what happens when secretaries* use excel.
Yeah, you say that, but you're happy enough for me to flutter my eyelashes and sit on your knee whenever I need help with my spreadthingies


 
Posted : 08/10/2015 8:52 pm
Posts: 0
Free Member
 

this is what happens when secretaries* use excel.

using a colon in a cell turns it into a timevalue. The numerical value in the excel database attributed to something with a : is of no use to you.

Use text handling functions (such as LEFT, RIGHT, LEN and FIND) to strip that ratio expression into it's two components (divisor, dividend) then you can do your maths. If 1 is always your dividend, then that makes it faster.

* could be male, could be female. Definitely shouldnt be allowed near Excel

And that's what happens when you don't know how to use the text to columns with : as the delimiter 😉


 
Posted : 09/10/2015 8:14 pm
Posts: 6332
Free Member
 

I need help with my spreadthingies

I'm here to help


 
Posted : 09/10/2015 9:14 pm