Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 156
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default 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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

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
Functions (search within search result) reply to this please Nick Excel Worksheet Functions 1 February 17th 09 03:57 AM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
I cant do a search on this forum. Everytime I search, it comes up with zero results viswanthank Excel Programming 3 June 10th 05 09:15 AM
Create a search Field within a worksheet to search command buttons Ed P[_2_] Excel Programming 1 December 14th 04 08:04 PM


All times are GMT +1. The time now is 12:36 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"