Abs question

dsims

New Member
Joined
Jul 27, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
I'm needing some help. Relating to baseball odds. For example B2 is( -110) to Convert this to a percentage the equation is 110/(110+100)=0.52 but when i put =abs(110/(110+100) its giving me 11? I need abs first then the equation making it a positive.

Second, on a if formula for example the next cell down is ±125 and the formula for it would be 100/(100+125). Is there a way to put both in the formula that way i could drag it down and it can tell the two apart for the correct formula one being a negative and the other a positive?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
HI
Again assuming your value in B2, I believe the formula should look like this:

=ABS(B2)/(ABS(B2)+100)

Let me know.
Hi, Mario
 
Upvote 1
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
IF(B2<0,ABS(B2)/(100-B2),100/(100+B2))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top