Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Alpha sort, but some cells sorted by phantom term?

Is it possible to A-Z sort a list, and instruct certain cells to be sorted by
a different word than is entered into that cell? For example, sort the cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to A-Z
sort by the first column, except where the word "see" appears in a cell in
the second column Excel uses the word that follows "see" as the term by which
that row is sorted. For example, the word in the first cell is "Bordeaux"
and in the second cell is "see France," rather than sorting this with the
B's, it is grouped with all rows that contain "France" in the first column.

Thanks for any help!

HM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Alpha sort, but some cells sorted by phantom term?

Sink,

I think I'd do a post process. ie. Do the sort, then search for words like
Bordeaux and move it under France. I'm assuming you'd have a list of the
words that should be 'custom sorted.'

Mike

"sinkhole" wrote:

Is it possible to A-Z sort a list, and instruct certain cells to be sorted by
a different word than is entered into that cell? For example, sort the cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to A-Z
sort by the first column, except where the word "see" appears in a cell in
the second column Excel uses the word that follows "see" as the term by which
that row is sorted. For example, the word in the first cell is "Bordeaux"
and in the second cell is "see France," rather than sorting this with the
B's, it is grouped with all rows that contain "France" in the first column.

Thanks for any help!

HM

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Alpha sort, but some cells sorted by phantom term?

Thanks, but the list is so long, that I'd like to institute a sorting order
that would take care of the post process automatically rather than me doing
it all manually.

Thanks for your reply.

"crazybass2" wrote:

Sink,

I think I'd do a post process. ie. Do the sort, then search for words like
Bordeaux and move it under France. I'm assuming you'd have a list of the
words that should be 'custom sorted.'

Mike

"sinkhole" wrote:

Is it possible to A-Z sort a list, and instruct certain cells to be sorted by
a different word than is entered into that cell? For example, sort the cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to A-Z
sort by the first column, except where the word "see" appears in a cell in
the second column Excel uses the word that follows "see" as the term by which
that row is sorted. For example, the word in the first cell is "Bordeaux"
and in the second cell is "see France," rather than sorting this with the
B's, it is grouped with all rows that contain "France" in the first column.

Thanks for any help!

HM

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Alpha sort, but some cells sorted by phantom term?

Create a helper column that contains the real word, then sort that.
You could populate this with a VLOOKUP of desired value. If the VLOOKUP
errors (no real word applicable) use the word in the column.

NickHK


"sinkhole" ...
Thanks, but the list is so long, that I'd like to institute a sorting
order
that would take care of the post process automatically rather than me
doing
it all manually.

Thanks for your reply.

"crazybass2" wrote:

Sink,

I think I'd do a post process. ie. Do the sort, then search for words
like
Bordeaux and move it under France. I'm assuming you'd have a list of the
words that should be 'custom sorted.'

Mike

"sinkhole" wrote:

Is it possible to A-Z sort a list, and instruct certain cells to be
sorted by
a different word than is entered into that cell? For example, sort the
cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux
will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to
A-Z
sort by the first column, except where the word "see" appears in a cell
in
the second column Excel uses the word that follows "see" as the term by
which
that row is sorted. For example, the word in the first cell is
"Bordeaux"
and in the second cell is "see France," rather than sorting this with
the
B's, it is grouped with all rows that contain "France" in the first
column.

Thanks for any help!

HM



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Alpha sort, but some cells sorted by phantom term?

Thanks, the issue is that the list is so long that to create a helper colomn
would take as long or longer than just manually arranging the minority of
rows which need to be sorted by the real word. Thanksk for your response.

"NewsNet" wrote:

Create a helper column that contains the real word, then sort that.
You could populate this with a VLOOKUP of desired value. If the VLOOKUP
errors (no real word applicable) use the word in the column.

NickHK


"sinkhole" ...
Thanks, but the list is so long, that I'd like to institute a sorting
order
that would take care of the post process automatically rather than me
doing
it all manually.

Thanks for your reply.

"crazybass2" wrote:

Sink,

I think I'd do a post process. ie. Do the sort, then search for words
like
Bordeaux and move it under France. I'm assuming you'd have a list of the
words that should be 'custom sorted.'

Mike

"sinkhole" wrote:

Is it possible to A-Z sort a list, and instruct certain cells to be
sorted by
a different word than is entered into that cell? For example, sort the
cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux
will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to
A-Z
sort by the first column, except where the word "see" appears in a cell
in
the second column Excel uses the word that follows "see" as the term by
which
that row is sorted. For example, the word in the first cell is
"Bordeaux"
and in the second cell is "see France," rather than sorting this with
the
B's, it is grouped with all rows that contain "France" in the first
column.

Thanks for any help!

HM






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Alpha sort, but some cells sorted by phantom term?

Sinkhole,

Without a list of French terms to accompany your long list there is no code
that you can write that will accomplish this sort. You must have a list of
terms that should be sorted under France otherwise the code will not know.
VBA does not intuitively know which words you want sorted under France. You
must tell it.

If you can provide a list then code can be written.

Mike

"sinkhole" wrote:

Thanks, the issue is that the list is so long that to create a helper colomn
would take as long or longer than just manually arranging the minority of
rows which need to be sorted by the real word. Thanksk for your response.

"NewsNet" wrote:

Create a helper column that contains the real word, then sort that.
You could populate this with a VLOOKUP of desired value. If the VLOOKUP
errors (no real word applicable) use the word in the column.

NickHK


"sinkhole" ...
Thanks, but the list is so long, that I'd like to institute a sorting
order
that would take care of the post process automatically rather than me
doing
it all manually.

Thanks for your reply.

"crazybass2" wrote:

Sink,

I think I'd do a post process. ie. Do the sort, then search for words
like
Bordeaux and move it under France. I'm assuming you'd have a list of the
words that should be 'custom sorted.'

Mike

"sinkhole" wrote:

Is it possible to A-Z sort a list, and instruct certain cells to be
sorted by
a different word than is entered into that cell? For example, sort the
cell
containing "Bordeaux" as if it were the word"France" so that Bordeaux
will
always be grouped with the cells containing "France."

And/or, in a scenerio with two columns and many rows is it possible to
A-Z
sort by the first column, except where the word "see" appears in a cell
in
the second column Excel uses the word that follows "see" as the term by
which
that row is sorted. For example, the word in the first cell is
"Bordeaux"
and in the second cell is "see France," rather than sorting this with
the
B's, it is grouped with all rows that contain "France" in the first
column.

Thanks for any help!

HM




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
How do I sort alpha neumeric fields that have an alpha suffix? Bob Sparks Excel Worksheet Functions 3 May 31st 09 05:17 AM
Updating workbook with an alpha sort sheet and a numeric sort shee cjlatta Excel Discussion (Misc queries) 2 January 28th 09 12:00 AM
Compare & align 2 cols of Employee Names in sorted alpha order withVBA u473 Excel Discussion (Misc queries) 4 September 28th 08 05:43 PM
Sort data and have it skip everyother row when it is sorted Howie Excel Discussion (Misc queries) 1 December 31st 05 03:15 PM
How do I sort and put a space between each sorted choice Stewart Excel Worksheet Functions 1 November 16th 05 01:45 AM


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