Thread: If statements
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
tdoughty
 
Posts: n/a
Default If statements


I need help with an if statement. I have two seperate columns that I
need to compare. I need to compare each value in one column to all the
values in the other column to see if I have any that match. What should
my formula look like?
For instance I'm comparing column B with column Q and using the
following formula but it is not working.

=if(or(B1=$Q$1:$Q$150),"Yes","")

Any help will be greatly appreciated.


--
tdoughty
------------------------------------------------------------------------
tdoughty's Profile: http://www.excelforum.com/member.php...o&userid=29616
View this thread: http://www.excelforum.com/showthread...hreadid=493180