Creating a Divison problem (NOT FUNCTION) in excel

jenforgod

New Member
Joined
Jul 20, 2007
Messages
5
I am creating timed tests in Excel. I have had no problem doing addition, subtraction, and multiplication... I'm not at a spot where I have to do division and it needs to look like this


7 |42 with a line over the 42.

I use this great randomizer where I can plug in 6 x 7 , 7 x 7, 8 x 7 and it will randomize them. These are in ONE cell. My randomizer won't work if it's in more than one cell. Anyone have any ideas?

Or, how can I "overline" instead of underline???

THANKS for your help!!

Jennifer[/img]
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
The easiest way would be just to use a slash:
1/2

But perhaps:

=A1&CHAR(10)&REPT("-",LEN(A1)+3)&CHAR(10)&A2

with the numerator in A1 and the denominator in A2. This cell must be set to wrap text.
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Do you mean that you need to show things, such as, 7/42? Why, just add a single quote, like this, '7/42, and you will see 7/42, instead of the actual result of division. The ' will not be visible!
 

jenforgod

New Member
Joined
Jul 20, 2007
Messages
5
No, the client has to have it the way with the division overbar thingee... I've decided unless someone gives me a great miracle I'm going to do it by hand.
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
I don't have any idea how to "overline". We will be interested in knowing how you solve this tough one! Now, I can do this: 7¯42. That is, 7+"overline"+42, but not 7+42 overlined. Will the 7¯42 be acceptable to your client?
 

ExcelChampion

Well-known Member
Joined
Aug 12, 2005
Messages
976
Go to Insert/Object and select Microsoft Equation.

I bet you find what you're looking for there, that is if your need is more visual rather than actually performing calculations.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,334
Messages
5,769,473
Members
425,553
Latest member
chrisc297

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
Top