Help Please with VLOOKUP

classic Classic list List threaded Threaded
3 messages Options
Budge Budge
Reply | Threaded
Open this post in threaded view
|

Help Please with VLOOKUP

Ashamed to ask but cannot get VLOOKUP to work.

I am trying to look up the value in column A in sheet 1 in sheet 2
column 1 and insert the value found in column 10 in sheet 1.  Neither
sheets are sorted.

=VLOOKUP(A2,'Bookings_Between_Apr_to Jun_2018_data'.$A2:$L64,10,0)

As I understand things 'Bookings_Between_Apr_to Jun_2018_data'.$A2:$L64
is supposed to define the array in which to search and I thought the $
signs fixed the range but no, when I copy the formula down the page the
array changes.

Where am I going wrong please?
Budge



---
This email has been checked for viruses by AVG.
https://www.avg.com


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Budge Budge
Reply | Threaded
Open this post in threaded view
|

Re: Help Please with VLOOKUP

On 01/08/2018 12:37, Budge wrote:

> Ashamed to ask but cannot get VLOOKUP to work.
>
> I am trying to look up the value in column A in sheet 1 in sheet 2
> column 1 and insert the value found in column 10 in sheet 1.  Neither
> sheets are sorted.
>
> =VLOOKUP(A2,'Bookings_Between_Apr_to Jun_2018_data'.$A2:$L64,10,0)
>
> As I understand things 'Bookings_Between_Apr_to Jun_2018_data'.$A2:$L64
> is supposed to define the array in which to search and I thought the $
> signs fixed the range but no, when I copy the formula down the page the
> array changes.
>
> Where am I going wrong please?
> Budge
>

I think I have it.  Should have been:-

=VLOOKUP(A2,'Bookings_Between_Apr_to Jun_2018_data'.$A$2:$L$64,10,0)

Please forgive false alarm
Budge.

---
This email has been checked for viruses by AVG.
https://www.avg.com


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
John R. Sowden John R. Sowden
Reply | Threaded
Open this post in threaded view
|

Re: Help Please with VLOOKUP

Hope this helps:

I have a general Ledger spreadsheet.  1 of the pages is a chart of accounts:

COL A                                       COL B

1234 (Account Number)         Rent (Account Name)

Another page is cash account data entry:

Account _____ Data entry (must match the entry in the chart page)

ACCT NAME (formula below)

=if(M39="","",VLOOKUP(M39,$CHART.$A$9:$B114,2))

the if function checks to see if there is an entry in the acct number
cell.  if not, the acct name stays blank

the lookup checks the data entry cell, then looks on the CHART page from
A1 to B114 (both columns)

I have 114 GL accounts.

John



On 08/01/2018 04:45 AM, Budge wrote:

> On 01/08/2018 12:37, Budge wrote:
>> Ashamed to ask but cannot get VLOOKUP to work.
>>
>> I am trying to look up the value in column A in sheet 1 in sheet 2
>> column 1 and insert the value found in column 10 in sheet 1. Neither
>> sheets are sorted.
>>
>> =VLOOKUP(A2,'Bookings_Between_Apr_to Jun_2018_data'.$A2:$L64,10,0)
>>
>> As I understand things 'Bookings_Between_Apr_to
>> Jun_2018_data'.$A2:$L64 is supposed to define the array in which to
>> search and I thought the $ signs fixed the range but no, when I copy
>> the formula down the page the array changes.
>>
>> Where am I going wrong please?
>> Budge
>>
>
> I think I have it.  Should have been:-
>
> =VLOOKUP(A2,'Bookings_Between_Apr_to Jun_2018_data'.$A$2:$L$64,10,0)
>
> Please forgive false alarm
> Budge.
>
> ---
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
>


--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy