Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default LookUp and Match Question

My Data Table is Like this:

Date AA GOOG DELL
20071212 0.99% 3.89% 1.32%
20071213 0.48% 2.96% 0.46%
20071214 1.02% 2.25% 1.37%
20071217 0.76% 4.37% 0.80%
20071218 0.73% 5.00% 0.52%

I am trying to find a formula for B2:D2 below that will produce this
result..

Date GOOG DELL IBM
20071217 4.37% 0.80% NotFound

Thank YOu in Advance


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default LookUp and Match Question

Ok, let's say your data goes from A1:D6, and 20071214 is in G1 and Goog is in
H1, then this function viww find the value that corresponds to 20071214 and
Goog:


=IF(ISNA(MATCH(H1,A1:D1,0)),INDEX(A1:D6,MATCH(G1,A 1:A6,0),MATCH(H1,A1:D1,1)+1),INDEX(A1:D6,MATCH(G1, A1:A6,0),MATCH(H1,A1:D1,0)))


The matched value is: 0.0225

If you want an alternative, this function will do the same thing:
=INDEX(B2:D6,MATCH(G1,A2:A6),MATCH(H1,B1:D1))

Merry Christmas, here's one mo
=INDEX($A$1:$D$6,MATCH(G1,$A$1:$A$6,0),MATCH(H1,$A $1:$D$1,0))


Regards,
Ryan---



--
RyGuy


"carl" wrote:

My Data Table is Like this:

Date AA GOOG DELL
20071212 0.99% 3.89% 1.32%
20071213 0.48% 2.96% 0.46%
20071214 1.02% 2.25% 1.37%
20071217 0.76% 4.37% 0.80%
20071218 0.73% 5.00% 0.52%

I am trying to find a formula for B2:D2 below that will produce this
result..

Date GOOG DELL IBM
20071217 4.37% 0.80% NotFound

Thank YOu in Advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default LookUp and Match Question

Say that your output headers are in K1:N1 (K1 contains "Date"). Thus
K2 will contain 20071217. In L2:

=VLOOKUP(K2,$A$1:$D$6,MATCH(L$1,$A$1:$D$1,0),0)

HTH
Kostis Vezerides

On Dec 21, 7:56 pm, carl wrote:
My Data Table is Like this:

Date AA GOOG DELL
20071212 0.99% 3.89% 1.32%
20071213 0.48% 2.96% 0.46%
20071214 1.02% 2.25% 1.37%
20071217 0.76% 4.37% 0.80%
20071218 0.73% 5.00% 0.52%

I am trying to find a formula for B2:D2 below that will produce this
result..

Date GOOG DELL IBM
20071217 4.37% 0.80% NotFound

Thank YOu in Advance


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
LookUp/Match/INDEXing Question carl Excel Worksheet Functions 1 December 18th 07 06:41 PM
LookUp/Match Question carl Excel Worksheet Functions 2 December 14th 07 07:05 PM
Match Lookup question chad Excel Worksheet Functions 8 September 12th 06 12:45 AM
A question for Match and Lookup Bin Excel Discussion (Misc queries) 1 June 26th 06 07:45 PM
LookUp/Match Question carl Excel Worksheet Functions 2 October 5th 05 07:36 PM


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