Results 1 to 7 of 7

Custom Number Format: Resistor Values

Threaded View

  1. #6
    Registered User
    Join Date
    11-17-2006
    Posts
    2
    The closest i can get is this.. (I'm using those basic functions only)

    Put the input in your A1

    then

    =IF(LEN(A1)<=3,CONCATENATE(A1,"R"),IF(AND(LEN(A1)>=4,LEN(A1)<=6),CONCATENATE(LEFT(A1,LEN(A1)-3),"K",MID(A1,LEN(A1)-2,1)),IF(LEN(A1)>6,CONCATENATE(LEFT(A1,LEN(A1)-6),"M",MID(A1,LEN(A1)-5,1)),"??")))

    But you still need to fill those cell with "??", so yeah, not a perfect solution I guess.

    For the number-to-string conversion, maybe it's a good idea to make two columns for both the number (120) and the string (120R), and you can just hide/unhide the whole column if you want to print the page or something

    Hope it helps
    Last edited by igesta; 11-17-2006 at 02:22 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1