+ Reply to Thread
Results 1 to 4 of 4

Thread: Match Value

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Match Value

    Dear All,

    I am electrical engineer. Usually i work in field to connect cable.

    but this time i "get" work above the desk. there is some formula that i still dont know. I want to know what formula to determine about cable.

    but in this case. i give some simple data like below, and then let i develop related to my job by myself.

    i have basic data like below :


    2 A1
    3 A2
    4 B1
    5 B2
    6 B3

    and if i have data of calculating like below :

    0.1
    2.3
    2.8
    2.9
    3.3
    3.5
    5.1
    2.3
    3.4
    5.9
    etc...

    how can i determine quickly.

    if range
    0-2 =A1 and 2=A1
    2-3 =A2 and 3=A2
    3-4 =B1 and 4=B1
    4-5 =B2 and 5=B2
    5-6 =B3 and 6=B3

    so the result is :

    0.1 = A1
    2.3 = A2
    2.8 = A2
    2.9 = A2
    3.3 = B1
    3.5 = B1
    5.1 = B3
    2.3 = A2
    3.4 = B1
    5.9 = B3

    thanks...
    Last edited by DonkeyOte; 05-27-2009 at 03:35 AM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: ask formula to this one match with which

    You could perhaps use LOOKUP

    =LOOKUP(A1-0.01,{-0.01,2,3,4,5,6},{"A1","A2","B1","B2","B3"})

    Where A1 holds the value.

    Going forward please make sure you title your threads as succinctly as possible - given this was your first post I have revised this one for you.

    Please also post your question in the relevant forum - I have moved this for you.

    In short - read the Forum Rules before posting again.
    Last edited by DonkeyOte; 05-27-2009 at 03:36 AM.

  3. #3
    Registered User
    Join Date
    05-27-2009
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Match Value

    thank you donkeyote.

    i will try not to make mistake twice.

    but i already used our formula, but the result is nothing.

    thanks..
    Attached Files Attached Files

  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Match Value

    Revise your file as follows:

    F10:F13 should read 0 to 3 (not 1 to 4)

    Add to row 14
    F14: 4
    G14: N/A

    Formula in D10 either of:

    =IF($C10="","",LOOKUP($C10-0.01,$F$10:$F$14,$G$10:$G$14))

    or

    =IF($C10="","",VLOOKUP($C10-0.01,$F$10:$G$14,2,TRUE))

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.2.0