#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default vlookup in reverse

I am trying to use a function that will read a table in reverse (from the
right column to the left column) and so far I have this:

-table range is named "sked" and goes from a1:b5
-cell d1 is the value I want looked up

=index(a1:a5, match(d1, b1:b5, 0))

that works perfectly, however, is there a way to to use "sked" in that
formula so that it would look something like:

=index(1st column of "sked", match(d1, 2nd column of "sked", 0))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default vlookup in reverse

Try this:

=INDEX(sked,MATCH(D1,INDEX(sked,,2),0),1)
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"AJSloss" wrote in message
...
I am trying to use a function that will read a table in reverse (from the
right column to the left column) and so far I have this:

-table range is named "sked" and goes from a1:b5
-cell d1 is the value I want looked up

=index(a1:a5, match(d1, b1:b5, 0))

that works perfectly, however, is there a way to to use "sked" in that
formula so that it would look something like:

=index(1st column of "sked", match(d1, 2nd column of "sked", 0))


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default vlookup in reverse

If you have only 2 columm why not give them each a name. Using more INDEX
function than your first example is going to slow calculations down.

=index(Sked1st,match(d1, Sked2nd, 0))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"AJSloss" wrote:

I am trying to use a function that will read a table in reverse (from the
right column to the left column) and so far I have this:

-table range is named "sked" and goes from a1:b5
-cell d1 is the value I want looked up

=index(a1:a5, match(d1, b1:b5, 0))

that works perfectly, however, is there a way to to use "sked" in that
formula so that it would look something like:

=index(1st column of "sked", match(d1, 2nd column of "sked", 0))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default vlookup in reverse

How can you measure the calc time difference for 2 columns and 5 rows?

OH, you say maybe there's really more then 5 rows.

Well, maybe there's also more then 2 columns.

Most OPs are not looking for a fish ... they're looking to learn how to
fish!<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Shane Devenshire" wrote in
message ...
If you have only 2 columm why not give them each a name. Using more INDEX
function than your first example is going to slow calculations down.

=index(Sked1st,match(d1, Sked2nd, 0))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"AJSloss" wrote:

I am trying to use a function that will read a table in reverse (from

the
right column to the left column) and so far I have this:

-table range is named "sked" and goes from a1:b5
-cell d1 is the value I want looked up

=index(a1:a5, match(d1, b1:b5, 0))

that works perfectly, however, is there a way to to use "sked" in that
formula so that it would look something like:

=index(1st column of "sked", match(d1, 2nd column of "sked", 0))


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default vlookup in reverse

Some people are only interested in jacking up their post count.

--
Biff
Microsoft Excel MVP


"Ragdyer" wrote in message
...
How can you measure the calc time difference for 2 columns and 5 rows?

OH, you say maybe there's really more then 5 rows.

Well, maybe there's also more then 2 columns.

Most OPs are not looking for a fish ... they're looking to learn how to
fish!<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Shane Devenshire" wrote in
message ...
If you have only 2 columm why not give them each a name. Using more
INDEX
function than your first example is going to slow calculations down.

=index(Sked1st,match(d1, Sked2nd, 0))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"AJSloss" wrote:

I am trying to use a function that will read a table in reverse (from

the
right column to the left column) and so far I have this:

-table range is named "sked" and goes from a1:b5
-cell d1 is the value I want looked up

=index(a1:a5, match(d1, b1:b5, 0))

that works perfectly, however, is there a way to to use "sked" in that
formula so that it would look something like:

=index(1st column of "sked", match(d1, 2nd column of "sked", 0))




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
REVERSE VLOOKUP FARAZ QURESHI Excel Discussion (Misc queries) 3 July 26th 08 08:12 AM
Reverse VLOOKUP Matt Excel Discussion (Misc queries) 1 January 28th 08 10:34 PM
Reverse VlookUp Matt Excel Discussion (Misc queries) 1 January 28th 08 09:55 PM
reverse VLOOKUP Marcus Schöneborn Excel Discussion (Misc queries) 4 September 24th 07 06:08 PM
reverse vlookup John Excel Worksheet Functions 0 January 4th 06 09:14 PM


All times are GMT +1. The time now is 03:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"