republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Microsoft Help » Another excel question
Search Topic:
Uniqs:
498
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!  
AuthorAll Replies


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

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
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

reply to philfna
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
I was actually for the number not just the formatting...thanks for trying


AlphaOne
I see
Premium
join:2004-02-21
Did my solution work?

efrem

join:2002-04-03
Westport, CT

reply to philfna
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
reply to philfna
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
reply to philfna
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
reply to philfna
efrem that did it thanks a lot!


AlphaOne
I see
Premium
join:2004-02-21

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

reply to philfna
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!  


Thursday, 03-Dec 01:34:18 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
· [162] Comcast Releasing Promised Usage Meter
· [95] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [79] Latest Consumer Reports Survey Not Kind To AT&T
· [70] Baltimore To Ban Lazy Cable Installs
· [62] Broadband Killed The Game Console
· [55] Rogers Unveils The ISP Dream Model
· [55] Avast Antivirus Has Gone Mad
· [46] ACTA: Global Three Strikes
· [41] Rural Carriers Quickly Embracing Fiber
· [39] AT&T, Verizon Drop 3G Ad Dispute
Most people now reading
· False positive in Avast! or is it real? [Security]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Windows 7 changing the way Firefox runs? [Mozilla Software]
· LFM Overkill [World of Warcraft]
· [Newsgroups] Newzleech down? [Filesharing Software]
· [WIN7] When exactly should you flash bios when installing new OS [Microsoft Help]
· PVP in wow today [World of Warcraft]
· Options if ACTA is ratified [TekSavvy]
· Quality/longevity of 15A 120V receptacles [Home Repair & Improvement]
· Poll: Have you ever been charged an overage fee since ... [TekSavvy]