#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default VLOOKUP, VCONFUSED

Hi, i was wondering if anyone could asssit me with a problem i'm having?
The problem is that i have country marked on sheet 'Air data' in J2 which i
am trying to use to look up a figure from a chart with, on sheet 'New agreed
rates' in which coloumn A has the list of countries to choose from and row 16
has the headings of the table (full table range A16:I73) what i am trying to
do is get a formula that picks the country name from 'Air data' J2 and
matches the row on the table but to pull the coloum number i am trying to get
a word or number from 'air data' O2. i have been trying the below formula

=VLOOKUP('Air data'!J2,'New agreed rates'!A17:I73,(HLOOKUP('Air
data'!O2,'New agreed rates'!A16:I73,1,FALSE)),FALSE)

I'm not sure about using the Hlookup to get the row index num for the
vlookup and what to use as the hlookup's row index number?

Can anyone see what i'm doing wrong, as i'm tearing my hair out and there
ain't that much there to begin with!! If i haven't given enough details then
please let me know and i can elaborate. Thanks for any assistance offered

--
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default VLOOKUP, VCONFUSED

You can use MATCH to get the column number..The MATCH formula lookup 'Air
data'!O2 in the header row A16:I16 and will return the column number...

=VLOOKUP('Air data'!J2,'New agreed rates'!A17:I73,
MATCH('Air data'!O2,'New agreed rates'!A16:I16,0),FALSE)


If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hi, i was wondering if anyone could asssit me with a problem i'm having?
The problem is that i have country marked on sheet 'Air data' in J2 which i
am trying to use to look up a figure from a chart with, on sheet 'New agreed
rates' in which coloumn A has the list of countries to choose from and row 16
has the headings of the table (full table range A16:I73) what i am trying to
do is get a formula that picks the country name from 'Air data' J2 and
matches the row on the table but to pull the coloum number i am trying to get
a word or number from 'air data' O2. i have been trying the below formula

=VLOOKUP('Air data'!J2,'New agreed rates'!A17:I73,(HLOOKUP('Air
data'!O2,'New agreed rates'!A16:I73,1,FALSE)),FALSE)

I'm not sure about using the Hlookup to get the row index num for the
vlookup and what to use as the hlookup's row index number?

Can anyone see what i'm doing wrong, as i'm tearing my hair out and there
ain't that much there to begin with!! If i haven't given enough details then
please let me know and i can elaborate. Thanks for any assistance offered

--
Jim

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default VLOOKUP, VCONFUSED

Jacob, thank you ever so much, worked like a charm.
:-)

--
Jim


"Jacob Skaria" wrote:

You can use MATCH to get the column number..The MATCH formula lookup 'Air
data'!O2 in the header row A16:I16 and will return the column number...

=VLOOKUP('Air data'!J2,'New agreed rates'!A17:I73,
MATCH('Air data'!O2,'New agreed rates'!A16:I16,0),FALSE)


If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hi, i was wondering if anyone could asssit me with a problem i'm having?
The problem is that i have country marked on sheet 'Air data' in J2 which i
am trying to use to look up a figure from a chart with, on sheet 'New agreed
rates' in which coloumn A has the list of countries to choose from and row 16
has the headings of the table (full table range A16:I73) what i am trying to
do is get a formula that picks the country name from 'Air data' J2 and
matches the row on the table but to pull the coloum number i am trying to get
a word or number from 'air data' O2. i have been trying the below formula

=VLOOKUP('Air data'!J2,'New agreed rates'!A17:I73,(HLOOKUP('Air
data'!O2,'New agreed rates'!A16:I73,1,FALSE)),FALSE)

I'm not sure about using the Hlookup to get the row index num for the
vlookup and what to use as the hlookup's row index number?

Can anyone see what i'm doing wrong, as i'm tearing my hair out and there
ain't that much there to begin with!! If i haven't given enough details then
please let me know and i can elaborate. Thanks for any assistance offered

--
Jim

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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 07:52 PM.

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

About Us

"It's about Microsoft Excel"