Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default search without using sort (lookup function)

how can i search for a string in a selected column without using lookup
function:

Here is what I need:

if (a1=sheet1!a1:a100) and (b1=sheet1!b1:b100) then put in the current cell
the value of sheet1!Cxx where xx is the row that the condition was met.


Thank you so much
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default search without using sort (lookup function)

On Thu, 20 Mar 2008 06:47:00 -0700, Sam_sebai
wrote:


if (a1=sheet1!a1:a100) and (b1=sheet1!b1:b100) then put in the current cell
the value of sheet1!Cxx where xx is the row that the condition was met.


What if a1 and b1 are found on different rows? Try this

=IF(MATCH(A1,Sheet1!$A$1:$A$10,FALSE)=MATCH(B1,She et1!$B$1:$B$10,FALSE),INDEX(Sheet1!$C$1:$C$10,MATC H(A1,Sheet1!$A$1:$A$10,FALSE),1),"No
match")
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com
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
need a search/find/lookup function Jenn Excel Worksheet Functions 4 February 6th 10 03:40 AM
LookUp Function with Two Column Search Returning One Column Value insitedge Excel Worksheet Functions 8 March 3rd 08 05:59 AM
If statement with some sort of lookup function foilfencingandy Excel Worksheet Functions 2 February 1st 07 09:15 AM
Lookup function experts.. I need ascending and decending lookups of a series of data.. can you help me sort this out BillReese Excel Worksheet Functions 6 May 3rd 06 04:15 AM
How do I expand Excel lookup function to search more than 16,384 r Rusty Excel Programming 5 March 29th 06 10:30 PM


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