Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default do not copy data to another sheet if exists

I am trying to copy data from sheet 1 to sheet 2. However i want to have only new entries copied. if the data already exists on sheet 2 than do not copy from sheet 1. Select distinct only works on input data (using OBDC input). VB or function format would be OK. Been all over the net for this one with no success. Any ideas appreciated.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,090
Default do not copy data to another sheet if exists

I would use VBA to loop through all the values in sheet1, check if that
value is in sheet2, and copy if not, nothing if yes. Post back if you need
more. Include some info on the layout of the 2 sheets. HTH Otto
<Paul wrote in message ...
I am trying to copy data from sheet 1 to sheet 2. However i want to have
only new entries copied. if the data already exists on sheet 2 than do not
copy from sheet 1. Select distinct only works on input data (using OBDC
input). VB or function format would be OK. Been all over the net for this
one with no success. Any ideas appreciated.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com



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
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Match and Sort for two range of data on different worksheets? Tan New Users to Excel 3 March 9th 06 08:55 AM
Pull data from another sheet based on certain criteria steve_sr2 Excel Discussion (Misc queries) 1 February 23rd 06 10:08 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


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