#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve
 
Posts: n/a
Default Lookup Function

Hi,



I would really appreciate some help with the following:



I need to build a formula that searches a row in an excel table

for the first instance of the word "Yes". When the first "Yes" is

found the formula needs to retrieve a date value from the same

column but six rows above from where the "Yes" value was found.



Any help or suggestions on the above would be most appreciated.



Thanks,



Steve


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Lookup Function

Hi Steve

Try
=INDEX(A3:N3,MATCH("yes",A9:N9,0)) change ranges to suit
or if you really do mean the whole row then
=INDEX(3:3,MATCH("yes",9:9,0))

--
Regards

Roger Govier


"Steve" wrote in message
news:bYGAf.420116$ki.320725@pd7tw2no...
Hi,



I would really appreciate some help with the following:



I need to build a formula that searches a row in an excel table

for the first instance of the word "Yes". When the first "Yes" is

found the formula needs to retrieve a date value from the same

column but six rows above from where the "Yes" value was found.



Any help or suggestions on the above would be most appreciated.



Thanks,



Steve




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Lookup Function

Might want some error handling

=IF(ISNUMBER(MATCH("yes",A9:N9,0)),INDEX(A3:N3,MAT CH("yes",A9:N9,0)),"Not
found")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Roger Govier" wrote in message
...
Hi Steve

Try
=INDEX(A3:N3,MATCH("yes",A9:N9,0)) change ranges to suit
or if you really do mean the whole row then
=INDEX(3:3,MATCH("yes",9:9,0))

--
Regards

Roger Govier


"Steve" wrote in message
news:bYGAf.420116$ki.320725@pd7tw2no...
Hi,



I would really appreciate some help with the following:



I need to build a formula that searches a row in an excel table

for the first instance of the word "Yes". When the first "Yes" is

found the formula needs to retrieve a date value from the same

column but six rows above from where the "Yes" value was found.



Any help or suggestions on the above would be most appreciated.



Thanks,



Steve






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 help marlea Excel Discussion (Misc queries) 2 August 23rd 05 07:30 PM
Lookup Function Problems FFW Excel Worksheet Functions 2 August 21st 05 04:22 PM
Complicated lookup function chrisrowe_cr Excel Worksheet Functions 4 July 19th 05 05:52 PM
lookup function 1 Colboyfx Excel Worksheet Functions 4 July 15th 05 09:15 AM
How do I use 3 cells to create the string for a lookup function? Bencomo Excel Worksheet Functions 1 May 15th 05 07:17 AM


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