Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Numbers in Base 12.
by Allen Wyatt
(last updated January 23, 2018)
For some professions or hobbies, it may be required to display information in "base 12." For instance, you may need to display the number of dozens of an item, followed by the number of singles of an item. If you had 15 items, for instance, you may want your display to be 1:03.
There are a couple of different ways to approach this problem. The first is to do the math and put together a string that represents the finished numbers. For instance, suppose the original number is in cell B7. In cell C9 you could place the following:
=INT(B7/12) & ":" & RIGHT("00" & MOD(B7,12),2)
In this instance, if B7 contained the number 345, C9 would contain the string 28:09. If you would rather work with straight numbers, you can use the following formula in cell C9:
In this case, cell C9 would contain 2809, which could be easily displayed in the final format by setting the custom number format for the cell as 0":"00.
Regardless of which approach you choose, you should know that you won't be able to use the results in any mathematical functions. The information displayed is done so solely for that purpose—display.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9666) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Numbers in Base 12.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Do you ever have a need to return just a few digits out of a number? This tip shows different formulas you can use to ...Discover More
Need to sum a series of cells that fits some regular pattern? Here are several ways that you can get the summation that ...Discover More
The FIND and SEARCH functions are great for finding the initial occurrence of a character in a text string, but what if ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.