LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Format Cells for Hexidecimal (custom?)

I have a spreadsheet that requires a user to input a hex value. but the hex
values don't always display and there is no fault checking. (2 issues)
Simple solutions:
1) Have the user place a ' in front of the entry.
2) Use Custom format for cells as "@" without quotes to force text.
Both of these methods prevent 05e3 from converting to 5000 or 5.00E+03 and
preserve the leading zero if the user types it.

But is there be a way to force the hex formating?
What if you want to force the hex value to be 4 digits. How could you force
a part part number with text to be a certain number of characters?
Is there a way to force a cell to have a minimum number of characters with a
custom format? Is there a way to force hex values to be uppercase?

Is there a way to specify a format such as:
xxxx; where x { (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F)
or perhaps a part number where I and O are not used (to avoid confusion) and
perhaps a binary character.
000aa-00.b; where a { (0123456789ABCDEFGHJKLMNPQRSTUVWXYZ) and b { (0,1).
Examples: 1230X-45.0, 456CG-78.1, 789A5-00.1
Another benefit to specifying a format like this would be to allow automatic
increments for filliing cells. You can create your own numbering system.
789A5-00.1 + 00000-00.1 = 789A5-01.0. OK, perhaps that is taking it a bit to
far.

Back to my question, can custom formats be made for hex?
 
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
Format Cells - Custom Emece Excel Discussion (Misc queries) 3 August 5th 08 11:29 PM
Format Cells - Custom PatM Excel Worksheet Functions 1 May 22nd 08 04:47 PM
Custom format for cells Jack Excel Discussion (Misc queries) 4 January 12th 06 01:21 PM
custom cells format puiuluipui Excel Discussion (Misc queries) 5 August 31st 05 07:54 PM
Custom Format Cells araki Excel Discussion (Misc queries) 2 May 24th 05 11:18 AM


All times are GMT +1. The time now is 12:26 AM.

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

About Us

"It's about Microsoft Excel"