Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
tj tj is offline
external usenet poster
 
Posts: 71
Default Array Lookup

I have an array with 8 colums and 7 rows. Each column and each row contains
a range of values (for example, a column heading is "70% and <= 75%", and a
row heading is "=680 and <700") and I need to use the data in the cell in
another formula. How do I write the array formula to look up the data that I
need for the other formula? The value for which column to use is a result of
a Loan-To-Value calculation in another cell in the worksheet, and the row
would be from a customer's credit score that would be entered in another cell
in the worksheet. The cells of the array would contain a value that would be
used to calculate a borrower's closing costs.

Thanks for any assistance!
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 913
Default Array Lookup

On Mon, 5 May 2008 12:17:01 -0700, tj
wrote:

I have an array with 8 colums and 7 rows. Each column and each row contains
a range of values (for example, a column heading is "70% and <= 75%", and a
row heading is "=680 and <700") and I need to use the data in the cell in
another formula. How do I write the array formula to look up the data that I
need for the other formula? The value for which column to use is a result of
a Loan-To-Value calculation in another cell in the worksheet, and the row
would be from a customer's credit score that would be entered in another cell
in the worksheet. The cells of the array would contain a value that would be
used to calculate a borrower's closing costs.

Thanks for any assistance!


Assuming that your array is in B2:I8, the column headers in B1:I1 and
the row headers in A2:A8 and that your columns and rows represent
larger values to further to the right and further down respectively
you can try the following.

Replace each column header with its lower limit only.
Example: Replace the "70% and <=75%" with just 70%.

Do the same with the rows headers.

Note: you can always add a new row for the column headers above
and a new column for the row headers to the left where you can put any
text you want. And the adjusted row and column can be hidden if not
wanted to be visible.

The formula to lookup the value is now as follows:

=OFFSET(A1, MATCH(K1, A2:A8), MATCH(L1, B1:I1))

where K1 and L1 are the cells where you have the
customer's credit score and Loan-to-value calculation results
respectively.

Hope this helps / Lars-Åke

  #3   Report Post  
Posted to microsoft.public.excel.newusers
tj tj is offline
external usenet poster
 
Posts: 71
Default Array Lookup

Lars-Ã…ke thank you very much; it works perfectly!

"Lars-Ã…ke Aspelin" wrote:

On Mon, 5 May 2008 12:17:01 -0700, tj
wrote:

I have an array with 8 colums and 7 rows. Each column and each row contains
a range of values (for example, a column heading is "70% and <= 75%", and a
row heading is "=680 and <700") and I need to use the data in the cell in
another formula. How do I write the array formula to look up the data that I
need for the other formula? The value for which column to use is a result of
a Loan-To-Value calculation in another cell in the worksheet, and the row
would be from a customer's credit score that would be entered in another cell
in the worksheet. The cells of the array would contain a value that would be
used to calculate a borrower's closing costs.

Thanks for any assistance!


Assuming that your array is in B2:I8, the column headers in B1:I1 and
the row headers in A2:A8 and that your columns and rows represent
larger values to further to the right and further down respectively
you can try the following.

Replace each column header with its lower limit only.
Example: Replace the "70% and <=75%" with just 70%.

Do the same with the rows headers.

Note: you can always add a new row for the column headers above
and a new column for the row headers to the left where you can put any
text you want. And the adjusted row and column can be hidden if not
wanted to be visible.

The formula to lookup the value is now as follows:

=OFFSET(A1, MATCH(K1, A2:A8), MATCH(L1, B1:I1))

where K1 and L1 are the cells where you have the
customer's credit score and Loan-to-value calculation results
respectively.

Hope this helps / Lars-Ã…ke


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
lookup array HFC-SC New Users to Excel 3 August 14th 06 09:24 PM
Lookup an array Chris_t_2k5 Excel Discussion (Misc queries) 2 March 2nd 06 01:39 PM
Lookup "greater than or equal to" in lookup array icemouse New Users to Excel 3 February 16th 06 10:07 PM
How do I use <= in a lookup array? Gdog34 Excel Discussion (Misc queries) 0 June 29th 05 09:42 AM
lookup array BEEJAY Excel Worksheet Functions 2 January 26th 05 09:03 PM


All times are GMT +1. The time now is 05:12 AM.

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"