+ Reply to Thread
Results 1 to 4 of 4

Looking up data and providing the difference plus a word

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    17

    Looking up data and providing the difference plus a word

    Hi All

    I have enclosed a spread sheet as a sample to my issue with a few examples on it.

    I am trying to reference a start point against a finish point and make it appear as a word and number ie.

    Range - 3c/3b/3a/4c/4b/4a/5c..... etc. Each sub letter counts as 1

    Target 3a - if they get 3a, I wish it to say 'achieved'
    target 3a - if they get 4b, I wish it to say 'above (2)'
    Target 3a - if they get 3c, I wish it to say 'below (2)'

    Hope this is decent explanation, I hope someone can help me, many thanks for looking

    Graemebelow & above example.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Looking up data and providing the difference plus a word

    this should be easy to do ill upload abook shortly but esecncally it willl use match and then values from that
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Looking up data and providing the difference plus a word

    here is the formula


    Please Login or Register  to view this content.
    fun

    below & above example.xlsx

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Looking up data and providing the difference plus a word

    in d2
    =IF(MATCH(C2,$F$2:$F$20,0)-MATCH(B2,$F$2:$F$20,0)=0,"achieved",IF(MATCH(C2,$F$2:$F$20,0)-MATCH(B2,$F$2:$F$20,0)<0,"below ("&ABS(MATCH(C2,$F$2:$F$20,0)-MATCH(B2,$F$2:$F$20,0))&")","above ("&MATCH(C2,$F$2:$F$20,0)-MATCH(B2,$F$2:$F$20,0)&")"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

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