Which rows contain certain text?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a formula that will tell me if the text in A1 is found anywhere else
in Row A? Ideally, I want to enter text in A3, search each row for that
text, put YES in column A, then sort my data to move all the YES rows to the
top. I'm hoping for some method beside looping through each cell in each row.

THIA
JamesS
 
Hi James,

Look at the CountIf worksheet function.

To count the number of occurrences of the text in A3 which exist in row 1,
try:

=COUNTIF(1:1,A3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top