Reply
 
LinkBack Thread Tools Display Modes
  #1   Report Post  
Old October 7th 08, 04:38 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2008
Posts: 3
Default using vlookup to delete duplicate data

Can I use vlookup to find acct#'s on a second worksheet and have it delete
the rows of the acct#'s on the 2nd wksht that are returned?
Thanks

  #2   Report Post  
Old October 7th 08, 04:44 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2008
Posts: 364
Default using vlookup to delete duplicate data

It appears that you want to delete from Sheet 2 those a/c numbers which are
on Sheet 1.

You can use VLOOKUP on Sheet 2 to mark those records, then you can filter on
NOT EQUAL To #N/A and delete those rows...


"carolj" wrote:

Can I use vlookup to find acct#'s on a second worksheet and have it delete
the rows of the acct#'s on the 2nd wksht that are returned?
Thanks

  #3   Report Post  
Old October 7th 08, 05:18 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 1,696
Default using vlookup to delete duplicate data

Specifically using a VLOOKUP will not cause any rows to delete. But, you can
use a couple methods to resolve your issue.

You can create some VB script to delete matching values.

You can use the VLOOKUP to show matching values, then delete entire row
based on this value.



"carolj" wrote:

Can I use vlookup to find acct#'s on a second worksheet and have it delete
the rows of the acct#'s on the 2nd wksht that are returned?
Thanks

  #4   Report Post  
Old October 7th 08, 05:50 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2008
Posts: 3
Default using vlookup to delete duplicate data

Thank you for posting so quickly! Since my VB script is very rusty, I think
this is the way to go. I'll let you know how it works out.



"Sheeloo" wrote:

It appears that you want to delete from Sheet 2 those a/c numbers which are
on Sheet 1.

You can use VLOOKUP on Sheet 2 to mark those records, then you can filter on
NOT EQUAL To #N/A and delete those rows...


"carolj" wrote:

Can I use vlookup to find acct#'s on a second worksheet and have it delete
the rows of the acct#'s on the 2nd wksht that are returned?
Thanks

  #5   Report Post  
Old October 7th 08, 05:53 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2008
Posts: 3
Default using vlookup to delete duplicate data

Thanks for your quick response. My VB is very rusty, so I'm going to try the
vlookup & then filter & delete.



"Sean Timmons" wrote:

Specifically using a VLOOKUP will not cause any rows to delete. But, you can
use a couple methods to resolve your issue.

You can create some VB script to delete matching values.

You can use the VLOOKUP to show matching values, then delete entire row
based on this value.



"carolj" wrote:

Can I use vlookup to find acct#'s on a second worksheet and have it delete
the rows of the acct#'s on the 2nd wksht that are returned?
Thanks



Reply
Thread Tools
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
How to delete duplicate data PL New Users to Excel 9 September 1st 06 03:47 AM
delete duplicate data SITCFanTN New Users to Excel 3 June 4th 06 01:42 PM
Delete row where there is duplicate data in Column E SITCFanTN New Users to Excel 1 June 4th 06 09:35 AM
DELETE DUPLICATE DATA IN A SHEET AUTOMATICALLY Sony Manoj Excel Discussion (Misc queries) 1 November 20th 05 08:39 AM
How do I delete both sets of duplicate data? Superpreciosa Excel Discussion (Misc queries) 1 July 24th 05 08:56 PM


All times are GMT +1. The time now is 12:00 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017