Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
M Skabialka
 
Posts: n/a
Default How do I find a value in an array (VLOOKUP? HLOOKUP?)

I have a height, weight and body fat table. The columns are height, the
rows are weight, and the info between is body fat.

I would like to on a separate worksheet, enter the height and the weight and
have Excel find the bodyfat from my table and enter it on this sheet so I
can print it.

I think I need a VLOOKUP or a HLOOKUP, but I can't seem to be able to get
either to look at both height and weight and return the body fat.

B4 is the height, C4 the weight
=HLOOKUP(B4,Women!B1:AO1,1) tells me the height.
=VLOOKUP(C4,Women!A2:A71,1) tells me the weight, but I already know these.
The value I need is in cell F30

Thanks,
Mich



  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

I have names the horizontal range ( Women!B1:AO1) with height values as
HEIGHT
I have names the rest of the table (without top line) (Women!A2:AO71 I
think) as TABLE
Then use =VLOOKUP(C4,table,MATCH(B4,height,1)+1)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"M Skabialka" wrote in message
...
I have a height, weight and body fat table. The columns are height, the
rows are weight, and the info between is body fat.

I would like to on a separate worksheet, enter the height and the weight
and have Excel find the bodyfat from my table and enter it on this sheet
so I can print it.

I think I need a VLOOKUP or a HLOOKUP, but I can't seem to be able to get
either to look at both height and weight and return the body fat.

B4 is the height, C4 the weight
=HLOOKUP(B4,Women!B1:AO1,1) tells me the height.
=VLOOKUP(C4,Women!A2:A71,1) tells me the weight, but I already know these.
The value I need is in cell F30

Thanks,
Mich





  #3   Report Post  
M Skabialka
 
Posts: n/a
Default

This worked!
Thanks!

"Bernard Liengme" wrote in message
...
I have names the horizontal range ( Women!B1:AO1) with height values as
HEIGHT
I have names the rest of the table (without top line) (Women!A2:AO71 I
think) as TABLE
Then use =VLOOKUP(C4,table,MATCH(B4,height,1)+1)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"M Skabialka" wrote in message
...
I have a height, weight and body fat table. The columns are height, the
rows are weight, and the info between is body fat.

I would like to on a separate worksheet, enter the height and the weight
and have Excel find the bodyfat from my table and enter it on this sheet
so I can print it.

I think I need a VLOOKUP or a HLOOKUP, but I can't seem to be able to get
either to look at both height and weight and return the body fat.

B4 is the height, C4 the weight
=HLOOKUP(B4,Women!B1:AO1,1) tells me the height.
=VLOOKUP(C4,Women!A2:A71,1) tells me the weight, but I already know
these.
The value I need is in cell F30

Thanks,
Mich







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
Table Array in VLOOKUP Relies on Data Validation willydlish Excel Worksheet Functions 2 February 16th 05 03:20 AM
How to use a cell value as Table Array in VLOOKUP worksheet function willydlish Excel Discussion (Misc queries) 2 February 16th 05 02:47 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM


All times are GMT +1. The time now is 06:23 AM.

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"