Relative Content

Tag Archive for google-sheetsgoogle-apps-script

Sorting by Custom Array

I’m trying to sort a Google Sheet (sample) by where one column’s data (‘Leads and Onboarding’!D7:D’, the column heading “STATUS”) falls within a custom array (“lead_status_sort!B5:B”). In this case, I want Partnerships first, then Onboardings, then Connectings, then Leads, then Abandoneds.

Sorting by Custom Array

I’m trying to sort a Google Sheet (sample) by where one column’s data (‘Leads and Onboarding’!D7:D’, the column heading “STATUS”) falls within a custom array (“lead_status_sort!B5:B”). In this case, I want Partnerships first, then Onboardings, then Connectings, then Leads, then Abandoneds.

trying to detect current row in google sheets and then wrap around back to the second row if it exceeds row X, but can’t get it to work

I’m trying to use google sheets as an IOT datalogger, based on an article in IOTDesignPro
What I’d like to do is have the row reference to wrap around to the second row at the end of x writes. For example, after logging the 6th row, I’d like to have the next row of data to be recorded back at row 2 (creating a circular buffer of sorts).
I’ve tried this, and multiple variation on this, but can get it to work for me.

trying to detect current row in google sheets and then wrap around back to the second row if it exceeds row X, but can’t get it to work

I’m trying to use google sheets as an IOT datalogger, based on an article in IOTDesignPro
What I’d like to do is have the row reference to wrap around to the second row at the end of x writes. For example, after logging the 6th row, I’d like to have the next row of data to be recorded back at row 2 (creating a circular buffer of sorts).
I’ve tried this, and multiple variation on this, but can get it to work for me.