Charlie1957
New Member
- Joined
- Nov 12, 2016
- Messages
- 8
Good afternoon:
I think I can’t use a vlookup since that only returns the first value, right? For many of the Purchase order in the 2nd file – there are multiple commodities. I did some research – would an array formula work maybe?
<o
> </o
>
My goal is to add a commodity description to the 2nd file below for each commodity in a purchase order.
<o
> </o
>
So anytime the PO # matches between the 2 files I want all the cmdty descriptions in the first file to be copied to the cmdty description column in the 2nd file. If I do a vlookup, I will get only the first value which is no good if there are multiple commodities per purchase order.
1st file:
PO # Cmdty Desc
100 ABC
101 DEF
101 FFF
101 GGG
102 XXX
2nd File
PO# Cmdty Descr.
100 wil have 1 descr. copied
101 will have 3 descr, copied for 1st file
102 will have 1 descr, copied.
Thanks so much!
I think I can’t use a vlookup since that only returns the first value, right? For many of the Purchase order in the 2nd file – there are multiple commodities. I did some research – would an array formula work maybe?
<o
My goal is to add a commodity description to the 2nd file below for each commodity in a purchase order.
<o
So anytime the PO # matches between the 2 files I want all the cmdty descriptions in the first file to be copied to the cmdty description column in the 2nd file. If I do a vlookup, I will get only the first value which is no good if there are multiple commodities per purchase order.
1st file:
PO # Cmdty Desc
100 ABC
101 DEF
101 FFF
101 GGG
102 XXX
2nd File
PO# Cmdty Descr.
100 wil have 1 descr. copied
101 will have 3 descr, copied for 1st file
102 will have 1 descr, copied.
Thanks so much!