Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default lookup assistance

my apologies if a similar question is already here, but i could find it that
quickly.

i need to lookup a value in the following situation
a b c d e f
1 45 6 78 6 0%
5 6 7 77 7 1%
5 7 4 7 8 2%
etc.

the function needs to determine the column by comparing it to a value in the
table where the result should go. next, in this column it should look for
another value (set elsewhere). from this row the function than needs to
return a percentage (always the last column in the array)

any hints? i used several combinations of (v)lookup and/or index and match,
but i can't get it to work
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default lookup assistance

Suppose you have the 2 lookup param values like these

In H1: 4 (assume this number 4 is the col# to lookup, ie col D)
In I1: 77 (assume this is the lookup value within the col indicated by H1)

Then in J1, you could place:
=INDEX(F:F,MATCH(I1,OFFSET(A:A,,H1-1),0))
and format J1 as percentage. J1 will return the result that you seek.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"theredspecial" wrote:
my apologies if a similar question is already here, but i could find it that
quickly.

i need to lookup a value in the following situation
a b c d e f
1 45 6 78 6 0%
5 6 7 77 7 1%
5 7 4 7 8 2%
etc.

the function needs to determine the column by comparing it to a value in the
table where the result should go. next, in this column it should look for
another value (set elsewhere). from this row the function than needs to
return a percentage (always the last column in the array)

any hints? i used several combinations of (v)lookup and/or index and match,
but i can't get it to work

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 function assistance erajim Excel Worksheet Functions 2 December 23rd 06 05:39 AM
=IF(AND) ASSISTANCE VAN GOGH Excel Worksheet Functions 3 June 21st 06 04:18 AM
Lookup Assistance Tiffany Excel Worksheet Functions 7 February 28th 06 09:19 PM
Assistance please? http:// Excel Worksheet Functions 7 July 6th 05 08:16 PM
I Need VBA Assistance for EOF Brent E Excel Discussion (Misc queries) 4 February 26th 05 06:00 PM


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