[Solved] Search for a Text entry
[Solved] Search for a Text entry
I was wondering how i could search for a text value such as 'Yes' in a number of cells and it would return the number of text values it finds. Soz i am being stupid
Last edited by willotter on Sun Dec 02, 2007 11:55 pm, edited 1 time in total.
- Hagar Delest
- Moderator
- Posts: 33629
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Search for a Text entry
Try that :
Where range is the range of cells where the test should be done. COUNTIF does support regular expressions (see the OOo help file about those regular expressions). Note that if you've several "Yes" strings in a cell, the count will be one, since it counts the number of cells tested.
Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
Code: Select all
=COUNTIF(range;".*Yes.*")Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Re: Search for a Text entry
Thank you very much