Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cank
 
Posts: n/a
Default Need Help with lookup values in Table

I have a table Like This:
Tube Diameter
15 14 13 12 11 10 9
15,000 60 54 50 45 40 36 32
12,000 45 42 39 35 32 29 26
9,000 33 30 29 26 24 21 18
7,500 26 24 22 21 19 17 15
6,000 20 19 18 16 15 13 12
5,000 17 16 15 12 11 10 8
4,000 13 12 11 10 9 8 7
3,000 10 9 9 8 7 6 5
2,000 7 6 6 5 5 4 4
Transfomer Size

The table data represents the Maximum footage (of Neon Tubing) allowed for a
particular transformer size based on the Tube Diameter.
The information that I want to input is:
1. Tube Diameter
2. Actual Footage

I need to write a Lookup function to do several things.
The first is, for a particular job I will not always have the exact footage
listed in the chart, so I will need to round the actual value up to the
nearest value based on the tube diameter.
I have done this with the HLOOKUP function but I have to manually put in the
Row Index, and is therefore not practical.

Second, I need to Reference or Pick the correct size transformer based on
this rounded-up value and the tube diameter.

I would also like a way to divide the footage if it fell out of the scope of
the chart, i.e. if there was 85 feet determine that I need a 15,000 and a
7,500 transformer.

I can get the Column index with a MATCH Function based on the Tube Size but
I can't seem to get the Row index unles I only search in one column.

Let me know if anyone has some ideas.

Thanks,
cank
  #2   Report Post  
bpeltzer
 
Posts: n/a
Default Need Help with lookup values in Table

I'm not sure I understand the application well enough to answer completely.
But it sounds as if finding the correct transformer size will allow you to
get further along. To that end, if the transformer sizes are all in column A
(and nothing else is there) and the input transformer size is in C14, then
=LARGE(A:A,COUNTIF(A:A,"="&C14)) should return the appropriate size (change
C14 to the cell with your transformer size input, and change A:A, if
necessary, to precisely specify the range, ex: $A$2:$A$10).
The logic is to figure out how many transformers are at least as big as the
requested size, and return that nth biggest value. From there, of course,
you could use the match function to figure out what row you need to look in
(maybe an input for your hlookup?).
HTH. --Bruce

"cank" wrote:

I have a table Like This:
Tube Diameter
15 14 13 12 11 10 9
15,000 60 54 50 45 40 36 32
12,000 45 42 39 35 32 29 26
9,000 33 30 29 26 24 21 18
7,500 26 24 22 21 19 17 15
6,000 20 19 18 16 15 13 12
5,000 17 16 15 12 11 10 8
4,000 13 12 11 10 9 8 7
3,000 10 9 9 8 7 6 5
2,000 7 6 6 5 5 4 4
Transfomer Size

The table data represents the Maximum footage (of Neon Tubing) allowed for a
particular transformer size based on the Tube Diameter.
The information that I want to input is:
1. Tube Diameter
2. Actual Footage

I need to write a Lookup function to do several things.
The first is, for a particular job I will not always have the exact footage
listed in the chart, so I will need to round the actual value up to the
nearest value based on the tube diameter.
I have done this with the HLOOKUP function but I have to manually put in the
Row Index, and is therefore not practical.

Second, I need to Reference or Pick the correct size transformer based on
this rounded-up value and the tube diameter.

I would also like a way to divide the footage if it fell out of the scope of
the chart, i.e. if there was 85 feet determine that I need a 15,000 and a
7,500 transformer.

I can get the Column index with a MATCH Function based on the Tube Size but
I can't seem to get the Row index unles I only search in one column.

Let me know if anyone has some ideas.

Thanks,
cank

  #3   Report Post  
Dav
 
Posts: n/a
Default Need Help with lookup values in Table


I think the following should work. The assumption is no diameters go
beyond 15


+-------------------------------------------------------------------+
|Filename: Transformer lookup.pdf |
|Download: http://www.excelforum.com/attachment.php?postid=4025 |
+-------------------------------------------------------------------+

--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=483750

  #4   Report Post  
cank
 
Posts: n/a
Default Need Help with lookup values in Table

Bruce,
The transformer size is one one thing I don't know. I will try to explain it
a little more clearly.

If I have 30 feet of Neon and I know the tube size is 15mm, I need to first
evaluate what coulumn I need to be in (Col 2). Then I need to evaluate the
footage (30) and round up to the nearest number(33). From there I know I am
in Col 2:Row 4. I then need to pull out the transformer size on the left that
corrolates to that (9,000).
I hope this Clarifies my problem.

Dav,
The link said "Invalid Attachment specified". Let me know if there is a
different way to look that up.

Thanks for the response.
Cank
  #5   Report Post  
cank
 
Posts: n/a
Default Need Help with lookup values in Table


"cank" wrote:
Dav,
The link said "Invalid Attachment specified". Let me know if there is a
different way to look that up.


Dav,
I found my post on ExcelTip.com and was able to find your link.
That worked, THANKS!
Do you have time to explain it?

Thanks for the help.
cank
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
Count unique values - Pivot Table Thomas Mueller Excel Discussion (Misc queries) 3 November 3rd 05 11:55 PM
Count unique values - Pivot Table Thomas Mueller Charts and Charting in Excel 0 November 2nd 05 01:05 PM
Pivot table page filter not accepting multiple values. Workaround? jco Excel Worksheet Functions 2 September 25th 05 09:35 PM
How do I increase a table values by 1.2 for example? Michal Excel Worksheet Functions 4 July 6th 05 03:59 PM
how can i fill a table with values from repeated regressions buragotch Excel Worksheet Functions 4 January 1st 05 01:25 PM


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