ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   alphabetical sort (https://www.excelbanter.com/excel-worksheet-functions/164451-alphabetical-sort.html)

Jock

alphabetical sort
 
If I have a list of text in column 'C' sorted alphabetically, ascending, is
it possible to show, in 'B', the first instance/occurance of each letter from
column 'C'? IE:

F Free
Four
Five
G Grand

Thanks
--
Traa Dy Liooar

Jock

[email protected]

alphabetical sort
 
Assuming that C2:C5 contains the data, try...

B2, copied down:

=IF(ISNA(MATCH(C2,$C$1:C1,0)),LEFT(C2),"")

Hope this helps!

On Nov 1, 12:47 pm, Jock wrote:
If I have a list of text in column 'C' sorted alphabetically, ascending, is
it possible to show, in 'B', the first instance/occurance of each letter from
column 'C'? IE:

F Free
Four
Five
G Grand

Thanks
--
Traa Dy Liooar

Jock




Niek Otten

alphabetical sort
 
In B1:

=LEFT(C1,1)

In B2:

=IF(LEFT(C2,1)=LEFT(C1,1),"",LEFT(C2,1))

Copy down as far as needed

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jock" wrote in message ...
| If I have a list of text in column 'C' sorted alphabetically, ascending, is
| it possible to show, in 'B', the first instance/occurance of each letter from
| column 'C'? IE:
|
| F Free
| Four
| Five
| G Grand
|
| Thanks
| --
| Traa Dy Liooar
|
| Jock



[email protected]

alphabetical sort
 
Please ignore...

On Nov 1, 1:04 pm, wrote:
Assuming that C2:C5 contains the data, try...

B2, copied down:

=IF(ISNA(MATCH(C2,$C$1:C1,0)),LEFT(C2),"")

Hope this helps!

On Nov 1, 12:47 pm, Jock wrote:

If I have a list of text in column 'C' sorted alphabetically, ascending, is
it possible to show, in 'B', the first instance/occurance of each letter from
column 'C'? IE:


F Free
Four
Five
G Grand


Thanks
--
Traa Dy Liooar


Jock




Jock

alphabetical sort
 
Thanks Niek.
--
Traa Dy Liooar

Jock


"Niek Otten" wrote:

In B1:

=LEFT(C1,1)

In B2:

=IF(LEFT(C2,1)=LEFT(C1,1),"",LEFT(C2,1))

Copy down as far as needed

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jock" wrote in message ...
| If I have a list of text in column 'C' sorted alphabetically, ascending, is
| it possible to show, in 'B', the first instance/occurance of each letter from
| column 'C'? IE:
|
| F Free
| Four
| Five
| G Grand
|
| Thanks
| --
| Traa Dy Liooar
|
| Jock





All times are GMT +1. The time now is 01:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com