Get Particular Cell Range In Google Sheets

Hi,

Input - I want to get the cell range of Hyderabad.

Output - B2

image

Here i was using google sheets using gsuite activities with out lookup range is there any alternative approach…? If So please suggest

Thanks,
Rishi

@Putta_Sri_Sai_Rishik_Chow

HI,

How about using ReadRange, then get addresses from the datatable, as the following?

addresses = dt.AsEnumerable.SelectMany(Function(r,i) r.ItemArray.Select(Function(o,j) Tuple.Create(o.ToString,j)).Where(Function(t) t.item1=searchString).Select(Function(t) UiPath.Excel.Helpers.ExcelUtilities.ConvertColumnIndexToColumnLetter(t.item2+1)+(i+2).ToString)).ToArray

note: addresses is String array type.

Regards,

Str_Location = “hyderabad”

“B”+(DT.Asenumerable.Tolist.FindIndex(Function(r) r(“place”).Tostring.Tolower=Str_Location)+2).Tostring