Based on the information you provided, my best guess at an answer would
be... divide. I'm going to guess, though, that you were after something else
as an answer. Perhaps if you gave us an example of what you have and what
you want to do with it, someone here may be able to give you a better
response.
let say you have use 300 turtles and 175 birds I want the ratio of the
turtles to the birds based on a 100. Other words 80/20 I just couldn't
figure it out. Mental block
The odds (no pun intended) are well against there being two **whole** numbers that will sum to 100 and have an **exact** fixed given ratio. If you would be satisfied with just the whole number ratio...
=(A1/GCD(A1,B1))&"/"&(B1/GCD(A1,B1))
where A1 contains the turtles and B1 contains the birds.
Note that the GCD is part of the Analysis ToolPak and requires that add-in to be active.
after I asked this question I realized the answer. I guess you could call it
a brain fart. Thank you for your help
The odds (no pun intended) are well against there being two **whole**
numbers that will sum to 100 and have an **exact** fixed given ratio. If you
would be satisfied with just the whole number ratio...
=(A1/GCD(A1,B1))&"/"&(B1/GCD(A1,B1))
where A1 contains the turtles and B1 contains the birds.
Note that the GCD is part of the Analysis ToolPak and requires that add-in
to be active.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.