Hi,

The most simple approach is to have another sheet where you perform the
actual match of room and code. You then concatenate the results of the
multiple (or single) matches and display that result on your page. You
would need to know in advance what is the maximum number of room
references your search can return and split the room information into
that many columns using the MID and FIND functions; you then use
VLOOKUP on the individual splits.

I can send you a sample of what I mean if I am not clear.

I hope this helps.

Rémy.
Le mardi 09 octobre 2018 à 15:07 +0100, Budge a écrit :
> I have a simple lookup of a value in a sheet column from a table array 
> which enters a code for the value in the adjacent cell.  This is to 
> provide room booking information from which I can derive and use a 
> related code number.  (All working well now thanks to Brian)
> 
> e.g.- In the sheet row 6 there is an entry "Room 3" and I wish to enter 
> in the adjacent column the room code for Room 3 which I look up from the 
> array and gives me 4613.
> 
> Unfortunately the input data occasionally gives me room information for 
> one booking for several rooms, shown on the received data for example as 
> "Room 1,Room 3"  I would need the codes displayed as 4611,4613
> 
> What is the simplest means of showing the room codes when the two (or 
> more) rooms are shown as one cell entry?
> 
> Grateful for your advice please.
> Budge
> 
> 
> 
> ---
> This email has been checked for viruses by AVG.
> https://www.avg.com
> 
> 
-- 
To unsubscribe e-mail to: [email protected]
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

Reply via email to