how do you count the number of lines of an arrey (which I created with this code)?
var perstaz = fEmissioneRicevuta.getRange (16,2,11,2) .getValues ();
and how is it assigned to a variable (I tried that)?
var x = perstaz.lastIndexOf
Yesss!
Length selects all lines. If I want to capture only the lines that contain a value, do I have to do a 'for' loop or is there a suitable command?
To populate the ary this code is sufficient:
var performance = fEmissioneRicevuta.getRange (16,2,11,5) .getValues ();
I couldn't see the second value because I was counting the adjacent cells (2) but in reality the first cell was joined with three other cells, so in reality the ary is made up of 5 columns.
Fixed with a lot of sweat on the brow. But I'm happy because I'm learning and knowing that I can count on this forum that helps me to walk in the right direction makes everything more stimulating