Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Finding new entries in list

Hi
I have made a list with a web query.
It is made up of columns A,B,C,D and E.
I wish to update the web query every couple of days
and paste the new list into the next available columns F,G,H,I and J.
I understand how to find the next available column with a VB script,
which I have seen in other posts, but how to find and paste A into F, B
into G etc for the next 5?

I then wish to compare the two lists ie ABCDE and FGHIJ for new entries
and then paste them to a new sheet. The
=if(countif($B:$B,A1)=0,"Only in A","")seems to be only for comparing
two columns to each other. Can it be modified to check the first 5
columns to the next 5 columns.
Thanks
Greg

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Finding new entries in list

Doesn't make much sense Greg. Maybe you should try explaining again.
If you build a new 5 column web query, why are you copying over from the
last one.

Do you mean to copy A:E over to F:J as an archive, then refreshing the web
query so the new data is in A:E

columns(1).Resize(,5).copy
Range("F1").PasteSpecial xlValues

What constitutes a new entry - or what constitutes a match (opposite of a
new entry)? All five columns must match?



--
Regards,
Tom Ogilvy

"Greg" wrote in message
oups.com...
Hi
I have made a list with a web query.
It is made up of columns A,B,C,D and E.
I wish to update the web query every couple of days
and paste the new list into the next available columns F,G,H,I and J.
I understand how to find the next available column with a VB script,
which I have seen in other posts, but how to find and paste A into F, B
into G etc for the next 5?

I then wish to compare the two lists ie ABCDE and FGHIJ for new entries
and then paste them to a new sheet. The
=if(countif($B:$B,A1)=0,"Only in A","")seems to be only for comparing
two columns to each other. Can it be modified to check the first 5
columns to the next 5 columns.
Thanks
Greg



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Finding new entries in list

Hi Tom
I will try to explain what I mean,
Yes I wish to copy A:E to F:J as an archive and compare all five
columns so that each of the five must match the other five. eg in this
case the record I wish to find is in row 3 it is the one that doesn't
have a match from the previous web query.
A B C D E F G H I J
Row 1 12 ca to 4 ta 22 df re 3 sa
Row 2 22 df re 3 sa 12 ca to 4 ta
Row 3 1 dd fr 7 hs

The web query produces a list in which some entries drop off and are
replaced with new entries. Each time it is refreshed it has a different
number of rows. The entries that drop off come from different parts of
the list e.g .on one day row 5 and row 58 might drop off to be replaced
by new entries which slots into row 35,2,17 and 40.
The next time the web query is refreshed the rows which drop off and
new entries which slot in will again be on different rows. I hope that
this is clearer.
Thanks
Greg

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Finding new entries in list

Hi Tom
Thankyou once again, I am greatful for your assistance, I have to say
that while the slow process of learning takes place I often find
myself looking at the totally wrong approach to solve problems.....I
look for the long way around and am sometimes blinded to the simple
solutions. It's brilliant that there are so many people in this
environment to look for help beyond my keyboard and scrap pieces of
paper which I use to solve my problems.
Thankyou
Greg

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Finding new entries in list

Hi Tom
Thankyou once again, I am greatful for your assistance, I have to say
that while the slow process of learning takes place I often find
myself looking at the totally wrong approach to solve problems.....I
look for the long way around and am sometimes blinded to the simple
solutions. It's brilliant that there are so many people in this
environment to look for help beyond my keyboard and scrap pieces of
paper which I use to solve my problems.
Thankyou
Greg

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
Finding Average of last 5 entries houndawg Excel Worksheet Functions 13 March 9th 10 12:00 AM
Finding entries across columns bollard Excel Worksheet Functions 2 May 6th 08 03:04 PM
Finding duplicate entries mmcap Excel Worksheet Functions 5 February 7th 07 07:00 PM
Finding Duplicate Entries ConfusedNHouston Excel Discussion (Misc queries) 2 October 11th 06 04:01 AM
finding out missing entries! via135 Excel Worksheet Functions 5 February 9th 06 07:31 PM


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

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

About Us

"It's about Microsoft Excel"