How can i search a google spreadsheet using new api v4.
In the api docs i found find/replace, but it can't find cells, it only replaces cells. So is there any method to find a value in a google spreadsheet other than brute-force method of fetching all data and searching in it?
This is a little bit of a kludge, but I create a cell using the API with this formula to search a specified column in a sheet:
=ADDRESS(MATCH("SEARCHSTRING",A1:A999),2)
This does mean I have to make three different calls (write, read, and clear) and it only works on a single column or row, but I find it useful for large spreadsheets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With