+ Reply to Thread
Results 1 to 3 of 3

Index-Match from a range

Hybrid View

  1. #1
    Registered User
    Join Date
    10-04-2004
    Posts
    13

    Question Index-Match from a range

    Hello Everyone,

    Am trying to figure out how to lookup a value through a range of cells and seems this forum is my best bet. I have table in following format:

    colA:::ColB :::ColC
    pkt ::: ordercount ::: speed
    <4 ::: <20,000 ::: 7500
    <4 ::: 20000-40000 :::8500
    5-8 ::: <20000 ::: 9000
    5-8 ::: 20000-40000 ::: 9500
    ... and so on and so forth

    How do I write a formula such that for a given pkt and order count combination system would lookup associated speed. For e.g. for a 5 pkt job and 30,000 order count, the formula would retrieve 9500 and so on and so forth. I guess I would have to use a combination of Index, Match and If statement but am not able to come up with a good formula for the above scenario. Could anyone please help?

    Thanks in advance,
    mparekh

  2. #2
    Peo Sjoblom
    Guest

    Re: Index-Match from a range

    You have the wrong layout which makes it very hard if not impossible to get
    a valid result. If you changed it to

    0 20000 40000
    0 7500 8500
    4 9000 9500
    8
    and so on


    Assume the whole table would be A2:D5
    with pkt going down in A staring with 0 in A3 and order count across in row
    2 starting in B2 with 0

    =INDEX(A2:D5,MATCH(5,A2:A5,1),MATCH(30000,A2:D2,1))


    --

    Regards,

    Peo Sjoblom

    Northwest Excel Solutions

    www.nwexcelsolutions.com

    (remove ^^ from email address)

    Portland, Oregon




    "Mparekh" <Mparekh.25pk51_1144100704.1577@excelforum-nospam.com> wrote in
    message news:Mparekh.25pk51_1144100704.1577@excelforum-nospam.com...
    >
    > Hello Everyone,
    >
    > Am trying to figure out how to lookup a value through a range of cells
    > and seems this forum is my best bet. I have table in following format:
    >
    > _colA_:::_ColB_ :::_ColC_
    > _pkt_ ::: _ordercount_ ::: __speed_
    > <4 ::: <20,000 ::: 7500
    > <4 ::: 20000-40000 :::8500
    > 5-8 ::: <20000 ::: 9000
    > 5-8 ::: 20000-40000 ::: 9500
    > .. and so on and so forth
    >
    > How do I write a formula such that for a given pkt and order count
    > combination system would lookup associated speed. For e.g. for a 5 pkt
    > job and 30,000 order count, the formula would retrieve 9500 and so on
    > and so forth. I guess I would have to use a combination of Index, Match
    > and If statement but am not able to come up with a good formula for the
    > above scenario. Could anyone please help?
    >
    > Thanks in advance,
    > mparekh
    >
    >
    > --
    > Mparekh
    > ------------------------------------------------------------------------
    > Mparekh's Profile:
    > http://www.excelforum.com/member.php...o&userid=14999
    > View this thread: http://www.excelforum.com/showthread...hreadid=529400
    >



  3. #3
    Registered User
    Join Date
    10-04-2004
    Posts
    13
    Thanks Peo Sjoblom! It worked...

    Thanks again,
    Mparekh

+ 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