ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lookup Table Dilemma (https://www.excelbanter.com/excel-worksheet-functions/30201-lookup-table-dilemma.html)

Karen

Lookup Table Dilemma
 
Using Excel 2003
I was trying to explain a dilemma I'm having in a previous posting and I
have not been doing a good job - After reading other messages regarding
Lookup Tables, I have found a better way to explain what I need. I'll give
it another try.

I have 4 tables - All 4 tables have 2 columns (column A & B)
The 1st table has a range of values in column A from 2.5 to 2.9
The 2nd table has a range of values in column A from 3.0 to 4.7
The 3rd table has a range of values in column A from 4.8 to 9.4
The 4th table has a range of values in column A from 9.5 to 14.2

Column B has minimum values that correspond to the values in column A

I need to do the following:
As an example: Let's say the value in a cell in column C is 5.9, (5.9 is in
the 3rd table and the corresponding minimum value for 5.9 is 319) - the value
in column D is 400 - it meets the minimum value of 319 - therefore, a number
1 is placed a cell in column F. If the value in column D was 315, it
wouldn't meet the minimum value criteria, therefore a number 1 wouldn't be
placed in column F, it would be left blank.

If the value in column C falls within the range of the values in table 1
(column A) and meets the criteria (the minimum values as well in column B) a
number 1 is placed in column F. If it doesn't meet the criteria, column F is
left blank.

If the value in column C falls within the range of the values in table 2 and
meets the criteria (the minimum values as well) a number 1 is NOT placed in
ANY column.

If the value in column C falls within the range of the values in table 3
(column A) and meets the criteria (the minimum values as well in column B) a
number 1 is placed in column G. If it doesn't meet the criteria, column G is
left blank.

If the value in column C falls within the range of the values in table 4
(column A) and meets the criteria (the minimum values as well in column B) a
number 1 is placed in column H. If it doesn't meet the criteria, column H is
left blank.

I hope I am explaining this properly - I really need to set this up - The
only problem is that the lookup table has to be in a separate sheet tab. The
other data will be in separate sheet tabs for each day - For the month of
June there will be 30 sheets tabs.





Biff

Hi!

Why have 4 tables? If you had 1 table things would be a lot easier on you!

I think you need something like this:

=IF(cell in column D that holds 400 =VLOOKUP(cell in column C is
5.9,table_range,2,0),1,"")

Biff

"Karen" wrote in message
...
Using Excel 2003
I was trying to explain a dilemma I'm having in a previous posting and I
have not been doing a good job - After reading other messages regarding
Lookup Tables, I have found a better way to explain what I need. I'll
give
it another try.

I have 4 tables - All 4 tables have 2 columns (column A & B)
The 1st table has a range of values in column A from 2.5 to 2.9
The 2nd table has a range of values in column A from 3.0 to 4.7
The 3rd table has a range of values in column A from 4.8 to 9.4
The 4th table has a range of values in column A from 9.5 to 14.2

Column B has minimum values that correspond to the values in column A

I need to do the following:
As an example: Let's say the value in a cell in column C is 5.9, (5.9 is
in
the 3rd table and the corresponding minimum value for 5.9 is 319) - the
value
in column D is 400 - it meets the minimum value of 319 - therefore, a
number
1 is placed a cell in column F. If the value in column D was 315, it
wouldn't meet the minimum value criteria, therefore a number 1 wouldn't be
placed in column F, it would be left blank.

If the value in column C falls within the range of the values in table 1
(column A) and meets the criteria (the minimum values as well in column B)
a
number 1 is placed in column F. If it doesn't meet the criteria, column F
is
left blank.

If the value in column C falls within the range of the values in table 2
and
meets the criteria (the minimum values as well) a number 1 is NOT placed
in
ANY column.

If the value in column C falls within the range of the values in table 3
(column A) and meets the criteria (the minimum values as well in column B)
a
number 1 is placed in column G. If it doesn't meet the criteria, column G
is
left blank.

If the value in column C falls within the range of the values in table 4
(column A) and meets the criteria (the minimum values as well in column B)
a
number 1 is placed in column H. If it doesn't meet the criteria, column H
is
left blank.

I hope I am explaining this properly - I really need to set this up - The
only problem is that the lookup table has to be in a separate sheet tab.
The
other data will be in separate sheet tabs for each day - For the month of
June there will be 30 sheets tabs.







Biff

Well, after re-reading your post I think you need a little more than I
suggested.

I remember reading your original post and, yes, it was confusing!

Can you send me the file? If so, I'm at:

xl can help at comcast period net

Remove "can" and change the obvious.

Biff

"Biff" wrote in message
...
Hi!

Why have 4 tables? If you had 1 table things would be a lot easier on you!

I think you need something like this:

=IF(cell in column D that holds 400 =VLOOKUP(cell in column C is
5.9,table_range,2,0),1,"")

Biff

"Karen" wrote in message
...
Using Excel 2003
I was trying to explain a dilemma I'm having in a previous posting and I
have not been doing a good job - After reading other messages regarding
Lookup Tables, I have found a better way to explain what I need. I'll
give
it another try.

I have 4 tables - All 4 tables have 2 columns (column A & B)
The 1st table has a range of values in column A from 2.5 to 2.9
The 2nd table has a range of values in column A from 3.0 to 4.7
The 3rd table has a range of values in column A from 4.8 to 9.4
The 4th table has a range of values in column A from 9.5 to 14.2

Column B has minimum values that correspond to the values in column A

I need to do the following:
As an example: Let's say the value in a cell in column C is 5.9, (5.9 is
in
the 3rd table and the corresponding minimum value for 5.9 is 319) - the
value
in column D is 400 - it meets the minimum value of 319 - therefore, a
number
1 is placed a cell in column F. If the value in column D was 315, it
wouldn't meet the minimum value criteria, therefore a number 1 wouldn't
be
placed in column F, it would be left blank.

If the value in column C falls within the range of the values in table 1
(column A) and meets the criteria (the minimum values as well in column
B) a
number 1 is placed in column F. If it doesn't meet the criteria, column
F is
left blank.

If the value in column C falls within the range of the values in table 2
and
meets the criteria (the minimum values as well) a number 1 is NOT placed
in
ANY column.

If the value in column C falls within the range of the values in table 3
(column A) and meets the criteria (the minimum values as well in column
B) a
number 1 is placed in column G. If it doesn't meet the criteria, column
G is
left blank.

If the value in column C falls within the range of the values in table 4
(column A) and meets the criteria (the minimum values as well in column
B) a
number 1 is placed in column H. If it doesn't meet the criteria, column
H is
left blank.

I hope I am explaining this properly - I really need to set this up - The
only problem is that the lookup table has to be in a separate sheet tab.
The
other data will be in separate sheet tabs for each day - For the month of
June there will be 30 sheets tabs.










All times are GMT +1. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com