# How do I truncate within a concatenation?

Column A has a prefix: CAT
Column B has a category #: can be up to 3 digits (for example, 22)
Column C is the year: needs to be in 4-digit format for chronological sorting (for example, 2000)
Column D is the concatenated results: Column A + " " + Column B + "/" + last 2 digits of Column C (CAT 22/00)

I know how to concatenate, but not how to truncate the year within the concatenated formula.

I have attached a sample spreadsheet to help illustrate what I'm after.

Thanks!
Andrea
EE-Example-Concatenate-TruncateYear.xlsx
###### Who is Participating?

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.

Commented:
Use this
=A2&" "&B2&"/"&RIGHT(C2,2)

Experts Exchange Solution brought to you by

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

Commented:
Use this formula in A2..

=A2&" "&B2&"/"&RIGHT(D2,2)

And simply drag this..

Saurabh...
Commented:

Correction in the above formula it will be C2

=A2&" "&B2&"/"&RIGHT(C2,2)

Saurabh...
EE-Example-Concatenate-TruncateYear.xlsx
Author Commented:
Works perfectly. Thanks to you both for your quick responses!
Andrea
###### 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 Excel

From novice to tech pro — start learning today.