Solved

Concatenate function not showing leading zeros

Posted on 2014-12-31
4
105 Views
Last Modified: 2014-12-31
hi Folks
I have a file with a link ID. It is a concatenated field compiled of three fields. One of the fields has leading zeros and I need my LinkID field to show the leading zeros. e.g. In the account field I have 0010, what appears in my link ID field is 10. How can I get it to show 0010 in the Link ID. File attached.
Thanks as always :-)
LinkID-not-showing-full-number.xlsx
0
Comment
Question by:agwalsh
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Wilder1626 earned 250 total points
ID: 40525261
Hi
Try this way as text format.
="SCP"&"|"&TEXT(B2,"0000")&"|"&C2
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 total points
ID: 40525264
Try

="SCP"&"|"&TEXT(B2,"0000")&"|"&C2
0
 

Author Closing Comment

by:agwalsh
ID: 40525297
Brilliant. Have given equal marks since they are the same but have given Best to Wilder 1626 because he/she got there first :-)
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40525460
I'm glad i was able to help.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now