# Node Google Sheets | How locate lines that contains (not equal) part of a text

**URL:** <https://community.n8n.io/t/node-google-sheets-how-locate-lines-that-contains-not-equal-part-of-a-text/21968>\
**Category:** Questions\
**Tags:** data-transformation, google-sheets\
**Created:** [January 18, 2023, 4:18am UTC](https://community.n8n.io/t/node-google-sheets-how-locate-lines-that-contains-not-equal-part-of-a-text/21968 "2023-01-18T04:18:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evandro\_Caruso](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/evandro_caruso/32/19851_2.png) [@Evandro\_Caruso](https://community.n8n.io/u/Evandro_Caruso)\
**Post date:** [January 18, 2023, 4:18am UTC](https://community.n8n.io/t/node-google-sheets-how-locate-lines-that-contains-not-equal-part-of-a-text/21968/1 "2023-01-18T04:18:18Z")

</div>

Hi Community

Using Google Sheets, How can Ilocate lines that contains (not equal) part of a text…

For example…

In a list of Full Names, like:

#1 Evandro Luis Caruso  
#2 João da Silva  
#3 Pedro dos Santos Soares  
#4 Enzo Ribeiro Caruso

How can I read, or filter the lines that contains “Caruso”…

Of course, without read all lines…

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [January 24, 2023, 9:11am UTC](https://community.n8n.io/t/node-google-sheets-how-locate-lines-that-contains-not-equal-part-of-a-text/21968/2 "2023-01-24T09:11:30Z")

</div>

Hi @Evandro_Caruso, I don’t think there is an way using the Google Sheets node here that would not require reading all rows and then utilizing an IF node for this task. The Sheets node itself would only allow you to check if a field contains a specific value, not the opposite.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [April 24, 2023, 9:11am UTC](https://community.n8n.io/t/node-google-sheets-how-locate-lines-that-contains-not-equal-part-of-a-text/21968/3 "2023-04-24T09:11:52Z")

</div>

Closed on April 24, 2023, 9:11am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
