A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

help



 
 
Thread Tools Display Modes
  #1  
Old January 4th, 2006, 05:30 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default help

guys how can i generate a formula that would lead to even number letters
like"bush" "clay" "boss" "sale" "cout" to have capital letter of first and
third letter and rest smalls..... can u plz also tell me abt the formula that
would lead to the same result but contains odd numer of letters........ i
know that its a silly question but we have a nincompoop for a teacher
  #2  
Old January 4th, 2006, 05:53 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default help

Hi

mmm, not really into doing other people's homework (and i don't think it's
such a bad exercise), so here's a few cluse for you:

with your word in A1

=MOD(LEN(A1),2)
will tell you whether it is "even" or "odd"

=UPPER(LEFT(A1,1))
will extract and capitalise the first letter of the word

=UPPER(MID(A1,3,1))
will extract and capitalise the third letter of the word)

=MID(A1,2,1)
will extract the second letter of the word

=RIGHT(A1,LEN(A1)-3)
will extract the remaining letters of the word

the & can be used for joining things together, such as
=A1 & B1

now, if you put all the above info together you'll have your answer

have fun
--
JulieD

julied at hctsReMoVeThIs dot net dot au


"zomex" wrote:

guys how can i generate a formula that would lead to even number letters
like"bush" "clay" "boss" "sale" "cout" to have capital letter of first and
third letter and rest smalls..... can u plz also tell me abt the formula that
would lead to the same result but contains odd numer of letters........ i
know that its a silly question but we have a nincompoop for a teacher

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.