Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Wed, 01 Aug 2007 17:12:46 -0700, Arnold wrote:
Hi All, Is there a way for formulas to use only the first numeric digit in all cells, for example, to the right of col X? And likewise, is there a way for formulas to work with only the 2nd or the 3rd numeric digits in cells? Specifically, each of the cols past X contain a 3 digit code. The digits may only = 0, 1, 2, 3, or 4. The cells may also be blank or null. Each of digits in the cols. would need to be included into the formulas. And, the range of cells (cols) will grow daily. Any insight/example would be greatly appreciated. Thanks very much, Arnold What you describe can be done. You could use either TEXT functions, or perhaps INT and MOD functions. For example, the middle digit of a three digit number can be obtained with the formula: =MID(TEXT(Y1,"000"),2,1). 12 -- 1 (The three digit number, in this instance, would be 012). --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
conditional format on first & last digit on 3 digit cell data | New Users to Excel | |||
Convert 2 digit month to 4 digit years and months | Excel Worksheet Functions | |||
Color a single digit in a mult-digit number cell | Excel Discussion (Misc queries) | |||
Tell users how to sort 5 digit and 9 digit zipcodes correctly aft. | New Users to Excel | |||
When we enter a 16 digit number (credit card) the last digit chan. | Excel Discussion (Misc queries) |