I'm having some trouble using the SPARKLINE function on Google Spreasheets. If I use the "default" formula, like =SPARKLINE(C9:N9)
, it works nicelly. But, everytime I try to add some extra options, like using columns instead of lines, for example =SPARKLINE(C11:N11;{"charttype", "bar"})
, I get a "Error, Formula parse error." message.
Has anyone here had the same problem? Any idea of how can I fix it?
Thanks!
SPARKLINE syntax with options=SPARKLINE(data-range,{option1,option1-value;option2,option2-value,...}) data-range – the data range you want to create the sparkline for. The data range must include more than two cells in a column or row. option – the customization setting for the sparkline chart.
Google Sheets Error. This error occurs when one or more parameters in your formula are of a different type than what is expected. So if a function only accepts numbers as a parameter, but you have a text value in the cell being referenced, then you will end up with a #VALUE! error.
From https://productforums.google.com/forum/#!topic/docs/QzVhyW5bi-A
When you address the option like an object, then you should use a backslash:
=SPARKLINE(C11:N11;{"charttype"\"bar"}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With