republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Microsoft Help » Another excel question
Uniqs:
493
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Outlook] What would be the best way to do this? »
« IE7 Tip for moving Classic Menu to top!  

philfna
Premium
join:2003-12-30
Wisconsin
·TDS

Another excel question

Everyone was so hopeful with my last question. I have another...

How do I display a decimal as a fraction with a numerator of one? (I use fractions as a way to display ratios. I am trying to show a ratio of 1 to X, or as it would be displayed, 1/X.)

AlphaOne
I see
Premium
join:2004-02-21

Re: Another excel question

If you're just interested in text:

=CONCATENATE("1/",A1)

Where column A has the value for the divisor.

--

something incredible is waiting to be known - Carl Sagan

AlphaOne
I see
Premium
join:2004-02-21

Re: Another excel question

Or this:

=IF(A1="","",CONCATENATE("1/",A1))

--

something incredible is waiting to be known - Carl Sagan

pog
Premium
join:2004-06-03
Kihei, HI
·Hawaiian Telcom

You could also enter custom formatting:

1\/#

From the menu, click format|cells and enter this into the "type" field. I use an old version of Excel here so your version's GUI layout may be different.

Note, the value of the cell is unchanged... it still equals your X
--
My Site

philfna
Premium
join:2003-12-30
Wisconsin

Re: Another excel question

I was actually for the number not just the formatting...thanks for trying

AlphaOne
I see
Premium
join:2004-02-21

Re: Another excel question

Did my solution work?
efrem

join:2002-04-03
Westport, CT

said by philfna See Profile :

I was actually for the number not just the formatting...thanks for trying :-)
If I understand your request (and that's a real if), how about this:

="1 / "&ROUND(1/A1,2)

So if you have 0.75 in Cell A1 and that formula in Cell B1, then Cell B1 will display 1 / 1.33 .

Does that give you both the number AND the format you want?

H2OuUp2
Happy to be here
Premium
join:2002-03-15
Oklahoma City, OK

1 edit
Sorry, didn't see the 1/ part
--
He is no fool who gives up what he cannot keep, to gain what he cannot lose. - Jim Elliot

philfna
Premium
join:2003-12-30
Wisconsin
True, but none of the selections offer the default to display the numerator as one. They only dictate how many digits in the denominator.

philfna
Premium
join:2003-12-30
Wisconsin
efrem that did it thanks a lot!

AlphaOne
I see
Premium
join:2004-02-21

Re: Another excel question

Lol.
I misunderstood the problem and tried something else:

=IF(A1="","",CONCATENATE("1/",ROUND((1/(MOD(A1,1))),2)))

It turned out the result is the same as efrem See Profile's. His is much simpler though! :)

--

something incredible is waiting to be known - Carl Sagan

H2OuUp2
Happy to be here
Premium
join:2002-03-15
Oklahoma City, OK
·Cox HSI

I took it you were wanting to enter .75 in a cell and want 1/1.33 to display in the cell, correct?

If you want to enter .75 in one cell, and have 1/1.33 display in another cell, then either version will work. If you want it to appear in the cell you typed in I believe you will need to use VBA to accomplish the task.
--
He is no fool who gives up what he cannot keep, to gain what he cannot lose. - Jim Elliot
Forums » Tech and Talk » OS and Software » Microsoft Help[Outlook] What would be the best way to do this? »
« IE7 Tip for moving Classic Menu to top!  


Sunday, 29-Nov 10:09:37 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [122] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [96] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [80] TiVo Sees Record Customer Losses
· [74] Verizon CEO: Hulu Will Be Dead Soon
· [74] Weekend Open Thread
· [69] In-Flight Internet Headed For Bumpy Landing?
· [62] Thanksgiving Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· Evading throttling with uTP / uTorrent 1.9a [TekSavvy]
· [Newsgroups] Newzleech down? [Filesharing Software]
· [Snow Leopard] NFS Mounts - no more Directory Utility [All Things Macintosh]
· [WIN7] Outlook express under Windows 7? [Microsoft Help]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Digital Channel Lineup without a Box??? [Comcast Cable TV]
· Anyone have a problem [Software]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]