IF and Vlook Up Formula

kumar1803

Board Regular
Joined
Jan 7, 2015
Messages
110
Hello,

I need help with "vlookup" and "If" formula together under "Deal Type ID" below. I need to assign a value to " Wholesale" if there is "D" in "deal type" column "A" and the vlookup Lender Name to look up either " Outside Finance" or "Cash"

First Sheet:


Deal Type
Lender Name Deal Type ID
FNet Direct Auto Sales
DNet Direct Auto Sales
FWELLS FARGO DEALER SERVICES
CWELLS FARGO DEALER SERVICES
FWELLS FARGO DEALER SERVICES

<colgroup><col><col><col></colgroup><tbody>
</tbody>



Second worksheet:

Lender Name
Deal Type
A+ FEDERAL CREDIT UNIONOutside Finance
AAFES FEDERAL CREDIT UNIONOutside Finance
ABILENE TEACHERS FCUOutside Finance

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Okay.. use below formula in first sheet, in cell c2 and drag down:-


=IF(A2="D",IFERROR(VLOOKUP($B2,Sheet2!$A:$B,2,0),"Lender not found"),"Deal type not D")


Regards,
DILIPandey
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,840
Members
449,411
Latest member
adunn_23

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