Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup combined with Hlookup

I am trying to lookup data that is in a named range across columns and rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what column
number on the spreadsheet it may appear. The column will allways have the
heading Week2. Is there a way to combine the Vlookup and or Hlookup functions
so that I can find ABC Week2 as long as it appears in the named range but
without having to specify what column number it will be in ?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup combined with Hlookup

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30

I would like to be able to look for ABC in week2


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
I am trying to lookup data that is in a named range across columns and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways have the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named range but
without having to specify what column number it will be in ?




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup combined with Hlookup

This did not work. My data range is as you show below with ABC being in A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12) against
which I want to do the formula.Above and to the right of A12 in this other
tab I also have Week2 (B11) So I called the data range "look" via insert name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30

I would like to be able to look for ABC in week2


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
I am trying to lookup data that is in a named range across columns and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways have the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named range but
without having to specify what column number it will be in ?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup combined with Hlookup

If your named range includes the column headers try this:

=VLOOKUP(A12,look,MATCH(B11,INDEX(look,1,),0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
This did not work. My data range is as you show below with ABC being in A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12)
against
which I want to do the formula.Above and to the right of A12 in this other
tab I also have Week2 (B11) So I called the data range "look" via insert
name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30

I would like to be able to look for ABC in week2


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
I am trying to lookup data that is in a named range across columns and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways have
the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named range
but
without having to specify what column number it will be in ?







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup combined with Hlookup

Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!

THANK YOU for the quick and kind help!

I"M SAVED !!!!!!!

"T. Valko" wrote:

If your named range includes the column headers try this:

=VLOOKUP(A12,look,MATCH(B11,INDEX(look,1,),0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
This did not work. My data range is as you show below with ABC being in A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12)
against
which I want to do the formula.Above and to the right of A12 in this other
tab I also have Week2 (B11) So I called the data range "look" via insert
name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30

I would like to be able to look for ABC in week2

A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
I am trying to lookup data that is in a named range across columns and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways have
the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named range
but
without having to specify what column number it will be in ?










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup combined with Hlookup

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!

THANK YOU for the quick and kind help!

I"M SAVED !!!!!!!

"T. Valko" wrote:

If your named range includes the column headers try this:

=VLOOKUP(A12,look,MATCH(B11,INDEX(look,1,),0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
This did not work. My data range is as you show below with ABC being in
A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12)
against
which I want to do the formula.Above and to the right of A12 in this
other
tab I also have Week2 (B11) So I called the data range "look" via
insert
name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30

I would like to be able to look for ABC in week2

A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...
I am trying to lookup data that is in a named range across columns
and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways
have
the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named
range
but
without having to specify what column number it will be in ?










  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default To get the value from next cell of table if you specify X & Y Rows orcell details

Hall Sir,

With ref to below excel function Vlookup combined with Hlookup or get the value from table .......plz tell me how get the cell value from the very next matched value.

Generally using the aboce function we get the exact match from below example
if i say "ABC" & "Week2" it shows the value of 30, But along with this in the very next cell (where i specified & get this value) i need the value of week3 also (i.e., in the next cell i want the value 40 )...how to get this one.

...........................................
I seen this solution in your site for below qns

Vlookup combined with Hlookup
T. Valko posted on Wednesday, July 09, 2008 1:48 AM


Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30







T. Valko wrote:

Vlookup combined with Hlookup
09-Jul-08

Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...

Previous Posts In This Thread:

On Wednesday, July 09, 2008 12:16 AM
Corneliu wrote:

Vlookup combined with Hlookup
I am trying to lookup data that is in a named range across columns and rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what column
number on the spreadsheet it may appear. The column will allways have the
heading Week2. Is there a way to combine the Vlookup and or Hlookup functions
so that I can find ABC Week2 as long as it appears in the named range but
without having to specify what column number it will be in ?

On Wednesday, July 09, 2008 1:48 AM
T. Valko wrote:

Vlookup combined with Hlookup
Try this:

...........A..........B.............C............. .D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...

On Wednesday, July 09, 2008 3:36 AM
Corneliu wrote:

This did not work.
This did not work. My data range is as you show below with ABC being in A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12) against
which I want to do the formula.Above and to the right of A12 in this other
tab I also have Week2 (B11) So I called the data range "look" via insert name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

On Wednesday, July 09, 2008 1:07 PM
T. Valko wrote:

If your named range includes the column headers try
If your named range includes the column headers try this:

=VLOOKUP(A12,look,MATCH(B11,INDEX(look,1,),0),0)


--
Biff
Microsoft Excel MVP

On Wednesday, July 09, 2008 10:44 PM
Corneliu wrote:

Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!
Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!

THANK YOU for the quick and kind help!

I"M SAVED !!!!!!!

"T. Valko" wrote:

On Thursday, July 10, 2008 12:18 AM
T. Valko wrote:

You're welcome. Thanks for the feedback!
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF DataGrid Custom Paging and Sorting
http://www.eggheadcafe.com/tutorials...tom-pagin.aspx
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default To get the value from next cell of table if you specify X & Y Rows or cell details

If you want 2 results then enter the formula in a cell, let's say you enter
it in B10, then copy across to C10.

=VLOOKUP($A10,$A$1:$D$3,MATCH($A11,$A$1:$D$1,0)+CO ULUMNS($B10:B10)-1,0)

--
Biff
Microsoft Excel MVP


<Prashath Shettigar wrote in message
...
Hall Sir,

With ref to below excel function Vlookup combined with Hlookup or get the
value from table .......plz tell me how get the cell value from the very
next matched value.

Generally using the aboce function we get the exact match from below
example
if i say "ABC" & "Week2" it shows the value of 30, But along with this in
the very next cell (where i specified & get this value) i need the value
of week3 also (i.e., in the next cell i want the value 40 )...how to get
this one.

..........................................
I seen this solution in your site for below qns

Vlookup combined with Hlookup
T. Valko posted on Wednesday, July 09, 2008 1:48 AM


Try this:

..........A..........B.............C.............. D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30







T. Valko wrote:

Vlookup combined with Hlookup
09-Jul-08

Try this:

..........A..........B.............C.............. D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...

Previous Posts In This Thread:

On Wednesday, July 09, 2008 12:16 AM
Corneliu wrote:

Vlookup combined with Hlookup
I am trying to lookup data that is in a named range across columns and
rows:

Rough idea as follows : Week1 Week 2 Week 3
ABC 20 30 40
DEF 10 20 30

I would like to be able to look for ABC in week2 , no matter in what
column
number on the spreadsheet it may appear. The column will allways have the
heading Week2. Is there a way to combine the Vlookup and or Hlookup
functions
so that I can find ABC Week2 as long as it appears in the named range but
without having to specify what column number it will be in ?

On Wednesday, July 09, 2008 1:48 AM
T. Valko wrote:

Vlookup combined with Hlookup
Try this:

..........A..........B.............C.............. D.....
1................Week1.....Week2.....Week3
2....ABC.......20............30.............40
3....DEF........10............20............30


A10 = ABC
A11 = Week2

=VLOOKUP(A10,A1:D3,MATCH(A11,A1:D1,0),0)


--
Biff
Microsoft Excel MVP


"Cornelius" wrote in message
...

On Wednesday, July 09, 2008 3:36 AM
Corneliu wrote:

This did not work.
This did not work. My data range is as you show below with ABC being in A2
and Week2 being in C1. I then have an ABC on another tab ( cell A12)
against
which I want to do the formula.Above and to the right of A12 in this other
tab I also have Week2 (B11) So I called the data range "look" via insert
name
define .....

My formula reads as follows

=VLOOKUP(A12,look,MATCH(B11,look,0),0)

Am I doing something wrong ?

"T. Valko" wrote:

On Wednesday, July 09, 2008 1:07 PM
T. Valko wrote:

If your named range includes the column headers try
If your named range includes the column headers try this:

=VLOOKUP(A12,look,MATCH(B11,INDEX(look,1,),0),0)


--
Biff
Microsoft Excel MVP

On Wednesday, July 09, 2008 10:44 PM
Corneliu wrote:

Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!
Mr/Mrs Valko .............PURE GENIUS !!!!!!!!!!!!!!!!!!!!!!!!!!

THANK YOU for the quick and kind help!

I"M SAVED !!!!!!!

"T. Valko" wrote:

On Thursday, July 10, 2008 12:18 AM
T. Valko wrote:

You're welcome. Thanks for the feedback!
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF DataGrid Custom Paging and Sorting
http://www.eggheadcafe.com/tutorials...tom-pagin.aspx



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
HLookUp combined with a VLoopkUp... Jay Excel Worksheet Functions 3 September 15th 06 08:25 AM
combined HLOOKUP (urgent for a friend) tom ossieur Excel Worksheet Functions 6 August 9th 06 03:56 PM
vlookup combined with AND-function martho Excel Worksheet Functions 1 January 20th 06 12:49 PM
vlookup and match combined? ADiscrete1 Excel Worksheet Functions 0 November 16th 05 11:46 PM
Combined VLOOKUP AND BETWEEN FUNCTION Louis Markowski Excel Worksheet Functions 3 October 13th 05 03:54 PM


All times are GMT +1. The time now is 07:15 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"