#1   Report Post  
Posted to microsoft.public.excel.misc
GARY
 
Posts: n/a
Default Negative number

This really isn't an Excel question but there are sharp people out
there that might know what I'm looking for.

For a POSITIVE number (like +2, +68, +106), the value of the rightmost
digit is the rightmost digit. For example:

1 = +1
2 = +2
3 = +3
etc

But, for a NEGATIVE number (examples, -1, -17, -543), the value of the
rightmost digit is an alphabetic- or special-character. Something
like:

A = -1
B = -2
C = -3
etc.

What term describes this numbering-scheme?

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Negative number

Hello,

=CHAR(56.5-(SIGN(A2)+(A2=0))*8.5+RIGHT(A2,1))

I changed your request to make the task consistent: -10 will result in
"A", -1 in "B" ...

Regards,
Bernd

  #3   Report Post  
Posted to microsoft.public.excel.misc
GARY
 
Posts: n/a
Default Negative number

And the answer is:

Rightmost
Digit Character

+0 {
+1 A
+2 B
+3 C
+4 D
+5 E
+6 F
+7 G
+8 H
+9 I

-0 }
-1 J
-2 K
-3 L
-4 M
-5 N
-6 O
-7 P
-8 Q
-9 R

Reply
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
Converting Negative Number to Postive number Tedd Excel Worksheet Functions 7 September 2nd 09 04:34 PM
MROUND on a negative number. Big Rick Excel Discussion (Misc queries) 6 December 29th 05 03:45 PM
How to make the cell or font color red if the number is negative? Bob T Excel Worksheet Functions 6 August 18th 05 01:28 PM
thousand separator as indian style for negative number kamlakar Excel Discussion (Misc queries) 0 July 11th 05 12:23 PM
2003= negative number&2004= negative number How Do I Calculate gro Jason Excel Worksheet Functions 1 January 14th 05 05:24 PM


All times are GMT +1. The time now is 04:19 AM.

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

About Us

"It's about Microsoft Excel"