Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Marc Paré wrote:
Is there an equivalent Calc function for the Google Sheets function
"QUERY"? When I downloaded my spreadsheet from Google Sheets as a Calc
file, the "QUERY" function was not translated into an equivalent Calc
function.

What does that function to do? From a quick search:
  https://www.google.co.uk/search?q=google+sheets+query+function
it appears to provide a means of querying data in a range of cells using "Google Visualization API Query Language", which seems to be a Google-specific SQL-like query language:
  https://support.google.com/docs/answer/3093343?hl=en

I'm not aware of anything like that in Calc, but maybe others here know better. I suspect you're out of luck though, given that it seems to use a Google-specific query language.

My original Google Sheets function is:"=QUERY('NBBP Address Book'!B2:B52)"

In any case, from the above references it appears there should be a second parameter containing the query string. Even if an equivalent is available, any conversion is bound to be unreliable at best if the syntax is incorrect (even if it does seem to work in the original format). May be worth trying to correct the formula, and see if a conversion is possible then, though I suspect you'll still be out of luck.

You're best bet is probably to try to find another way to achieve the required result, without using Google-specific function.

Thanks for any help or suggestion.

Marc


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.