Help for the formula

HI Rob,

Need small help on the this formula in (columns B), which is for read space but i have done up to 2 spaces only but when i m trying 3rd (Row A)
i m getting error or not reading.

formula is for trim & uppercase

Thanks,
LVL 1
M ZahidAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

M ZahidAuthor Commented:
0
ShumsExcel & VBA ExpertCommented:
Hi Zahid,

Use below in B2 and drag down:
=TRIM(CLEAN(SUBSTITUTE(UPPER(A2),CHAR(160)," ")))

Open in new window

0
M ZahidAuthor Commented:
this will read the whole thing from column A which may not required that's i was using to read it up to first spaces
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ShumsExcel & VBA ExpertCommented:
What are you trying to achieve? please post a sample with desired output with some more examples.
0
M ZahidAuthor Commented:
sir have u seen my attached file? i have mentioned in that file what i m looking for, plz advice if that is not clear?
0
M ZahidAuthor Commented:
Dear Shumas / Rob,

enclosed plz find file with the examples.

Thx
fromula-AML.xlsx
0
ShumsExcel & VBA ExpertCommented:
Hi Zahid,

Try below formula in B2 and drag down, if you want 3 words, change "3" as per your requirement:
=TRIM(LEFT(UPPER(A2), FIND("~",SUBSTITUTE(A2, " ", "~",3)&"~")))

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
M ZahidAuthor Commented:
Thanks Shums, that is what i want to achieve :)
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.