Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default fractions in formulas

I created a custom number format (# ?/3) that seems to work just fine in all
worksheets except one particular formula. All number and formula use this
formatting.

The following formula displays the numerical vaues in decimal notation
instead of the custom fraction formatting of the cell? Does it have anything
to do with the displaying of text within the same cell? Can I get around it?

IF('Institution Entry'!L160,IF(F153="","Adjustment for Dev Hours =
"&F143&" ERN Hrs - "&H143&" DEV Hrs = "&(F143-H143)&" SEM Hrs","Adjustment
for Dev Hours = "&F153&" ERN Hrs - "&H153&" DEV Hrs = "&(F153-H153)&" SEM
Hrs"),"")

This is a typical result the result of the formula.

Adjustment for Dev Hours = 2.66666666666667 ERN Hrs - 2.66666666666667
DEV Hrs = 0 SEM Hrs

In this example, cells F143 and H143 both display 2 2/3. So why does the
formula convert to decimal?

I hope this is enough information to help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default fractions in formulas

Not sure but experiment with something like =TEXT(B5,"# ?/?")&" sem hrs"
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"JWH23" wrote in message
...
I created a custom number format (# ?/3) that seems to work just fine in
all
worksheets except one particular formula. All number and formula use this
formatting.

The following formula displays the numerical vaues in decimal notation
instead of the custom fraction formatting of the cell? Does it have
anything
to do with the displaying of text within the same cell? Can I get around
it?

IF('Institution Entry'!L160,IF(F153="","Adjustment for Dev Hours =
"&F143&" ERN Hrs - "&H143&" DEV Hrs = "&(F143-H143)&" SEM
Hrs","Adjustment
for Dev Hours = "&F153&" ERN Hrs - "&H153&" DEV Hrs = "&(F153-H153)&"
SEM
Hrs"),"")

This is a typical result the result of the formula.

Adjustment for Dev Hours = 2.66666666666667 ERN Hrs - 2.66666666666667
DEV Hrs = 0 SEM Hrs

In this example, cells F143 and H143 both display 2 2/3. So why does the
formula convert to decimal?

I hope this is enough information to help.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fractions NILELATOR Excel Worksheet Functions 5 December 2nd 06 09:35 PM
Fractions Angel1 Excel Discussion (Misc queries) 4 October 18th 06 06:54 PM
Fractions phil2006 Excel Discussion (Misc queries) 1 July 6th 06 11:36 AM
Fractions Andy Excel Discussion (Misc queries) 1 May 11th 06 05:02 PM
Fractions V Excel Discussion (Misc queries) 5 September 14th 05 04:00 PM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"