Dividing fractions into new cell

dsacomano

New Member
I am looking for a way to divide a fraction in one cell and put the percentage of that fraction into the next cell.

Example: B2- 36/164 C2- Percentage from B2 (36/164 = 21.95%)

Any help is greatly appreciated. Thanks.
 

tyija1995

Well-known Member
Hey,

B2: =36/164
C2: =B2

Then format C2 as a percentage with 2 decimals

Is this what you are after?
 

pgc01

MrExcel MVP
Hi

What do you have in A2

The formula: =36/164 that displays the number 0.2195...

or

The text value: 36/164

?
 

DanteAmor

Well-known Member
Another way:

<br /><table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:76.04px;" /><col style="width:76.04px;" /><col style="width:76.04px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td > </td><td >36/164</td><td style="text-align:right; ">0.2195122</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >C2</td><td >=--LEFT(B2,FIND("/",B2)-1)/--MID(B2,FIND("/",B2)+1,16)</td></tr></table></td></tr></table>
 
Last edited:

dsacomano

New Member
I have text in B2. DanteAmor, your formula worked perfect! Thank you all for your help!
 

Some videos you may like

This Week's Hot Topics

  • Importing multiple excel files into one spreadsheet
    Hi, I'm trying to import multiple excel files (with the same format into a single spreadsheet) so that each day's file is listed underneath the...
  • find many based on a certain criteria
    good evening, I hope someone can help me? I have a workbook sheet 2 contains lots of data.... I would like to be able to find anything on sheet...
  • How to copy multiple rows using If
    Hi all, I'm very new to VBA and have written this simple code to copy certain cells if a certain cell within that row contains any data. I need...
  • VBA If statement
    Dear All, I have two dates, where I'd like a message box to pop, if the dates are between this criteria. [CODE] sDate1 = #10/1/2019#...
  • Text Format
    I have a sheet for user to keyin the data. The format of the data can be 451 / 1903, 0012 / 9908 or 00287 / 0099. The number after the "/" is...
  • Syntax errors
    Good Morning, Trying to compile a workbook, I keep getting a few errors. Here are the first two: [code=rich]Syntax Error: Function...
Top