PC Review


Reply
Thread Tools Rate Thread

Data Extract and sort

 
 
joecrabtree
Guest
Posts: n/a
 
      20th Nov 2006
To all,

I am having a few problems with programming a macro in excel. What I
want to do is as follows:

1) I have a series of data identified by certain codes for example:

C1965(1) = 33
D2960(2) = 66
D2960(1) = 33
D2965(1)=344
D2965(2)=878

etc.

So the first question I have is how to automatically extract the middle
part of the 'code' eg the 960 (Temperature ) part, and return to the
user all the different temperatures that are in the set of data. For
example with the above data it would return 960, and 965.

2 Secondly I want to take the average of data at certain locations for
example C1 and D2 and temperatures 965 and 960. In the case of C1 this
is easy as there is only one piece of data, but for D2 there is 2
pieces of data represented by the number in the brackets ( 1 ) and ( 2
). How do I search the data and etxract this info and take the
averages? At the moment I am using VLookup, but this isn't very
flexible as you have to be very explicit in what you are looking for.

Thanks in advance.

Joseph Crabtree

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort and Extract Eric_G Microsoft Excel Programming 1 25th Feb 2009 11:20 AM
Data Extract and Sort Macro Help joecrabtree Microsoft Excel Programming 1 7th Dec 2006 04:18 PM
Please help me sort then extract the data to new workbooks tahrah Microsoft Excel Programming 7 13th Nov 2006 08:29 PM
extract data after sort =?Utf-8?B?U29keQ==?= Microsoft Excel Programming 0 17th Jul 2006 11:32 PM
extract and sort dates =?Utf-8?B?Y2l0eWZj?= Microsoft Excel Misc 0 11th Jan 2006 08:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:25 AM.