LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Search Range for item in seperate range

=IF(SUM(--(A1:C1=TRANSPOSE(L1:O1)))0,"found one","nope")

the -- converts true/false to 1/0.

If you select (in the formula bar) A1:C1=TRANSPOSE(L1:O1)
and hit the F9 button, you'll see how the helps do each comparison.



" wrote:

Thanks, this seems to work, however I can't say I understand the
formula. I haven't seem the -- before, what does that do? So it looks
like transpose is creating an array, how is checking the array
different than simply checking a range such as L1:O1?

-Andrew


--

Dave Peterson
 
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
array range in seperate sheets cass calculator Excel Worksheet Functions 2 May 31st 07 07:33 PM
Search range for text not in another range simon howard Excel Discussion (Misc queries) 3 March 28th 07 08:44 PM
How to search a range for a suburb in a large range Bogan.. Excel Programming 2 June 22nd 05 01:20 PM
copy range from each worksheet to seperate workbook Kieran1028[_10_] Excel Programming 0 November 11th 04 04:00 AM
copy range from each worksheet to seperate workbook Kieran1028[_9_] Excel Programming 0 November 11th 04 02:58 AM


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