A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

searching columns for the same value



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2008, 08:54 PM posted to microsoft.public.excel.setup
Diggs
external usenet poster
 
Posts: 3
Default searching columns for the same value

I have a cloumn of values and I want to search another column of values and
have a "yes" or "no" yeild if the value in column A is found in column B. If
there a formula that can help me with this?
Thanks

  #2  
Old March 30th, 2008, 01:22 PM posted to microsoft.public.excel.setup
Gary''s Student
external usenet poster
 
Posts: 7,584
Default searching columns for the same value

Use COUNTIF()

Let's say we want to know if the value in A7 is found anywhere in column B.
In an un-used cell (in a column other than A or B) enter:

=IF(COUNTIF(B:B,A7)0,"YES","NO")
--
Gary''s Student - gsnu200776


"Diggs" wrote:

I have a cloumn of values and I want to search another column of values and
have a "yes" or "no" yeild if the value in column A is found in column B. If
there a formula that can help me with this?
Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.