Consulting

Results 1 to 3 of 3

Thread: Solved: Help on alpha numeric subraction...

  1. #1

    Solved: Help on alpha numeric subraction...

    I have a data in column S8

    ASFCN10 and in S7 it should return ASFCN09

    and I tried this formula

    =LEFT(S7,LEN(S7)-0-1)&RIGHT(S7,1)+0-1

    The problem is it returns ASFCN1-1 instead of ASFCN09...

    Please help

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try

    =LEFT(S7,LEN(S7)-2)&TEXT(RIGHT(S7,2)-1,"00")
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Thanks XLD!

Posting Permissions

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