Reputation: 177
I can search a whole table in google sheets with python using the code below.
cell = sheet.find("searchCriteria")
or
cell = sheet.findall("searchCriteria")
My question is, How do I search a specific column in a table?
Upvotes: 2
Views: 2843
Reputation: 201493
I believe your goal as follows.
For this, how about this modification? In this case, please use in_column
as the argument.
When the value is searched from the column "C", please modify as follows. Ref
cell = sheet.find("searchCriteria", in_column=3)
and
cell = sheet.findall("searchCriteria", in_column=3)
Upvotes: 1