Help with math equations and cell linking

Pharmacisticus

New Member
Joined
Sep 12, 2018
Messages
13
Hi All,

I've got a strange question here...

I have a cell A1 that has the numbers '5/100' in it.
I want cell A2 to calculate that to 5%

I can't seem to make it work!

Help

Kind regards,

Pharmacisticus
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Give this formula a try and format the cell you put it in as Percentage...

=LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,3)
 
Upvote 0
Just adding to Rick's formula, considering that there might be a number more than 999 AFTER the "/", we could try this!

=LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,LEN(A1)-FIND("/",A1))
 
Upvote 0
Just adding to Rick's formula, considering that there might be a number more than 999 AFTER the "/", we could try this!

=LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,LEN(A1)-FIND("/",A1))

Good point. I was seduced by the 100 and request for a percentage into thinking the denominator would be a number from 1 to 100, but you are correct, the question does not limit the denominator that way. However, there is no need to complicate the formula like that... The MID function does not care if you ask it for more characters in the third argument than there actually are... it will simply use what is there. Given that, this formula should cover whatever the OP might send its way...

=LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,99)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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