Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Return value based on criteria

This formula works very nicely to return the specified occurrence (F91);
however, is there a way to modify it to return a value based on criteria?
Such as, if the value in say G90 is less than 0.2 or greater than 2.0 for the
first occurence then return the second occurrence?

=INDEX(ALTable,SMALL(IF(OFFSET(ALTable,0,0,ROWS(AL Table),1)=F90,
ROW(OFFSET(ALTable,0,0,ROWS(ALTable),1))-ROW(OFFSET(ALTable,0,0,1,1))+1,
ROW(OFFSET(ALTable,ROWS(ALTable)-1,0,1,1))+1),F91),2)

Thanks!
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
Return info based on 1 criteria John Moore Excel Discussion (Misc queries) 5 September 17th 08 01:02 PM
Return a value based on two criteria cdavidson Excel Discussion (Misc queries) 1 April 5th 07 07:35 PM
Return value from list based on criteria [email protected] Excel Worksheet Functions 2 October 3rd 06 10:44 AM
Return number OR sum based on two criteria John in MN Excel Worksheet Functions 2 July 26th 06 02:23 PM
return value based on two criteria blopreste3180 Excel Worksheet Functions 3 January 16th 06 02:15 PM


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