Home

Lookup function HELP

%3CLINGO-SUB%20id%3D%22lingo-sub-736882%22%20slang%3D%22en-US%22%3ELookup%20function%20HELP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-736882%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20merge%20a%20couple%20of%20data%20sources%20that%20have%20differing%20text%20descriptions%20for%20the%20same%20item.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20set%20has%20items%20identified%20by%20a%20UPC%20number%20only%3C%2FP%3E%3CP%3EUPC%3CBR%20%2F%3E0085365000415%3CBR%20%2F%3E0085365000417%3CBR%20%2F%3E0085365000416%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20set%20has%20the%20UPC%20included%20in%20the%20same%20cell%20with%20the%20product%20description%3C%2FP%3E%3CP%3E11.5%20FO%20PROTEIN%20DRNK%20CHOC%20TRFFL%20(853650004153)%3CBR%20%2F%3E11.5%20FO%20PROTEIN%20DRNK%20VAN%20BEAN%20(853650004177)%3CBR%20%2F%3E11.5%20FO%20PROTEIN%20DRNK%20CAFE%20AU%20LAIT%20(853650004160)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20function%20I%20can%20use%20to%20bring%20the%20Description%20and%20UPC%20information%20back%20to%20the%20row%20with%20just%20the%20UPC%20information%3F%20%26nbsp%3B%20I%20could%20not%20see%20that%20VLOOKUP%20would%20allow%20me%20to%20check%20and%20see%20if%20a%20range%20%22contains%22%20a%20number.....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETHANKS%20!%3C%2FP%3E%3CP%3EDoug%20K%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-736882%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-737033%22%20slang%3D%22en-US%22%3ERe%3A%20Lookup%20function%20HELP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-737033%22%20slang%3D%22en-US%22%3EIf%20the%20set%20with%20UPC%20and%20description%20is%20in%20Column%20B%2C%20starting%20with%20B2%2C%20you%20may%20use%20this%20formula%20in%20C2%20to%20extract%20the%20UPC%3A%3CBR%20%2F%3E%3DSUBSTITUTE(RIGHT(B2%2C%3CBR%20%2F%3ELEN(B2)-FIND(%E2%80%9C(%E2%80%9C%2CB2))%2C%3CBR%20%2F%3E%E2%80%9C)%E2%80%9D%2C%E2%80%9D%E2%80%9D)%3C%2FLINGO-BODY%3E
DKistler
Occasional Visitor

I am trying to merge a couple of data sources that have differing text descriptions for the same item.

 

One set has items identified by a UPC number only

UPC
0085365000415
0085365000417
0085365000416

 

The other set has the UPC included in the same cell with the product description

11.5 FO PROTEIN DRNK CHOC TRFFL (853650004153)
11.5 FO PROTEIN DRNK VAN BEAN (853650004177)
11.5 FO PROTEIN DRNK CAFE AU LAIT (853650004160)

 

Is there a function I can use to bring the Description and UPC information back to the row with just the UPC information?   I could not see that VLOOKUP would allow me to check and see if a range "contains" a number.....

 

THANKS !

Doug K

1 Reply
Highlighted
If the set with UPC and description is in Column B, starting with B2, you may use this formula in C2 to extract the UPC:
=SUBSTITUTE(RIGHT(B2,
LEN(B2)-FIND(“(“,B2)),
“)”,””)
Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
202 Replies