# How to create a search engine from text input, based on data from couple columns - google sheets

**URL:** https://community.thunkable.com/t/how-to-create-a-search-engine-from-text-input-based-on-data-from-couple-columns-google-sheets/1781019
**Category:** Questions about Thunkable X
**Tags:** design, beginner, google-sheets
**Created:** [March 13, 2022, 1:15am UTC](https://community.thunkable.com/t/how-to-create-a-search-engine-from-text-input-based-on-data-from-couple-columns-google-sheets/1781019 "2022-03-13T01:15:32Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 13, 2022, 2:31am UTC](https://community.thunkable.com/t/how-to-create-a-search-engine-from-text-input-based-on-data-from-couple-columns-google-sheets/1781019/4 "2022-03-13T02:31:32Z")

</div>

You can use the Does Contain list block to check if a list of values contains a particular item. Or you can use the “find first occurrence of” block to find out which row the search term is in. You really don’t need a loop at all.

You can see an example here:

> [@\[Solved\] How can I identify which map marker was clicked?](https://community.thunkable.com/t/solved-how-can-i-identify-which-map-marker-was-clicked/1775376/2):
>
> Have you verified that the “latitude” and “longitude” values of the green event block exactly match values in your Airtable column? Have you assigned labels to each of the four values (two lat/lon pairs) you’re testing to make sure you’re seeing what you expect them to be? Your blocks look really convoluted to me. Why not just use “find first occurrence of” block in the List drawer to see if the “list of values” from Airtable contains the lat/lon value you are getting from the event block? If t…

Also see the Analyze List section of the documentation:

> **[Lists Blocks | Thunkable Docs](https://docs.thunkable.com/lists)**

---

_[View the full topic](https://community.thunkable.com/t/how-to-create-a-search-engine-from-text-input-based-on-data-from-couple-columns-google-sheets/1781019)._
