Avatar of Tocogroup
TocogroupFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

How do I concatenate a 'masked' numeric value in Excel

Hi,

I have a number cell with a Custom mask of 000, so for example, in cell A3 the value 45 is displayed as 045.
I now want to use that value in a concatenated formula, for example, ="INV"&A3
so that it is displayed as INV045 and not as INV45 as it does currently.

What do I need to add to this formula to display as required ?
Thanks
Toco
Microsoft Excel

Avatar of undefined
Last Comment
Tocogroup
ASKER CERTIFIED SOLUTION
Avatar of andrewssd3
andrewssd3
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of LlanoV
LlanoV
Flag of South Africa image

Hello Tocogroup

Try using =IF(A1>99,"INV"&A1,"INV0"&A1)

 mask-example.xlsx
Avatar of Tocogroup
Tocogroup
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Thanks guys,
The TEXT solution works fine.
Regards
Toco
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo