Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Numbers in Base 12.

# Numbers in Base 12

by Allen Wyatt
(last updated July 13, 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:

```=INT(B7/12)*100+MOD(B7,12)
```

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 (2540) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Numbers in Base 12.

##### Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

##### MORE FROM ALLEN

Creating a Table Using the Keyboard

Want to easily add a table to your document simply by typing a few keystrokes? Here's how you can do it in one easy step.

Discover More

Finding an Unknown Character

Sometimes, the characters that appear in a document can be hard to figure out, especially if the document came from ...

Discover More

Select One Cell and Make Another Cell Bold

Excel provides a number of different ways you can apply formatting to a cell based upon various dynamic conditions. One ...

Discover More

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!

Converting Strings to Numbers

When working with data in a macro, there are two broad categories you can manipulate: numbers and text. Sometimes you ...

Discover More

Selecting Random Names

Got a tone of names from which you need to select a few random names? There are several ways you can extract what you ...

Discover More

Converting to Octal

If you need to do some work in the base-8 numbering system (octal), you'll love two worksheet functions provided by Excel ...

Discover More
##### Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. Youâ€™ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 8?

2014-08-25 15:05:04

Eric Richards

95 in the top formula gives 7:11

=BASE(95;12;4)
gives 007B (B in Hexadecimal is 11)

##### This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.