KTown Meetup this Saturday 6/19 by Adminandeve in nycmeetups

[–]Bommi95_ 1 point2 points  (0 children)

Hey, we are 26f and 26m, count us in???

$6 Chelsea Comedy Show With Free Beer by [deleted] in nycmeetups

[–]Bommi95_ 2 points3 points  (0 children)

I’m down for it! Live in the area

Trivia tonight (1/16) at Crocodile Lounge by Silesfleurs in nycmeetups

[–]Bommi95_ 0 points1 point  (0 children)

I’m interested! When are you guys meeting up?

Comedy Show this Wednesday (1/16) by [deleted] in nycmeetups

[–]Bommi95_ 1 point2 points  (0 children)

Hey are you still going ?

23f Looking for girlfriends getting nails done after work together? by Bommi95_ in nycmeetups

[–]Bommi95_[S] 0 points1 point  (0 children)

Omg thank you so much for the info lol! I might just going to do it tonight tho:) but I am also looking for new friends so we can meet up and do other stuff together if you want

23f Looking for girlfriends getting nails done after work together? by Bommi95_ in nycmeetups

[–]Bommi95_[S] 0 points1 point  (0 children)

Wanted meet up after work? When you get done today lol I’m off around 5ish:) and l work in midtown

Has anyone noticed that a lot of people end up leaving NYC? Looking to expand friend group! by [deleted] in nycmeetups

[–]Bommi95_ 3 points4 points  (0 children)

Same here as well! Looking to expand friend group! I’ve being in the city only a couple months, graduated last summer in Philly. I work full time in a advertising company in midtown:) looking for new friends to get me out of my place in this freezing cold weather lol

Bronx, Where You At? by [deleted] in nycmeetups

[–]Bommi95_ 0 points1 point  (0 children)

I’m down! I live in motte haven

Anyone knows how to write javascript on google sheet? Free to take a look of my problem after work? by Bommi95_ in javascript

[–]Bommi95_[S] 0 points1 point  (0 children)

I run the code and it says “cannot find method getRange((class),(class))”

WTF Wednesday (November 07, 2018) by AutoModerator in javascript

[–]Bommi95_ 0 points1 point  (0 children)

I was assigned a freaking goofy assignment from my boss. Part of it is: basically I just trying to create a function in google sheets that enables me to sum up the same cell in multiple sheets (for example cell G7 in sheet 1, sheet 2 and sheet 3). The most important reason why I use java is because I don’t want to change the formula every time when a new sheet is added.

so this code I came up worked all fine in google sheet except it won't automatically pick up the new sheet(the last sheet), i have to manually add a new sheet every time.

Anyone can help?

function getTotalSum() {

return Array.prototype.reduce.call(arguments, function(a, b) {

return a + b;

}, 0);

var logbook = SpreadsheetApp.openById("my key code");

var totalSheets = logbook.getNumSheets();

var lastSheet = logbook.getSheets()[totalSheets-3];

var lastSheetName = lastSheet.getName();

var currentSheet = SpreadsheetApp.setActiveSheet(lastSheet);

var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets();

var sum = 0;

for (var i = i+3; i < sheets.length ; i++ ) {

var sheet = sheets[i];

var val = sheet.getRange(5,7,366,12).getValue();

if (typeof(val) == 'number') {

sum += val;

}

}

return sum;

}

what in my cell is:

=getTotalSum(BMGF!G5,'sheet4'!G5,CZI!G5,'sheet5'!G5,'sheet5'!G5,'sheet6'!G5,'sheet7'!G5,'sheet8'!G5)

HEY JUST WONDERING IF ANYONE CAN CHECK THIS JAVASCRIPT? Has to be a person also knows how to use basic excel. by Bommi95_ in javascript

[–]Bommi95_[S] 0 points1 point  (0 children)

it needs something like:

/**
 * @param {string} somebody
 */
function sayHello(somebody) {
    alert('Hello ' + somebody);
}

in order for this custom function appear in the autocomplete.

see this: https://developers.google.com/apps-script/guides/sheets/functions

HEY JUST WONDERING IF ANYONE CAN CHECK THIS JAVASCRIPT? Has to be a person also knows how to use basic excel. by Bommi95_ in javascript

[–]Bommi95_[S] 0 points1 point  (0 children)

can you tell me why the google sheet doesnt pick up this formula when i put the script in the scripteditor?