Home

Function similar to CONCATENATE with mixed number/text?

%3CLINGO-SUB%20id%3D%22lingo-sub-358507%22%20slang%3D%22en-US%22%3EFunction%20similar%20to%20CONCATENATE%20with%20mixed%20number%2Ftext%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358507%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20Excel%202016%20on%20Windows%207.%3C%2FP%3E%3CP%3E3%20columns%3A%3C%2FP%3E%3CP%3EA1%3A%20Percent%20(e.g.%2C%2025%25)%3C%2FP%3E%3CP%3EB1%3A%20Percent%20(e.g.%2C%2050%25)%3C%2FP%3E%3CP%3EC1%3A%26nbsp%3BText%20that%20is%20a%20manually%26nbsp%3Bentered%20concatenation%26nbsp%3Bof%20A%20%26amp%3B%20B%20(e.g.%2C%2025%25-50%25)%3C%2FP%3E%3CP%3ECan%20I%20create%20a%20formula%20that%20will%20automatically%20populate%20column%20C%2C%20without%20having%20to%26nbsp%3Bconvert%20columns%20A%26amp%3BB%20to%20text%3F%20I%20can%20do%20that%20but%20that%20seems%20like%20a%20klugy%20solution.%20Concatenate%20results%20in%20%22.25-.25%22%20and%20I%20haven't%20yet%20found%20any%20of%20the%20more%20advanced%20format%20options%20to%20get%20me%20what%20I%20want.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-358507%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358734%22%20slang%3D%22en-US%22%3ERe%3A%20Function%20similar%20to%20CONCATENATE%20with%20mixed%20number%2Ftext%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358734%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20use%20the%20TEXT%20function%20which%20allows%20you%20to%20define%20the%20format%20within%20the%20formula.%3C%2FP%3E%3CPRE%3E%3DTEXT(A1%2C%220%25%22)%26amp%3B%22%20-%20%22%26amp%3BTEXT(B1%2C%220%25%22)%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20796px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84793i91356BB5DC02CB26%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Concatenate%20Percentage%20Values%20and%20Keep%20their%20Format.png%22%20title%3D%22Concatenate%20Percentage%20Values%20and%20Keep%20their%20Format.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%3C%2FP%3E%3C%2FLINGO-BODY%3E
LionChaser
Occasional Visitor

Using Excel 2016 on Windows 7.

3 columns:

A1: Percent (e.g., 25%)

B1: Percent (e.g., 50%)

C1: Text that is a manually entered concatenation of A & B (e.g., 25%-50%)

Can I create a formula that will automatically populate column C, without having to convert columns A&B to text? I can do that but that seems like a klugy solution. Concatenate results in ".25-.25" and I haven't yet found any of the more advanced format options to get me what I want.

1 Reply

Hi,

 

You can use the TEXT function which allows you to define the format within the formula.

=TEXT(A1,"0%")&" - "&TEXT(B1,"0%")

 Concatenate Percentage Values and Keep their Format.png

 

 

Hope that helps