Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Insert single quote symbol

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Insert single quote symbol

Each item of data is a set of words
The words are separated by a space.

In some of your examples, you need the last word in the set to be
encapsulated by single quotes. In other examples, you need the last two
words to be encapsulated.

How can the formula determine which result to produce??
--
Gary''s Student - gsnu200908


"Gotroots" wrote:

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Insert single quote symbol

Are you saying there is no formula however complex will determine this?

"Gary''s Student" wrote:

Each item of data is a set of words
The words are separated by a space.

In some of your examples, you need the last word in the set to be
encapsulated by single quotes. In other examples, you need the last two
words to be encapsulated.

How can the formula determine which result to produce??
--
Gary''s Student - gsnu200908


"Gotroots" wrote:

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Insert single quote symbol

Describe how a computer program would know why this is correct:

Symphoricarpos x doorenbosii 'Mother of Pearl'


instead of:

Symphoricarpos x doorenbosii Mother 'of Pearl'


or this:

Symphoricarpos x doorenbosii Mother of 'Pearl'




Gotroots wrote:
Are you saying there is no formula however complex will determine this?

"Gary''s Student" wrote:

Each item of data is a set of words
The words are separated by a space.

In some of your examples, you need the last word in the set to be
encapsulated by single quotes. In other examples, you need the last two
words to be encapsulated.

How can the formula determine which result to produce??
--
Gary''s Student - gsnu200908


"Gotroots" wrote:

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Insert single quote symbol

Ok, point taken.

How about then first separating the text that needs to be enclosed in single
quotes.

Apart from the initial capitalization of a plant name where a capitalization
begins would be the point where the separation would begin.

Here is an example

Symphoricarpos x doorenbosii Mother of Pearl

Mother of Pearl

Once separated Mother of Pearl (the value) would perhaps then be more easily
enclosed in single quotes.




"Glenn" wrote:

Describe how a computer program would know why this is correct:

Symphoricarpos x doorenbosii 'Mother of Pearl'


instead of:

Symphoricarpos x doorenbosii Mother 'of Pearl'


or this:

Symphoricarpos x doorenbosii Mother of 'Pearl'




Gotroots wrote:
Are you saying there is no formula however complex will determine this?

"Gary''s Student" wrote:

Each item of data is a set of words
The words are separated by a space.

In some of your examples, you need the last word in the set to be
encapsulated by single quotes. In other examples, you need the last two
words to be encapsulated.

How can the formula determine which result to produce??
--
Gary''s Student - gsnu200908


"Gotroots" wrote:

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Insert single quote symbol

That helps. Try this array formula (commit with CTRL+SHIFT+ENTER):

=LEFT(A1,MATCH(1,(CODE(MID(A1,ROW($2:$99),1))64)*
(CODE(MID(A1,ROW($2:$99),1))<91),0))&"'"&
MID(A1,MATCH(1,(CODE(MID(A1,ROW($2:$99),1))64)*
(CODE(MID(A1,ROW($2:$99),1))<91),0)+1,LEN(A1))&"'"

Probably not optimized very well, but it seems to work.

Gotroots wrote:
Ok, point taken.

How about then first separating the text that needs to be enclosed in single
quotes.

Apart from the initial capitalization of a plant name where a capitalization
begins would be the point where the separation would begin.

Here is an example

Symphoricarpos x doorenbosii Mother of Pearl

Mother of Pearl

Once separated Mother of Pearl (the value) would perhaps then be more easily
enclosed in single quotes.




"Glenn" wrote:

Describe how a computer program would know why this is correct:

Symphoricarpos x doorenbosii 'Mother of Pearl'


instead of:

Symphoricarpos x doorenbosii Mother 'of Pearl'


or this:

Symphoricarpos x doorenbosii Mother of 'Pearl'




Gotroots wrote:
Are you saying there is no formula however complex will determine this?

"Gary''s Student" wrote:

Each item of data is a set of words
The words are separated by a space.

In some of your examples, you need the last word in the set to be
encapsulated by single quotes. In other examples, you need the last two
words to be encapsulated.

How can the formula determine which result to produce??
--
Gary''s Student - gsnu200908


"Gotroots" wrote:

I have a list of plant names that need a single quote inserted at the
appropriate location as the examples show.

Weigela Snowflake
Weigela €˜Snowflake

Wisteria sinensis Caroline
Wisteria sinensis €˜Caroline

Vinca minor Alba Variegata
Vinca minor €˜Alba Variegata

Viburnum x rhytidophylloides Willowwood
Viburnum x rhytidophylloides €˜Willowwood

Viburnum plicatum f. tomentosum Lanarth
Viburnum plicatum f. tomentosum €˜Lanarth

Veronica austriaca subsp. teucrium Shirley Blue
Veronica austriaca subsp. teucrium €˜Shirley Blue

Symphoricarpos x doorenbosii Mother of Pearl
Symphoricarpos x doorenbosii €˜Mother of Pearl

Syringa vulgaris Andenken an Ludwig Späth
Syringa vulgaris €˜Andenken an Ludwig Späth

Saxifraga umbrosa var. primuloides Elliott's Variety
Saxifraga umbrosa var. primuloides 'Elliott's Variety'


Much apprieciate any help given


.

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 insert a single quote on every cell in a column to make . Cindy Excel Discussion (Misc queries) 3 May 5th 23 03:47 AM
vlookup and using single quote Bishop Excel Worksheet Functions 2 April 3rd 09 06:02 PM
using a single quote ' in SEARCH function ExTexan Excel Worksheet Functions 2 December 30th 06 01:11 PM
Remove single quote Avadivelan TCS Excel Worksheet Functions 4 October 5th 06 03:48 PM
I need a symbol but "symbol" in the Insert menu is grayed-out. Nothappy Excel Discussion (Misc queries) 2 May 3rd 05 12:16 AM


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