A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula help - possible vlookup/hlookup combination with IF or oth



 
 
Thread Tools Display Modes
  #1  
Old June 13th, 2008, 10:14 AM posted to microsoft.public.excel.worksheet.functions
adam&ellie
external usenet poster
 
Posts: 4
Default Formula help - possible vlookup/hlookup combination with IF or oth

HI,

I'm trying to work out a formula that will bring back data from a table as
below

1 2 3 4 5
60 20 10 6 40 5
61 1 25 70 45 12
62 7 70 20 52 10

I need a formula that would compare the x & y axis of the table when given
the values and report back the associated cross value. I was thinking along
the lines of a vlookup and h lookup in combination with an IF statement
somehow. Or is there a specific formula within excel?

Many thanks


--
Adam&ellie
  #2  
Old June 13th, 2008, 10:30 AM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default Formula help - possible vlookup/hlookup combination with IF oroth

With your example table in cells A1:F4, and using A10 for the row
values (60 to 62) and B10 for the column values (1 to 5), put this
formula in C10:

=INDEX(B2:F4,MATCH(A10,A2:A4,0),MATCH(B10,B1:F1,0) )

Just change the values in A10 and/or B10 to get the appropriate value
in C10.

Hope this helps.

Pete


On Jun 13, 10:14*am, adam&ellie
wrote:
HI,

I'm trying to work out a formula that will bring back data from a table as
below

* * * * * * *1 * * *2 * * *3 * * *4 * * *5
60 * * * * 20 * *10 * * 6 * * *40 * *5
61 * * * * 1 * * *25 * * 70 * *45 * *12
62 * * * * 7 * * *70 * * 20 * *52 * *10

I need a formula that would compare the x & y axis of the table when given
the values and report back the associated cross value. I was thinking along
the lines of a vlookup and h lookup in combination with an IF statement
somehow. Or is there a specific formula within excel?

Many thanks

--
Adam&ellie


  #3  
Old June 13th, 2008, 10:32 AM posted to microsoft.public.excel.worksheet.functions
Jarek Kujawa[_2_]
external usenet poster
 
Posts: 775
Default Formula help - possible vlookup/hlookup combination with IF oroth

presuming yr data is in A1:F4

put e.g. 61 in A8 and 3 in B8

try:

=OFFSET($A$1;MATCH(A8,$A$2:$A$4,),MATCH(B8,$B$1:$F $1,))

the result should be 70

HIH
  #4  
Old June 13th, 2008, 10:34 AM posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
external usenet poster
 
Posts: 397
Default Formula help - possible vlookup/hlookup combination with IF or oth

Hi

=INDEX($B$2:$F$3,MATCH(X1,$A$2:$A$3,0),MATCH(Y1,$B $1:$F$1,0))

, where X1 and Y1 contain search values for row- and column headers.


--
Arvi Laanemets
( My real mail address: arvi.laanemetsattarkon.ee )


"adam&ellie" wrote in message
...
HI,

I'm trying to work out a formula that will bring back data from a table as
below

1 2 3 4 5
60 20 10 6 40 5
61 1 25 70 45 12
62 7 70 20 52 10

I need a formula that would compare the x & y axis of the table when given
the values and report back the associated cross value. I was thinking
along
the lines of a vlookup and h lookup in combination with an IF statement
somehow. Or is there a specific formula within excel?

Many thanks


--
Adam&ellie



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:13 PM.


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