Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alan Bartley
 
Posts: n/a
Default Sorting Data Automatically

I am importing text into a new worksheet and would like to run a macro
that can perform labour a labour intensive sort/deletion.

Column A contains a mixture of text strings as follows:

QR4567
QR4567/QT1223
QR4290
QR4290/QT1224

What I would like to do is determine how many QR's have associated
QT's and how many QR's are remaining that dont have associated QT's.

Any assistance would be greatly appreciated.

Alan Bartley
Sydney Australia
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Alan

not sure how the sorting comes into this - sounds more like needing a
formula to count when a cell contains both QR & QT as opposed to just
containing QR???

to count the number containing both QR & QT try
=COUNTIF(A1:A4,"*QR*QT*")
to count the number containing only QR
=COUNTIF(A1:A4,"*QR*")-COUNTIF(A1:A4,"*QR*QT*")

Cheers
JulieD
(Perth)

"Alan Bartley" wrote in message
om...
I am importing text into a new worksheet and would like to run a macro
that can perform labour a labour intensive sort/deletion.

Column A contains a mixture of text strings as follows:

QR4567
QR4567/QT1223
QR4290
QR4290/QT1224

What I would like to do is determine how many QR's have associated
QT's and how many QR's are remaining that dont have associated QT's.

Any assistance would be greatly appreciated.

Alan Bartley
Sydney Australia



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
Colors of columns after sorting data in the supporting table Booger_Boy Charts and Charting in Excel 6 January 24th 05 02:41 PM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


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