#1   Report Post  
Posted to microsoft.public.excel.misc
sri sri is offline
external usenet poster
 
Posts: 37
Default Find using IF

Hi,

I have all the product names in Column A, i want to search for a particular
value in that list using, IF condition something...
=IF(A1:A10="ProdA","Found","Not Found")

I know, look up formulas will help me, but is it possible to do it using IF
probably as a array ?

--

Thanks
Sri
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Find using IF

So ProdA can appear in any of those cells (any one or all 10?)

=if(countif(a1:a10,"proda")0,"Found","not found")



Sri wrote:

Hi,

I have all the product names in Column A, i want to search for a particular
value in that list using, IF condition something...
=IF(A1:A10="ProdA","Found","Not Found")

I know, look up formulas will help me, but is it possible to do it using IF
probably as a array ?

--

Thanks
Sri


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Find using IF

=IF(ISNUMBER(MATCH("ProdA",A1:A10,0)),"Found","Not Found")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Sri" wrote in message
...
Hi,

I have all the product names in Column A, i want to search for a

particular
value in that list using, IF condition something...
=IF(A1:A10="ProdA","Found","Not Found")

I know, look up formulas will help me, but is it possible to do it using

IF
probably as a array ?

--

Thanks
Sri



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Find using IF

=IF(countif(A1:A10,"=ProdA")0,"Found","Not Found")

--
HTH...

Jim Thomlinson


"Sri" wrote:

Hi,

I have all the product names in Column A, i want to search for a particular
value in that list using, IF condition something...
=IF(A1:A10="ProdA","Found","Not Found")

I know, look up formulas will help me, but is it possible to do it using IF
probably as a array ?

--

Thanks
Sri

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
Find Function Guy Lydig Excel Discussion (Misc queries) 2 May 19th 06 07:19 PM
Find and Replace blakrapter Excel Worksheet Functions 3 December 15th 05 12:25 AM
Code needed to find records from bottom up Andy Excel Discussion (Misc queries) 4 December 5th 05 03:27 AM
find a cells from a range of cell kelvintaycc Excel Worksheet Functions 2 April 2nd 05 07:20 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM


All times are GMT +1. The time now is 07:26 AM.

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"