Max Brawer
1 min readAug 23, 2018

--

I do the same thing! The secret would be one of two things: explicitly defining exactly which labels and values you want instead of looping through all, OR just putting an if-statement in the code I gave you. So for example,

for (Key in values) {
var label = Key;
var data = values[Key];
if (label != 'Sensitive Item You Don't Want') {
htmlBody += '<li>' + label + ": " + data + '</li>';
};
};

--

--

Max Brawer
Max Brawer

Written by Max Brawer

People Tech & Analytics leader @ Atlassian, formerly Twitch, BuzzFeed, Google, Nielsen | Try his apps @ sheetswizard.com

No responses yet