I have been using VLOOKUP recently and notice that if I insert a column
in the lookup range that the insertion is not reflected in VLOOKUP
parameters. Should it in the same way that SUM does.
i.e. just by example I have a range A1:B25 and use
=VLOOKUP(A30,A1:B25,2,0) to return the price (in B) for an item (in A).
I suddenly realise I need to include a column for the currency of B so I
insert a colum before B and I need to manually alter all my formulae to
=VLOOKUP(A30,A1:C25,3,0). I can insert extra rows and the range extends
in the formula, just not extra columns.
Solved this with =VLOOKUP(A21,$A$1:$B$25,COLUMN($B$1),0) or more flexibly
View this message in context:
Sent from the Users mailing list archive at Nabble.com.
To unsubscribe e-mail to: firstname.lastname@example.org
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
Impressum (Legal Info)
: 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