Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using lookup formula

I need to find a value in a table where value in Column A = "example"
and date across Row 1 = "Aug-08". I am summarising data in a simple
table in my first excel sheet and have got a dropdown listbox for the
month, fixed fields for the values in column A.

Table layout is as below:-

A B C D
Aug 08 Sep 08 Oct 08
Utilities 100.00 110.00 120.00
Rent 550.00 550.00 560.00

I understand that in the basic VLOOKUP
(lookup_value,table_array,col_index_num,range_look up) column index
number can be changed so 2 is Aug and 3 is Sep and so on. But I now
need to 'nest' a second lookup to return data from Aug 08 column when
I select Aug-08 in my dropdown.

help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Using lookup formula

I will assume you Aug 08, Sep 08 are in B1, C1 etc
Suppose in Z1 you have "Aug 08", the MATCH(Z1,B1:J1) will return the postion
in the array that matches Z1, in this case 1
So your VLOOKUP uses
VLOOKUP(lookup_value,table_array,MATCH(Z1,B1:J1) +1,range_lookup)


However, I am assuing yhe data is text. If it is date type then Z1 must have
the same datatype as B1:J1
best wishes
--
www.stfx.ca/people/bliengme


" wrote:

I need to find a value in a table where value in Column A = "example"
and date across Row 1 = "Aug-08". I am summarising data in a simple
table in my first excel sheet and have got a dropdown listbox for the
month, fixed fields for the values in column A.

Table layout is as below:-

A B C D
Aug 08 Sep 08 Oct 08
Utilities 100.00 110.00 120.00
Rent 550.00 550.00 560.00

I understand that in the basic VLOOKUP
(lookup_value,table_array,col_index_num,range_look up) column index
number can be changed so 2 is Aug and 3 is Sep and so on. But I now
need to 'nest' a second lookup to return data from Aug 08 column when
I select Aug-08 in my dropdown.

help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using lookup formula

On 4 Aug, 14:53, Bernard Liengme wrote:
I will assume you Aug 08, Sep 08 are in B1, C1 etc
Suppose in Z1 you have "Aug 08", the MATCH(Z1,B1:J1) will return the postion
in the array that matches Z1, in this case 1
So your VLOOKUP uses
VLOOKUP(lookup_value,table_array,MATCH(Z1,B1:J1) +1,range_lookup)

However, I am assuing yhe data is text. If it is date type then Z1 must have
the same datatype as B1:J1
best wishes
--www.stfx.ca/people/bliengme



" wrote:
I need to find a value in a table where value in Column A = "example"
and date across Row 1 = "Aug-08". *I am summarising data in a simple
table in my first excel sheet and have got a dropdown listbox for the
month, fixed fields for the values in column A.


Table layout is as below:-


A * * * * * *B * * * * * C * * * * * *D
* * * * * * * Aug 08 * Sep 08 * *Oct 08
Utilities * 100.00 * *110.00 * *120.00
Rent * * * *550.00 * 550.00 * *560.00


I understand that in the basic VLOOKUP
(lookup_value,table_array,col_index_num,range_look up) column index
number can be changed so 2 is Aug and 3 is Sep and so on. *But I now
need to 'nest' a second lookup to return data from Aug 08 column when
I select Aug-08 in my dropdown.


help!- Hide quoted text -


- Show quoted text -


Perfect, thanks very much!
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
Help with a Lookup formula ? Charlie7805 Excel Worksheet Functions 5 March 2nd 08 04:47 AM
row lookup formula adam Excel Worksheet Functions 7 July 12th 07 10:52 PM
Lookup Formula??? mkuethe Excel Worksheet Functions 3 May 18th 06 05:52 PM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM
lookup formula help Peter Excel Worksheet Functions 1 February 28th 05 08:49 PM


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