Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2017, 07:32 AM
Johnegee Johnegee is offline Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Windows 10 Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Office 2016
Novice
Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8
 
Join Date: Feb 2017
Posts: 2
Johnegee is on a distinguished road
Default Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8

February 17, 2017



As part of a cookbook I’m editing I want to offer buyers an Excel spreadsheet that converts various weights and measures, just as one so often sees elsewhere. My question has to do with converting to fractions. How can I restrict the fraction of a number converted with a fractional part to to halves, thirds, quarters and eighths?

Cups, for example, are often expressed as halves (7.5 cups) or quarters (7.25 cups). But they are also expressed as thirds (7 1/3 cups). Indeed, the two liquid cup measures in my kitchen are both delineated into thirds as well as halves and quarters of a cup.

I need eighths because small amounts of a critical ingredient such as yeast could get rounded up to 0.25 or, worse, down to 0.

How in Excel can I restrict any number’s conversion only into halves, thirds, quarters and eighths?

Can this be done? Can Excel be forced into rendering numbers only to the nearest eighth or quarter or third or half (and integers, of course)? I’ve played around with this for a few hours, including a fair amount of online research, and I’m nowhere. The problem is that I’m a moron, so I’m hoping people on this forum who aren't can offer a solution or two.

In case it helps, one suggestion that I don't understand and cannot figure out how to implement in Excel but that does seem to work sometimes somehow involves the MOD(ulo) function. Another suggestion uses VBA.

Thanks to anyone who understands the problem and has some idea how to solve it.
Reply With Quote
  #2  
Old 02-17-2017, 10:04 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Windows 7 64bit Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi
perhaps have a look at the CEILING function
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 02-17-2017, 10:59 AM
xor xor is offline Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Windows 10 Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

This subject is being discussed extensively here

https://www.mrexcel.com/forum/excel-...1-3-1-2-a.html

and here

http://boards.straightdope.com/sdmb/...php?p=20002063
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Fractions Within Fractions ALAN_VA Word 1 12-13-2016 10:00 AM
Fractions and Text Plurals ImAhNoBoDy Excel 0 06-20-2014 08:56 PM
Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Restricting paragraph styles without restricting character styles Red Pill Word 5 05-25-2012 01:06 PM
autocorrect for fractions AusSoft Word 3 01-24-2010 06:55 PM
Restricting cookbook fractions to 1/2, 1/3, 1/4 and 1/8 Inserting Fractions ali_c_uk Excel 1 11-29-2009 06:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft