Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP + IF ?
Does anyone know how to use Vlookup and If function together?
So if A contains a certain word, it will pull out the category from another category table (C=categorize, D= the word) If A contains word "CPC", then I would like to have it categorized as "Shipping" next to the word "CPC". CPC l Shipping Pen l Office supplies Seems pretty basic but can't figure out how. Thanks in advance! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VLOOKUP + IF ?
Hi Amy,
Am Wed, 18 Nov 2020 11:26:29 -0800 (PST) schrieb Amy H: So if A contains a certain word, it will pull out the category from another category table (C=categorize, D= the word) If A contains word "CPC", then I would like to have it categorized as "Shipping" next to the word "CPC". CPC l Shipping Pen l Office supplies try: =INDEX(Sheet2!C:C,MATCH(A2,Sheet2!$D$1:$D$100,0)) In the newer version you also could use: =XLOOKUP(A2,Sheet2!$D$1:$D$100,Sheet2!$C$1:$C$100, "",0) Regards Claus B. -- Windows10 Office 2016 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
Vlookup problem - unable to get the vlookup property | Excel Programming | |||
using a vlookup to enter text into rows beneath the vlookup cell | Excel Programming | |||
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? | Excel Programming | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel |