How to vlookup 2 ws & get 1 output

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,215
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
I am doing vlookup in 2 different workbooks. If Lookup_value of both the ws MATCHES EXACTLY, I want Y5 (DATA AVAILABLE) else Z5 (DATA NOT AVAILABLE).
Ex;
Workbook1:
A4=kkk-888&$
Workbook2:
C4=kkk-888&$

So in workbook2, in cell D4=DATA AVAILABLE.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I am doing vlookup in 2 different workbooks. If Lookup_value of both the ws MATCHES EXACTLY, I want Y5 (DATA AVAILABLE) else Z5 (DATA NOT AVAILABLE).
Ex;
Workbook1:
A4=kkk-888&$
Workbook2:
C4=kkk-888&$

So in workbook2, in cell D4=DATA AVAILABLE.

D4, something like...

="DATA"&IF(ISNUMBER(MATCH(C4,[Book1.xlsx]Sheet1!A:A,0)),"","NOT")&" AVAILABLE"
 
Upvote 0
IT WORKS. Can I do like: I punch DATA AVAILABLE in X1 & DATA NOT AVAILABLE in Y1 & get X1 or Y1 as the case is?
Moreover, than I want to count Nos of occurences of DATA AVAILABLE & DATA NOT AVAILABLE also. Please help.
 
Upvote 0
IT WORKS. Can I do like: I punch DATA AVAILABLE in X1 & DATA NOT AVAILABLE in Y1 & get X1 or Y1 as the case is?
Moreover, than I want to count Nos of occurences of DATA AVAILABLE & DATA NOT AVAILABLE also. Please help.

D4, copy down...

=IF(ISNUMBER(MATCH(C4,[Book1.xlsx]Sheet1!A:A,0)),$X$1,$Y$1)

X2, copy to Y2...

=COUNTIF($D:$D,X$1)
 
Upvote 0

Forum statistics

Threads
1,216,372
Messages
6,130,223
Members
449,567
Latest member
ashsweety

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