Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Best method to retrieve table data

Greetings,

I have a large table I'm trying to extract data from:

____|60|60.5|61|61.5|~~~~|78.5|
13.5|12|12 |13|14 |~~~~|28|
14 |12|13 |13|14 |~~~~|29|

This table is 70 columns by 40 rows, I do have the lead row numbers and the
top column numbers referenced in cells on the worksheet.

VLOOKUP does seem to be somewhat appropriate, but I don't have anything
matching up 60 in column two, 60.5 in column 3, etc.

Would it be best to use some form of INDEX and MATCH? If so how would this
look like?

Thanks for any assistance.
--
Just an ordinary Joe
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Best method to retrieve table data

One way using OFFSET ..

Assume source table in Sheet1, with
col headers in B2 across (viz: 60, 60.5 ... 78.5 ...)
row headers in A2 down (viz: 13.5, 14, ...)

Then in another Sheet2 (say)

Assume
In A2: 14 (a row header value)
In B2: 78.5 (a col header value)

Place in C2:
=OFFSET(Sheet1!$A$1,MATCH(A2,Sheet1!A:A,0)-1,MATCH(B2,Sheet1!$1:$1,0)-1)
C2 will return: 29 from the source table in Sheet1. Copy C2 down to return
correspondingly for other sets of values in A3:B3, A4:B4, etc
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"D.Jessup" wrote:
Greetings,

I have a large table I'm trying to extract data from:

____|60|60.5|61|61.5|~~~~|78.5|
13.5|12|12 |13|14 |~~~~|28|
14 |12|13 |13|14 |~~~~|29|

This table is 70 columns by 40 rows, I do have the lead row numbers and the
top column numbers referenced in cells on the worksheet.

VLOOKUP does seem to be somewhat appropriate, but I don't have anything
matching up 60 in column two, 60.5 in column 3, etc.

Would it be best to use some form of INDEX and MATCH? If so how would this
look like?

Thanks for any assistance.
--
Just an ordinary Joe

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Best method to retrieve table data

Max,
Thank you for your input, I did end up going with index and match:

=IF(ISERROR(INDEX('Female Tables'!$BB$4:CO$73,MATCH(((AE3+AI3)-AM3),'Female
Tables'!$BA$4:BA$73,0),MATCH(M3,'Female
Tables'!$BB$2:CO$2,0))),"",INDEX('Female
Tables'!$BB$4:CO$73,MATCH(((AE3+AI3)-AM3),'Female
Tables'!$BA$4:BA$73,0),MATCH(M3,'Female Tables'!$BB$2:CO$2,0)))
--
Just an ordinary Joe


"Max" wrote:

One way using OFFSET ..

Assume source table in Sheet1, with
col headers in B2 across (viz: 60, 60.5 ... 78.5 ...)
row headers in A2 down (viz: 13.5, 14, ...)

Then in another Sheet2 (say)

Assume
In A2: 14 (a row header value)
In B2: 78.5 (a col header value)

Place in C2:
=OFFSET(Sheet1!$A$1,MATCH(A2,Sheet1!A:A,0)-1,MATCH(B2,Sheet1!$1:$1,0)-1)
C2 will return: 29 from the source table in Sheet1. Copy C2 down to return
correspondingly for other sets of values in A3:B3, A4:B4, etc
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"D.Jessup" wrote:
Greetings,

I have a large table I'm trying to extract data from:

____|60|60.5|61|61.5|~~~~|78.5|
13.5|12|12 |13|14 |~~~~|28|
14 |12|13 |13|14 |~~~~|29|

This table is 70 columns by 40 rows, I do have the lead row numbers and the
top column numbers referenced in cells on the worksheet.

VLOOKUP does seem to be somewhat appropriate, but I don't have anything
matching up 60 in column two, 60.5 in column 3, etc.

Would it be best to use some form of INDEX and MATCH? If so how would this
look like?

Thanks for any assistance.
--
Just an ordinary Joe

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Best method to retrieve table data

No prob. Go with something which you feel comfortable with.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"D.Jessup" wrote in message
...
Max,
Thank you for your input, I did end up going with index and match:

=IF(ISERROR(INDEX('Female
Tables'!$BB$4:CO$73,MATCH(((AE3+AI3)-AM3),'Female
Tables'!$BA$4:BA$73,0),MATCH(M3,'Female
Tables'!$BB$2:CO$2,0))),"",INDEX('Female
Tables'!$BB$4:CO$73,MATCH(((AE3+AI3)-AM3),'Female
Tables'!$BA$4:BA$73,0),MATCH(M3,'Female Tables'!$BB$2:CO$2,0)))
--
Just an ordinary Joe



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
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM
Another Exciting Data Table Question!!!! xinekite Charts and Charting in Excel 1 May 29th 05 01:22 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"