Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mark
 
Posts: n/a
Default 12 digit code sorting

I have a list of 90,000 12 digit records. I need to count the number of time
the fourth and fifth digit are 1, 8 (or 18) and, if possible, filter my
spreadsheet to hide to rows not meeting this criteria.

Mark
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default 12 digit code sorting

In a new column, enter the formula

=--MID(A2,4,2)=18

and copy down as far as you need to go. Then, filter on TRUE
values in this column.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Mark" wrote in message
...
I have a list of 90,000 12 digit records. I need to count the
number of time
the fourth and fifth digit are 1, 8 (or 18) and, if possible,
filter my
spreadsheet to hide to rows not meeting this criteria.

Mark



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default 12 digit code sorting

How'd you get 90,000 rows of data?

Mark wrote:

I have a list of 90,000 12 digit records. I need to count the number of time
the fourth and fifth digit are 1, 8 (or 18) and, if possible, filter my
spreadsheet to hide to rows not meeting this criteria.

Mark


--

Dave Peterson
  #4   Report Post  
John Michl
 
Posts: n/a
Default 12 digit code sorting

Chip - what do the two dashes mean before the MID function. I've seen
this in some SUMPRODUCT formulas but don't understand the significance.

Thanks

- John Michl

  #5   Report Post  
John Michl
 
Posts: n/a
Default 12 digit code sorting

I found the answer in an earlier post.

http://groups.google.com/group/micro...6d4a22041ba61b



  #6   Report Post  
Chip Pearson
 
Posts: n/a
Default 12 digit code sorting

The MID function returns a string/text result. The -- converts
the text result to a number.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"John Michl" wrote in message
oups.com...
Chip - what do the two dashes mean before the MID function.
I've seen
this in some SUMPRODUCT formulas but don't understand the
significance.

Thanks

- John Michl



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
nine digit zip code won't print in mail merge Durham Excel Discussion (Misc queries) 11 July 1st 08 12:34 PM
Change case...help please Terry Excel Worksheet Functions 14 October 2nd 05 12:29 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM
Using other workbooks.. DavidMunday Excel Worksheet Functions 2 July 1st 05 07:35 AM
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM


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