H
Huck Rorick
I want to look up a value in a table. I would like to specify a value which
determines which column to look in and a value that determines which row and
then return the value in that row and column.
For example, I have this table (not a real table) that shows the
friction/pressure loss in a pipe depending on its size and flow in
gallons/minute (GPM). Given a pipe size and a flow in GPM, I want to return
the value from the table.
1 inch
2 inch
3 inch
1 gpm
5
4
3
2 gpm
4
3
2
3 gpm
3
2
1
Anyone have an idea of how to do this?
Thanks,
Huck
determines which column to look in and a value that determines which row and
then return the value in that row and column.
For example, I have this table (not a real table) that shows the
friction/pressure loss in a pipe depending on its size and flow in
gallons/minute (GPM). Given a pipe size and a flow in GPM, I want to return
the value from the table.
1 inch
2 inch
3 inch
1 gpm
5
4
3
2 gpm
4
3
2
3 gpm
3
2
1
Anyone have an idea of how to do this?
Thanks,
Huck