#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Extracting data

Hope you can help me.

I have data from two months.
June & July.

I have already reported June's and don't want to report the same data in
July.

How can I extract only the "new" information?

Data1 Data2
a a
b c
d d
e e
f g
h h

The new spreadsheet (column, whatever) would yield:

Data3
b
c
f
g

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Extracting data

See site for ways to generate a unique list of data:

http://www.cpearson.com/excel/ListFunctions.aspx

About half way down, section titles "Extracting Elements From One List Not
On Another List"
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"debinnyc" wrote:

Hope you can help me.

I have data from two months.
June & July.

I have already reported June's and don't want to report the same data in
July.

How can I extract only the "new" information?

Data1 Data2
a a
b c
d d
e e
f g
h h

The new spreadsheet (column, whatever) would yield:

Data3
b
c
f
g

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Extracting data

One way
Sub nodupcol()
r = 2
mc = 4 'col D
For i = 2 To Cells(Rows.Count, mc).End(xlUp).Row
If Cells(i, mc) < Cells(i, mc + 1) Then
Cells(r, mc + 2) = Cells(i, mc)
r = r + 1
Cells(r, mc + 2) = Cells(i, mc + 1)
r = r + 1
End If
Next
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"debinnyc" wrote in message
...
Hope you can help me.

I have data from two months.
June & July.

I have already reported June's and don't want to report the same data in
July.

How can I extract only the "new" information?

Data1 Data2
a a
b c
d d
e e
f g
h h

The new spreadsheet (column, whatever) would yield:

Data3
b
c
f
g


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
Extracting Data Don Guillett Excel Worksheet Functions 0 July 18th 09 04:41 PM
extracting data from one sheet based on data in another - VLookup? des Excel Worksheet Functions 3 February 4th 09 07:27 PM
extracting data [email protected] Excel Discussion (Misc queries) 1 March 14th 07 12:18 PM
Extracting Data for .Txt Files By Unique Field Data La Excel Discussion (Misc queries) 3 July 17th 06 01:30 PM
extracting data John Excel Worksheet Functions 2 November 15th 05 03:05 AM


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

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"