It's called "nesting" functions

for instance,
to concatenate A2, B2 and C2 with spaces between you would use:
=A2&" "&B2&" "&C2

now, the Trim() function expects a string, so you give it the concatenated 
string:
=TRIM(A2&" "&B2&" "&C2)

Now, what if you need to trim each of the values independently?
then use:
=TRIM(A2)&" "&TRIM(B2)&" "&TRIM(C2)

Next, the Proper() function expects a string, then use the output from the 
previous
function:
=PROPER(TRIM(A2&" "&B2&" "&C2))
or:
=PROPER(TRIM(A2)&" "&TRIM(B2)&" "&TRIM(C2))

Now, if you only want to apply "proper" to the first word, then
it's just a matter of where you place the ()
=PROPER(TRIM(A2)) & " " & TRIM(B2) & " " & TRIM(C2)


Paul



________________________________
From: $ⓤⓗⓐ$ <suhas...@gmail.com>
To: excel-macros@googlegroups.com
Sent: Mon, February 8, 2010 5:43:55 AM
Subject: $$Excel-Macros$$ Please help to apply formula


Hi all,

How to apply more than two functions in a singal formual.,

For ex:- i have to concatenate data and make it trim and  proper.

Appreciate your soonest response.

Thank you all.
-- 

Suhas 
 -- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 
To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain @ jainayus...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!
 
We reach over 6,700 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,700 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to