Solved

Concatenate function not showing leading zeros

Posted on 2014-12-31
4
109 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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,…
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

733 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