Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-02-2015, 08:36 PM
Vinish Vinish is offline Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension Windows 7 64bit Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension Office 2010 64bit
Novice
Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension
 
Join Date: Dec 2015
Posts: 3
Vinish is on a distinguished road
Default Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension

Well, it said a long title was preferred. Hope this one was okay.



In Excel 2010, I have a table with about 20 rows and about 10 columns. The values in each row are numerical and sorted ascending from left to right (4.5, 6.9, 11.6, 12.9, etc.).

There is a header row to the left of my data and this header row contains numerical data sorted ascending from top to bottom (4.5, 6.9, 11.6, 12.9, etc.).

If necessary, I could sort the table in descending order but would prefer not to.

I want to do the following:

1) Identify the row where the header column contains a specified value. This value will be an exact match with one of the entries in this column. This header column contains pipe sizes which have discreet values like, 0.5, 0.75, 1, 1.25, 1.5, 2, 3, 4, etc.

2) In the row identified in step #1, I want to find the smallest value that is greater than or equal to a specified value. This row contains circumferences of insulation that goes on the pipes. I need to find the smallest circumference that is greater than or equal to a reference value (the specified value). The data in each row is numerical, ascends from left to right, and can contain some blank cells at the left and/or right end of the row.

3) I want to return the value identified in step #2. If it is easier to return the reference to the cell (e.g. R15) containing the value identified in step #2, that would be fine also. I could then just use this reference in an equation.

I tried using hlookup and vlookup. The vlookup works since I am looking in the first column of the range but then I am stuck. I want to search only in the row containing the value found by the vlookup not in the whole table range based on a header row so hlookup doesn't work.

Perhaps some combination of match, index, and vlookup can work but I can't figure it out.

I hope that someone can help me with this. Thanks in advance.

G'day,

Vinish
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension How To Maintain Fixed Dimension When Inserting Photo? bruintriton Word 15 08-31-2015 07:10 PM
Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension Lookup table in word ElfegoBaca Word 1 10-15-2014 06:34 PM
Two dimensional table lookup with 2nd dimension occurring in Row found in first dimension Sorting algorithm for two dimensional array NobodysPerfect Word VBA 1 04-07-2014 03:58 PM
Slide dimension Fallen PowerPoint 2 02-01-2013 01:49 PM
Dimension Autoshapes karthikcoep Word 0 01-16-2009 07:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft