#1   Report Post  
kiran
 
Posts: n/a
Default Excel vlookup

Hi All,

I have a values as follows
B C D
f1cagprp.p #N/A yfrcpent.p
f1caiq.p yfrcptmt.p yfrcptmt.p
f1camt.p yfrtvmt.p yfrtvmt.p
f1cancmt.p yfstmmrp.p yfstmmrp.p
f1capmta.i yfstnen.p yfstnen.p
f1captrp.p z xageanl.p zxageanl.p
f1catgiq.p zxconwip.p zxconwip.p
f1catgmt.p zxrejrep.p zxrejrep.p
f1cdlprp.i zxvndanl.p zxvndanl.p
f1cdlprp.p #N/A
f1chklst.p #N/A
f1cholot.p #N/A
f1cimdes.p #N/A
f1cimilt.p #N/A
f1cpcomt.p #N/A
i have applied =VLOOKUP(D1,B1:B569,1,FALSE)
I want my out put to be if value in B column exists in D column i should get
1 or 0 can any one help me out....


TIA
  #2   Report Post  
Kassie
 
Posts: n/a
Default

Try either of the following
=IF(ISNA(C2),0,IF(C2=D2,1,0)) or else =IF(ISNA(C2),"",IF(C2=D2,1,0)) in cell
E2. Now copy down as far as you want to go

HTH

"kiran" wrote:

Hi All,

I have a values as follows
B C D
f1cagprp.p #N/A yfrcpent.p
f1caiq.p yfrcptmt.p yfrcptmt.p
f1camt.p yfrtvmt.p yfrtvmt.p
f1cancmt.p yfstmmrp.p yfstmmrp.p
f1capmta.i yfstnen.p yfstnen.p
f1captrp.p z xageanl.p zxageanl.p
f1catgiq.p zxconwip.p zxconwip.p
f1catgmt.p zxrejrep.p zxrejrep.p
f1cdlprp.i zxvndanl.p zxvndanl.p
f1cdlprp.p #N/A
f1chklst.p #N/A
f1cholot.p #N/A
f1cimdes.p #N/A
f1cimilt.p #N/A
f1cpcomt.p #N/A
i have applied =VLOOKUP(D1,B1:B569,1,FALSE)
I want my out put to be if value in B column exists in D column i should get
1 or 0 can any one help me out....


TIA

  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default

In E1 (say) you want 1 if D1's value is found in B1:B569, otherwise 0
Use =MIN(1,COUNTIF($B$1:$B$569,D1))
Copy down to E2, E3, etc
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"kiran" wrote in message
...
Hi All,

I have a values as follows
B C D
f1cagprp.p #N/A yfrcpent.p
f1caiq.p yfrcptmt.p yfrcptmt.p
f1camt.p yfrtvmt.p yfrtvmt.p
f1cancmt.p yfstmmrp.p yfstmmrp.p
f1capmta.i yfstnen.p yfstnen.p
f1captrp.p z xageanl.p zxageanl.p
f1catgiq.p zxconwip.p zxconwip.p
f1catgmt.p zxrejrep.p zxrejrep.p
f1cdlprp.i zxvndanl.p zxvndanl.p
f1cdlprp.p #N/A
f1chklst.p #N/A
f1cholot.p #N/A
f1cimdes.p #N/A
f1cimilt.p #N/A
f1cpcomt.p #N/A
i have applied =VLOOKUP(D1,B1:B569,1,FALSE)
I want my out put to be if value in B column exists in D column i should
get
1 or 0 can any one help me out....


TIA



  #4   Report Post  
Kassie
 
Posts: n/a
Default

I think you have better powers of perception than me!

"Bernard Liengme" wrote:

In E1 (say) you want 1 if D1's value is found in B1:B569, otherwise 0
Use =MIN(1,COUNTIF($B$1:$B$569,D1))
Copy down to E2, E3, etc
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"kiran" wrote in message
...
Hi All,

I have a values as follows
B C D
f1cagprp.p #N/A yfrcpent.p
f1caiq.p yfrcptmt.p yfrcptmt.p
f1camt.p yfrtvmt.p yfrtvmt.p
f1cancmt.p yfstmmrp.p yfstmmrp.p
f1capmta.i yfstnen.p yfstnen.p
f1captrp.p z xageanl.p zxageanl.p
f1catgiq.p zxconwip.p zxconwip.p
f1catgmt.p zxrejrep.p zxrejrep.p
f1cdlprp.i zxvndanl.p zxvndanl.p
f1cdlprp.p #N/A
f1chklst.p #N/A
f1cholot.p #N/A
f1cimdes.p #N/A
f1cimilt.p #N/A
f1cpcomt.p #N/A
i have applied =VLOOKUP(D1,B1:B569,1,FALSE)
I want my out put to be if value in B column exists in D column i should
get
1 or 0 can any one help me out....


TIA




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
I get a program error when I download an excel template Ladybug Excel Discussion (Misc queries) 3 March 4th 05 12:02 AM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
VLOOKUP function in Excel 97 M. Weber Excel Worksheet Functions 1 January 10th 05 07:46 PM
Vlookup and Indexing in excel CLSCHWIES Excel Worksheet Functions 2 December 4th 04 01:57 AM


All times are GMT +1. The time now is 02:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"