Vlookup formula to return specific text if cell contains match to list

Apples52

New Member
Joined
Sep 25, 2023
Messages
22
Office Version
  1. 365
Platform
  1. Windows
I have a list of assets in column A and a revised list of those assets in column B. In column C I want excel to return the text "Asset" if a value in column A matches a value in column B. If there's no match, leave the cell blank in column C.

I've been trying to do this with a vlookup, but can't get it to work. What formula can I use to accomplish this?

asset formula.png
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
in C2 put this formula and copy down:
Excel Formula:
=IF(ISNUMBER(MATCH(A2,$B$2:$B$12,0)),"Asset","")

Book1
ABC
1AssetListValue
22022 F1502022 F150Asset
32022 F150 RT2020 GMC Boxvan 
42024 Ram 1500 
52020 GMC BoxvanAsset
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=IF(ISNUMBER(MATCH(A2,$B$2:$B$12,0)),"Asset","")
 
Upvote 0
in C2 put this formula and copy down:
Excel Formula:
=IF(ISNUMBER(MATCH(A2,$B$2:$B$12,0)),"Asset","")

Book1
ABC
1AssetListValue
22022 F1502022 F150Asset
32022 F150 RT2020 GMC Boxvan 
42024 Ram 1500 
52020 GMC BoxvanAsset
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=IF(ISNUMBER(MATCH(A2,$B$2:$B$12,0)),"Asset","")

Worked perfectly, thank you!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top