In your Excel workbooks, the data is not always structured according to your needs. Often you may want to split the content of one cell into individual cells or do the opposite - combine data from two or more columns into a single column. Continue reading
Comments page 12. Total comments: 449
JUVITA F. RENDIZA in 1 column.. i would like to separate then in each column for Last name- Firtsname- Middle Name.. pls give me the formula
lots of thanks
How do I combine if i have a multiple rows like this
9005a
9006a
9007a
9008a
9010a
9011b
9032c
9033a
9034a
9035a
9113b
9114a
I want the result to be like this
9005a thru 9008a, 9010a, 9011b
but i only have limited number characters lets say i only have 50 characters. and the following series of numbers should be on the next row above the first result. it shows like this,
Row 1 : 9005a thru 9008a, 9010a, 9011b
Row 2 : 9032c thru 9035a,9113b, 9114a
and there should have ni repeatetive number.
Thank You in advance!
What do I write, if I want to have the output from referencing a large amount of cells, like =CONCATENATE(S33:S94), but I want a " " between each of the cell values?
If you have too many values this would take forever. I found an easier solution. I had to merge the values of 2000 cells down a column, say column B, into one cell with a | between each value. Listing 2000 cells individually would have taken forever.
In C2 I put the formula =CONCATENATE(B1&"|"&B2)
Then, in C3 I put =CONCATENATE(C2&"|"&B4)
Copy the 2nd formula down as far as you want. In a moment I ended up with cell C2000, that had 2000 values all in one cell separtaed by |.
For the second formula I meant in C3 put =CONCATENATE(C2&"|"&B3)
In this case you should reference each cell individually and insert spaces in between, like this:
=CONCATENATE(S33, " ", S34, " ", S35, " ", ..., S94)
Please Somebody tell me I need formula i want that Suppose any mathematics digit add in any person name how can i get any mathematics digit add in any Person name to apply by formula.
Sir,
May I apply concatenate formula for more then 1000 cell.
A1 B1
Aug-16 BR BANDAR
How do I combine both of above cells (A1 & B1) into "Bandar August-16" by dropping the word "BR" ?
Hi Asmiza,
Does A1 contain a date in the mmm-dd format or text "Aug-16"? You can check this by selecting cell A1 and viewing the value in the formula bar.
If it's a date, you can use the following formula:
=TEXT(A1, "dd-mmmm") &RIGHT(B1,LEN(B1)-SEARCH(" ",B1)+1)
If it's a text, then use this one:
=A1 &RIGHT(B1,LEN(B1)-SEARCH(" ",B1)+1)
hi All,
How to convert 3-10-10-10-10001 In 310101010001. ?
Please Help
Hello Azeem,
You can use Excel's Find and Replace feature (Ctrl+H) and replace dashes with nothing, i.e. you type a hyphen (-) in the "Find what" box, leave the "Replace with" box empty and click Replace All.
Hi
I'm combining two cell using formula CONCATENATE. first cell contains different formats in single cell i.e. CYBER-METRIC and ARIAL. other cell has text content.
final Result is changing the whole content into ARIAL format.
we need text to be just the same as cell1 with mix of different format (i.e. Both cyber-metrics & Arial in single Cell).
Please tell whether it is possible or not.
Hi, Hope you can help
I have Column A and Column B
in Column A, I have A1 to Axx
In column B , I have B1 to Bxx
I need to create a list something like this
A1:B1 A2:B2 A3:B3......Axx:Bxx
So I can use something like this
=CONCATENATE("List ",B1,":",D1," ",B2,":",D2," ",Bxx,":",Dxx )
My question is, how can I enter all the cells in the column easily?
Thanks in advance
hi
my doubt is ,if i can use concatenate for the below data ,
SL NO NAME DOCS TO BE TAKEN OUTPUT SHOULD BE
123 HARI SALARY SLIP SALARY SLIP,MARKSHEET EXP CERT
123 HARI MARKSHEET
123 HARI EXP CERT
124 TIM SALARY SLIP SALARY SLIP, EXP CERT
124 TIM EXP CERT
125 LOGAN SALARY SLIP SALARY SLIP
I have a doubt with concatenate with time, fr example i have abc123456 in A1 and 4.00 PM in B1 so if i use the formula the time changes to 0.666667. can you help me with that.
Use CONCATENATE(A1;" ";TEXT(B1;"h.mm AM/PM")
Hi there, I'm trying to Concatenate two cells but my formula cell just displays the formula not the answer. Cell F23 has 'KM 11510', Cell G23 has 'Sheet Music and Document Holder'. I used the function library and the Function Arguments show the Formula Result = 'KM 11510 Sheet Music and Document Holder', which is what I want. But when I press OK, the field shows =CONCATENATE(F23," ",G23). I have checked that Calculation Options are on Automatic. I've tried switching it to manual and back, I've tried saving and re-opening. any suggestions? Thanks very much.
hi
im having an issue using a formula on a multiple cells
like i want to get a text when i put something in a multiple cells
thankyou sir
hi,
i want to add rows having same names for ex
columnA columnB
A 1
A 2
A 3
B 1
B 2
C 1222
C 2121
Which formula is usefull for this??
We maintain medical equipments purchase, sales, stock sl.no. wise. Example of sl. No.is ASHD-7891, ASDG-2367 etc. How advance excel recognize these sl nos
How do I take a column of numbers and put it in one cell separated by commas.
(123,234,345,456,678) I want this result
Hi,
Please share how can we concatenate list of cells values with comma, like A,B,C
Table
P2-G021
P2-6704
P2-3045
P2-I172
P2-6056
P2-I046
P2-1582
Thanks
Harish
How can i print the report as given below
Source
RAJA 500 3
RAJA 300 4
SHYAM 200 5
SHYAM 300 4
SHYAM 100 3
VENU 200 4
RESULT
RAJA 500/3, 300/4
SHYAM 200/5, 300/4, 100/3
VENU 200/4
Please reply
Hi,
Am trying to create a production planning sheet where I have to provide data with comma separators for the values for convenient reading.
When I use concatenate function I cannot get the commas in the middle.
When I use the function it return 100000 Mtrs/Day Where areas I require it as 1,00,000 Mtrs /Day.
Is there any function to do it ?
Please help.
_ * #,##0_ ;_ * -#,##0_ ;_ * "-"_ ;_ @_
Format cell by above using custom cell use unit Mtrs/Day in next cell
because you wan't to use in production sheet. This is not my formulae
but it will help you.
Arun,
I am afraid it's not possible. The display representation of cell values is controlled by the format applied to a given cell. If you had a regular number, it would be sufficient to check the "Use 1,000 separator" box in the Format Cell dialog. However, the result of the Concatenate formula is an text string, and Excel cannot insert a thousand separator there.
Hi,
I have 2 values in 2 cells that I use to calculate a value i.e. £2,099,000 x 50%
I want to be able to display each value in a cell as a sum for the purpose of reporting.
If I use =CONCATENATE("£",B5," x ",TEXT(B7,"0%"))
I get a return of £2099000 x 50%
However, I want the £2099000 to be displayed as £2,099,000.
If I use =CONCATENATE("£",TEXT(B5,"#,##0")) I get the desired result in isolation.
How can I combine the following to get the required result:
=CONCATENATE("£",TEXT(B5,"#,##0"))
=CONCATENATE(TEXT(C7,"0%"))
What am I missing?
i want to remove one particular name if it is present in the row while concatenating
example
albert
balard
john
sarah
albert
result : albert balard john sarah albert (But i need to remove albert name while concatenating)
Hello Guys,
I want to bring all values in a column into one cell for a corresponding common value in other column.
Example:
ColA ColB
X 1
X 2
X 3
Y 7
Y 8
Y 9
Result should be look like -
Col-1 Col-2
X 1,2,3
Y 7,8,9
Thanks,
Gupta.
Hello!
Is there a way of creating a formula able to concatenate until find a specific text?
I have a table (a pivot table) and I want to concatenate the information of one of the columns. But I need the Concatenate function to stop working when it finds the text "Grand Total", because this is the last information and I don't need it to be concatenated.
Thanks,
Camilla
Hi, for your assistance. i need this format
One Thousand Dollars ($1,000.00)
My data is just the amount in figures, then I use the spellnumber to convert the figures to words. The problem now is how to concatenate the words then the figure but figures should have the comma/s. Please help. Thanks.
Hello hai,
I would like to know what are the methods or tricks to get outputs without using formula(i.e.CONCATENATE replace of "&"). Still i am in LKG level in excel.
When I try to concatenate 2 or 3 text cells - the formula sometimes displays all the way down the column - not the merged text - does not happen all the time - usually I can drag the merged text to fill the column. How do I get the text to display rather than the formula?
Ex =CONCATENATE(z1," - ",aa1)
I have the below data in singe cell,
62 F1 11 43 50 4C 41 2D 31
i need to split the same value in to different cell.
can u pls some on suggest me to solve this..?
Dear Nagaraj,
Select the required cells (only in one column at a time)
Go to Data - Text to Columns - Delimited - Next -
Select Space as the delimiter.
Click Finish.
If the data has to be converted vertically, then use.
Home - Paste Special - Values - Transpose
Select Values and Transpose
Click OK.
Vijaykumar Shetye, Goa, India
How to merge/concatenate first column with single cell(second row's first column) only?
A B C
A 1 A1
B B1
C C1
In ms excel:
Suppose I have this data
jan feb mar
1991
1992
1993
1994
and I want to create a table as below:
jan feb mar
1991 jan1991 feb1991 mar1991
1992 jan1992 .....
1993 .......................
1994 .......................
What should I do?
Hi,
I want to format/custom the following data:
E101-i
E1-j
E1-a
E201-d
So, I want to fixed the "E" and "-"with different numbers(up to 3 digit) and end with 1 alphabet
Dear jessica,
Go to Home - Number - Category - Custom - Type - "E"###"-d"
If the letter changes depending on the content of some other cell, then,
Go to Home - Conditional Formatting - New Rule - Use a Formula to determine which cells to format -
In Format values where this formula is true, enter the formula
=IF(A1="d",1,0)
Select Format - Number - Custom Format
Select the required Custom Format.
You can create multiple Custom Formats and enter the required formulas. Change the cell references as required.
Do let me know if any changes are needed.
Vijaykumar Shetye, Goa, India
I'm using a CONCATENATE formula and it's working fine. But is there a way to carry over the formatted text. ex. 1 cell has text in red and/or strike through. Is there a way for this cell to be included but maintain the text formatting?
How do you then remove the formula, so you can copy and paste this data into another worksheet? When doing so, I get an error value in the cells.
Hi,
i need only pass the value 192379 from another cell, can you help me to, parameter for this scenario.
{
"Value":"192379",
"RetrieveFields":"T"
}
I have a question related to the text combination with two different sheet.
Example:
CODE DESCRIPTION
10001 THC
10001 OCF
10001 AGENCY
10002 THC
10002 DOC
The result should be for another sheet
CODE DESCRIPTION
10001 THC,OCF,AGENCY
10002 THC,DOC
Can you share me how to solve this problem?
Hi,
I'm after a solution like that as well.
Example:
CODE DESCRIPTION
10001 THC
10001 OCF
10001 AGENCY
10002 THC
10002 DOC
The result should be for another sheet
CODE DESCRIPTION
10001 THC,OCF,AGENCY
10002 THC,DOC
Can you share me how to solve this problem?
Many thanks
How do I concatenate, when one of the cells I am trying to use is a formula?
For example (simplified), cell A1 is =NOW() which is showing the month we are currently in. I then want to concatenate this with cell B1 which is just text.
When I use write the formula =CONCATENATE(A1,B1) I get this as the result 42450.4964960648exampletext where I actually want it to say Marchexampletext
I do not want to copy and paste the month as text, and I do not want to use VBA/macro.
Does anyone know how to do this?
Hi Liz,
One possible way is to concatenate the function. For example:
=CONCATENATE(TEXT(TODAY(), "mmmm"), "text")
The result of the above formula will be "Apriltext".
To make the output better readable, you can include some separator like "-":
=CONCATENATE(TEXT(TODAY(), "mmmm"), "-", "text")
Another way is to reference the original cell with your formula. But again, you need to specify the format of the text value you want to return. In this example, "mmmm" is the full name of the month:
=CONCATENATE(TEXT(A2, "mmmm"), "text")
Because in the internal Excel system dates and times are stored as numbers, you cannot simply concatenate cells with NOW() or TODAY() functions.
You can learn more about Date and Time formats in this tutorial:
https://www.ablebits.com/office-addins-blog/change-date-format-excel/
I'd like to concatenate several value from cells taking the first letter.number.roman_numeral from each of three cells and populating it into one cell, less the parentheses, and adding a period.
I want to get to this value in a new cell in a new column:
"1.A.iii"
taken from the following cells / columns:
Cell (column) A: "(1) Copy goes here, copy goes here, Copy goes here."
Cell (column) B: "(A) Copy goes here, copy goes here, Copy goes here."
Cell (column) C: "(iii) Copy goes here, copy goes here, Copy goes here."
I used =CONCATENATE(LEFT(A2,3),LEFT(B2,3),LEFT(C2,5)) which works for extracting the first x number of characters from each and combining it, but my output looks like this: "(1)(A)(iii)" (close but no cigar)
I'd like to now:
1. remove the parenthesis and add periods
2. Allow this to work for other cells that have less or more characters than "iii" such as "i" or "xviii", respectively.
Any help is greatly appreciated. Thank you in advance!
Angelo
Hi
I have a column with codes like this 100026 and i need to split them like this 10-00-26 how can i use concatenate?
Hi Svetlana
How do i find or identify unique value of a cell with concatenated values.
E.g.
A B C
10 10 10 =CONCATENATE(A1,",",B1,",",C1) RESULTS 10,10,10
10 20 30
10 30 20
10 20 30
40 40 40
How do i get results show the following values:
A B C
10 10 =CONCATENATE(A1,",",B1,",",C1) RESULTS 10,,10
10 20 30 =CONCATENATE(A1,",",B1,",",C1) RESULTS 10,20,10
10 30 =CONCATENATE(A1,",",B1,",",C1) RESULTS 10,30,
ABOVE IT IS SHOWING COMMA IN BETWEEN TWO VALUES OR AFTER. I DONT WANT THE COMMA WHERE THE VALUE IS NOT THERE
Hi
I want to concat values in 2 different cells and then copy down, but when copying down, i want to keep 1 of the cells the same.
Example:
=CONCATENATE(B5,D2), =CONCATENATE(B6,D2), =CONCATENATE(B7,D2), etc...
but when i copy down, excel automatically changes it to =CONCATENATE(B6,D3), =CONCATENATE(B7,D4), etc...
Anyone knows how I can get this to work?
Thanks!
Tammy - you can add an absolute reference around whichever field you want to be constant by simply adding two $ signs:
Ex: from you formula above - =CONCATENATE(B5,$D$2) which you can then auto-fill the rest of the way down.
I am trying to use Concatenate or & to combine contents of column items in a row. I can get that to work, but if I drag the formula down it only shows the output value of the first cell. It doesn't recognize the formula as a formula where the cells are colored, (the relative cell ID changes correctly, however.) The only thing I have found to fix this is to click on each cell with the formula and then click in the function bar then the cells in the formula "color themselves" and then the output value is correct.
Example of What I Get:
INPUT | FORMULA | OUTPUT
A B C | |
1 R T Y | =A1&B1&C1 | RTY
2 F G H | =A2&B2&C2 | RTY
3 V B N | =A3&B3&C3 | RTY
Example of What I Think I Should Get:
INPUT | FORMULA | OUTPUT
A B C | |
1 R T Y | =A1&B1&C1 | RTY
2 F G H | =A2&B2&C2 | FGN
3 V B N | =A3&B3&C3 | VBN
I figured it out... These are static formulas. I changed the Calculation Option to Automatic and it fixes it.
want A column value in C column if B column have yes word in google sheet ..
for ex:
A column --- B column ----- C column
1 --- yes ----- 1
2 --- -----
3 ---- -----
4 ---- yes ----- 4
i try using this formula =IF(SEARCH("yes",B1), CONCATENATE(A1, " "), "")
and it works but i want to show C column values in other sheet like in one sheet i have two sheets .. Sheet1 have these A column and B column values .. and i want to use this formula in sheet2 to get this result but its not work .. can you please help me in this and one more thing can i use it like " =IF(SEARCH("yes",B1:B), CONCATENATE(A1:A, " "), "")" i mean rang , i dont wont to run this manually every time when i insert new value in a column and in b column . rang define and it will do the rest automatic in sheet2 .. i hope you understand my question .. thanks
Hi, your logical statement in the IF function does not return a boolean value which is why it seems that your calculation is not working. You should make the formula like this:
=IF(ISNUMBER(SEARCH("yes",B1:B)), CONCATENATE(A1:A, " "), "")
column A has a patient number and column b has a date of procedure
some patients have more than one procedure but i want to have each patient to have a separate identifier ... how can i do this?
for example i want to make a column where patients with 1D 123 = 1, and patients with ID 124 =2
then i want to make a column next to it that orders the procedures based on the dates for each unique patient. so if column A is patient 1, then column B, should have 1, 2, or 3 based on the order of procedure.
patient ID date of procedure
123 1/6/08
123 5/6/09
123 10/8/13
124 9/4/09
124 8/10/12
125 3/31/08
125 7/28/11
125 8/1/12
i want it to look like this to the left of the above data on my excel sheet
1 1
1 2
1 3
2 1
2 2
3 1
3 2
3 3
I want to Concatenate the numbers below, to create this format 55-19-00-0-007-00-00 but when I run the formula, this is the result that I get 55-19-0-0-7-0-0. Is there a way to keep the "00" and the "0" before the numbers after running a formula?
A B C D E F G
55 19 00 0 007 00 00
Hi Chalo,
Please try to change the cells format to Text or use the following formula:
=CONCATENATE(A1, "-", B1, "-", TEXT(C1, "00"), "-", D1, "-", TEXT(E1, "000"), "-", TEXT(F1, "00"), "-", TEXT(G1, 0))
I keep getting an error when trying to use this formula for concatenate and I can't figure out what's wrong. I'm trying to combine written text and also pulling in information from other cells. Please help!
=CONCATENATE(“Blank company currently has a position available for a ” ,H1, “ traveling nurse. This assignment is for an immediate start with a reputable facility seeking an experienced RN to fill a ” ,N1, “ contract in their intensive care unit. At Blank Company our Nurses comes FIRST! We pride ourselves in the commitment to our nurses! We have a dedicated, experienced team of industry leading healthcare recruiters to support our partnered nurses with 24/7 support. Our experienced recruiters get to know you to ensure the best placements are the best fit for you! We treat you like you're part of our Blank Company family. We value your compassion, dedication and knowledge in the healthcare industry! Your career is our focus; so let Blank Company be the gateway to your future opportunities! Apply today! Blank Company an Equal Employment Opportunity Employer.”)
Hi Jillian,
Text values in formulas are limited to 255 characters.
Please try to put the string " contact in their intensive..." in another cell and use this cell reference in your formula.
Hi Svetlana,
Can I please check with you if CONCATENATE formulas can be used with IF?
I have a list of employees with their departments and other details. What I'm trying to do is to amalgamate all employees of each department into one cell separated by a comma. Employees names are in column B and departments' names in column D.
Many thanks for your help.
J
Hi Jim,
Sure, you can use CONCATENATE together with IF. However, I cannot think of any formula that handle your task. This can be done with VBA code, or you can try our Combine Rows Wizard for Excel.
Hi Jim,
Use the below formula
=CONCATENATE(TRANSPOSE((B3:B10)&IF(LEN(B3:B10)>1,"-","")&D3:D10&IF(LEN(D4:D11)>1,"-","")))
But, before clicking enter, select the Transpose part
TRANSPOSE((B3:B10)&IF(LEN(B3:B10)>1,"-","")&D3:D10&IF(LEN(D4:D11)>1,"-",""))
and click F9
Then click Enter.
I have use B3 to B10 and D3 to D10 as the cell references. Change them as required. In case cells are empty, the result for those cells will be blank.
I have used "-" and "," as the text separators for the names and departments.
Do inform me if any changes are required in the formula.
Vijaykumar Shetye, Goa, India
Hello!
I have a list that was sent to me with addresses listed.
A2 - Name B2 - Street B2 - City D2 - State E2 - Zipcode.
Can I use concatenate to formulate it into one cell as following?
Name
Street
City, State, Zip
Thank You?
Hi Chelsea,
Please try to use the formula below and set the "Wrap text" option for the resulting cell (Ribbon tab Home - Alignment - Wrap Text).
=CONCATENATE(A2, CHAR(10), B2, CHAR(10), C2, CHAR(10), D2, CHAR(10), E2)
Excellent. was very helpful to me
Excellant Answer.
Thanks you son much
columnA Coloumn B Example
Name DIFFERENT Mobile nO oF same PERSON
John 9856565132
Jack 5616546511
Moses 4456456466
lee 4964895116
Jacobs 4565515156
John 8944988941
Jack 4984512984
Moses 5115619851
lee 5985947894
Jacobs 5158648998
Jack 4989899999
Moses 4944988916
lee 8894498994
Jacobs 9889449984
JOHN 5498416516
BUT I WANT THIS LIKE THAT
SEE:
NAME MOBILE-1 MOBILE-2 MOBILE-3
John 9856565132 8944988941 5498416516
Jack
Moses
lee
Jacobs
PLEASE HELP ME BY USING FORMULA
Dear IMRAN AZIZ,
Follow the below mentioned steps to get your work done.
(1) Copy the existing data in cells B1 to C15.
In cell A1, enter the below formula and drag it down.
=B1&" "&COUNTIF($B$1:B1,B1)
The data in column A will be John 1, Jack 1, ...
(2) Copy the names in column B.
Paste the names in cell A18.
Select the names in cells A18 to A32.
Go to Data - Remove duplicates and remove all the duplicate values.
(3) In cell B18, enter the formula
=IFERROR(VLOOKUP($A18&" "&COLUMN()-1,$A$1:$C$15,3,FALSE),"-")
Drag this formula to the right. If a person has 10 numbers, drag it upto 10 columns to the right.
Change the cell references as required. I have started in column 2, so the formula contains the part COLUMN()-1. If you start at column 5, then change this part to COLUMN()-4.
Vijaykumar Shetye, Goa, India
What is the error displayed data is not entered in the fourmula and it is executed.