Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Boenerge
 
Posts: n/a
Default Count and convert text

Is it possible to create a function/formula which will count text in a row
and then convert them to a value and allow it to be multiplied by a value?
e.g. E DO L OD E L (count the text E, L, OD ignoring DO) the value of these
being 7.5 then multiplied by the amount of times they appear e.g. 5 = 37.5.

  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=(LEN(A1)-LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"E",""),
"L",""),"OD"," ")))*7.5

Note the space between quotes after "OD" (to shorten the string by only
1 character per instance).

In article ,
"Boenerge" wrote:

Is it possible to create a function/formula which will count text in a row
and then convert them to a value and allow it to be multiplied by a value?
e.g. E DO L OD E L (count the text E, L, OD ignoring DO) the value of these
being 7.5 then multiplied by the amount of times they appear e.g. 5 = 37.5.

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 to convert mailing label into .xls Stringy Excel Discussion (Misc queries) 6 April 7th 05 02:57 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Text function within Sumif Ken Goodwin Excel Worksheet Functions 8 January 27th 05 03:39 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM


All times are GMT +1. The time now is 09:40 AM.

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"