ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   search and write. (https://www.excelbanter.com/excel-programming/348089-search-write.html)

myguess21[_4_]

search and write.
 

I have situation where I have to find the name in column B from colum
J. Column B has about 2000 users name and in column J only have abou
450. I want to search first name from column J in Column B, if th
user name found, write a word “keep” in column M. if not then skip.

Is it possible to do this? If yes, can someone guide me how to do it
(I don’t know anything about VB).

Thanks.

Yas

--
myguess2
-----------------------------------------------------------------------
myguess21's Profile: http://www.excelforum.com/member.php...fo&userid=2957
View this thread: http://www.excelforum.com/showthread.php?threadid=49338


Philip

search and write.
 
Hi,

No need for VBA to do that, use a worksheet formula in column M

Like this:

=IF(ISERROR(VLOOKUP(J:J,B:B,1,FALSE)),"","KEEP")

In the middle, use VLOOKUP, search for whats in column J in Column B,
if that returns no error, then output 'KEEP' (IF ... THEN ... ELSE )
else output nothing

HTH

Philip

"myguess21" wrote:


I have situation where I have to find the name in column B from column
J. Column B has about 2000 users name and in column J only have about
450. I want to search first name from column J in Column B, if the
user name found, write a word €śkeep€ť in column M. if not then skip.

Is it possible to do this? If yes, can someone guide me how to do it.
(I dont know anything about VB).

Thanks.

Yash


--
myguess21
------------------------------------------------------------------------
myguess21's Profile: http://www.excelforum.com/member.php...o&userid=29578
View this thread: http://www.excelforum.com/showthread...hreadid=493387



Charlie

search and write.
 
In cell M1 put

=IF(ISERROR(MATCH(J1,B:B,0)),"","Keep")

and drag down as many as necessary

"myguess21" wrote:


I have situation where I have to find the name in column B from column
J. Column B has about 2000 users name and in column J only have about
450. I want to search first name from column J in Column B, if the
user name found, write a word €śkeep€ť in column M. if not then skip.

Is it possible to do this? If yes, can someone guide me how to do it.
(I dont know anything about VB).

Thanks.

Yash


--
myguess21
------------------------------------------------------------------------
myguess21's Profile: http://www.excelforum.com/member.php...o&userid=29578
View this thread: http://www.excelforum.com/showthread...hreadid=493387



myguess21[_5_]

search and write.
 

Cool. it works for what i need to do.

Thanks a lot.

Yash.

Philip Wrote:
Hi,

No need for VBA to do that, use a worksheet formula in column M

Like this:

=IF(ISERROR(VLOOKUP(J:J,B:B,1,FALSE)),"","KEEP")

In the middle, use VLOOKUP, search for whats in column J in Column B,
if that returns no error, then output 'KEEP' (IF ... THEN ... ELSE )
else output nothing

HTH

Philip

"myguess21" wrote:


I have situation where I have to find the name in column B from

column
J. Column B has about 2000 users name and in column J only have

about
450. I want to search first name from column J in Column B, if the
user name found, write a word €śkeep€ť in column M. if not then

skip.

Is it possible to do this? If yes, can someone guide me how to do

it.
(I dont know anything about VB).

Thanks.

Yash


--
myguess21

------------------------------------------------------------------------
myguess21's Profile:

http://www.excelforum.com/member.php...o&userid=29578
View this thread:

http://www.excelforum.com/showthread...hreadid=493387




--
myguess21
------------------------------------------------------------------------
myguess21's Profile: http://www.excelforum.com/member.php...o&userid=29578
View this thread: http://www.excelforum.com/showthread...hreadid=493387



All times are GMT +1. The time now is 06:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com