Solved

Concatenate function not showing leading zeros

Posted on 2014-12-31
4
108 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

856 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