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 11. Total comments: 449
Dears hi,
i have date in format dd,mmm,yyyy
date is
16-01-2017
17-01-2017
But want as in text format like
'16-01-2017
'17-01-2017
any one can help with this
thank you
hello all;
i want to concatenate cells from sheet 1 according to certain criteria
and i successfully did. But the problem i face now, if i insert new line between existing lines in the sheet 1 the function will skip the new line.
any idea how to make it on all lines?
Thank you
Regards
CORRECTION
Hello All,
I spent great deal of time trying to solve my case by searching on the web
for the correct Excel formula, but unfortunately I'm still looking for it.
I saw a lot of samples, videos, tutorial…still not yet found what I’m
looking for. I’m must confess, I’m new in this and it’s quite hard to
find the correct formula for the following problem (pretty tricky):
I have an article with Id# 300045 and this article has 5 pictures – 300045,
300045k, 300045ak, 300045bk.
I want to retrieve all 5 pictures to this specific Id 300045 as follows:
COL A COL B COL C COL D COL E
300045 300045 300045k 300045ak 300045bk
300045k 990099 990099k 990099bk
300045ak 915501 915501k
300045bk 915502
300045ck 930045 930045ak 930045kk
990099
990099k
990099bk
915501
915501k
915502
930045
930045k
930045ak
930045kk
Any ideas?
Thank you for your help.
Best regards,
Miguel
Hey,
I am using the concatenate command to put a group of things together. One of the numbers is a sum of a bunch of numbers from another page and when not formatted it has a number of digits after the decimal point (17.9476930697) In the original cell I have it formatted to only show 2 digits after the decimal point but when I run the command the formatting resets and shows every number after the digit point.
I have multiple cells and multiple lines so just "hard inputting" the number isn't much of an option and its a document that could undergo revisions.
Is there anyway to format numbers within a concatenate command?
Cheers,
The ROUND function can be used to change the number of decimal places being shown when you are concatenating - e.g. text in cell A1, number with 9 decimal places in B1. The following will reduce to the number part to 2 decimal places:
=CONCATENATE(A1,ROUND(B1,2))
hello all,
I have a situation need your advise on how to get my intended result in excel.
In sheet1--> column C --> row 10, I have a sentence / description referring to a sum of quantity (say 250MT) which is a sum of various units in sheet2 (say sum of 10 containers detailed with various other information).
the question is how to merge the cell of sum in sheet2 In sheet1--> column C --> row 10.
Appreciate your advise by email.
thank you
This is a really useful article. It allowed me to build my own simple binary converter in Excel. Thanks!
Hi Everyone,
I Do Make sale sheets for my company in excel, In A1 I put a company Name and and B1 i put the representative from our marketing team, like wise i already made a sheet with thousand companies and representative,i want that when i write a compan name while making sales sheet so the representative name auto fill in cell by the date above which i made,
can any one help me out for this.
How to concatenate ROW and COLUMN values?
I am trying to join text with number cell with CONCATENATE. Now number cell is formatted as if minus its in Red and if plus its written in blue. is it possible to reflect the same formatting with CONCATENATE?
Column A
330
340
320
232
343
Column B
05
05,08,09
03,04,08
01,02,05,06,07,03,04,08,09
06,01 0.45 23207
Price
0.50
0.25
0.98
0.58
0.45
Find_Price (After concatenation of column A & B)
33005
34008
32004
34009
23207
Dear All, I have a query related to mix of concatenate and lookup, so please see below my requirement and help for the same.
Column A Column B Price Find_Price
330 05 0.50 33005
340 05,08,09 0.25 34008
320 03,04,08 0.98 32004
232 01,02,05,06,07,03,04,08,09 0.58 34009
343 06,01 0.45 23207
I have a list of employee IDs with corresponding data, some employees have multiple rows of information. I'm trying to create a single row for each employee by moving the 2nd & 3rd lines of information onto a single line. Some employees have just one line, others 2 and some 3. Can a do an if statement to see if cell row below = cell row above & then concatenate? What happens to empty cells in the selection of cells?
Is there a way to grab the first initial of the word in column A and concatenate it with the contents of column B?
Column A Column B Column C
Jim Noriega JNoriega
John Doe JDoe
I was wondering if there is a way to concatenate based on if function.
Please see below.
Thank,
Input
--------|Class 1|Class 2|Class 3
Person 1-|---x---|-------| ---x---|
Person 2-|---x---|---x---| -------|
Person 3-|---x---|-------| ---x---|
Output
Class 1 Person 1, Person 2, Person 3
Class 2 Person 2
Class 3 Person 1, Person 2
I was wondering if there is a way to concatenate based on if function.
Please see below.
Thank,
Input
Class 1 Class 2 Class 3
Person 1 x x
Person 2 x x
Person 3 x x
Output
Class 1 Person 1, Person 2, Person 3
Class 2 Person 2
Class 3 Person 1, Person 2
Hello
If someone can help to take out and flight and combine the total sum of each destination
1.FEBRIANA/SALSABILA MS F BWN BKK YO A 051H I-BI796 SUB
1PCS 10KG
2.HABTESELSSIE/MELA MISS F BWN BKK YS A 049C I-BI828 BKI
1PCS 11KG
3.ISKANDAR/FRANS HUBE MR M BWN BKK YQ A 030A I-BI796 SUB
M 2PCS 20KG
4.KUSUMADEWI/LANYAWA MRS F BWN BKK YQ A 030B I-BI796 SUB
H 2PCS 20KG
Re:above
I should have said I only want to concatenate the ID numbers based on the ones who said no.
Hi
On one tab I have 2 rows of columns, 1 is an ID number and the other a simple yes or no response.
I only want to concatenate the results of those who's answer is No to another tab (lets say from tab B & tab A)
My range of ID's is B6:B35 and responses of Yes/No is K6:K35.
Each time I do this I am getting all ID's coming through so I'm not sure how to exclude these in a formula. I'm not experienced with macro's so that won't be an option if that's the only way to do it.
If it can't be done in one formula then that my next option is to create and hide a column on tab B that shows relevant ID's based on an IF function so that if there is no way to concatenate all values individually across two columns, I will be able to get the ones I need from one column. I'm just wondering there's a tidier way (hope that makes sense).
Thanks in advance.
Ian
Dear all,
it is possible to "force" Excel in some way, to count with the string, constructed by CONCATENATE, as the function?
For explanation - I have this data: CONCATENATE(„=“;“1″;“+“;“1″) and I need the result to see as "2" and not only as "=1+1"
Any idea?
Thanks for your answer in advance!!!
Hi Richard,
For this, use the embedded SUM function like this:
=CONCATENATE("=";SUM(1+1))
Hi Svetlana, yes, it count the embedded numerical example, but the result is still the string in the shape "=2". I need some solution, where the result is not a string, but the completely counted function (i.e. only "2").
In real, I have a little bit complicated data in my sheet, "1+1" is only example for easy explanation of my problem.
Richard,
The result of the Concatenate function is always a text string. If you want to return a number, use SUM or SUMIF function, or a combination of Sum functions. It's not possible to advise an exact formula without knowing the details of your task.
I have this data. May I know how can I achieve the results in column C by input (what) formulas? Thanks alot.
A B C
Name Code Formulas Results
P1 002 002, 003
P1 003
P2 004 004, 006, 007
P2 006
P2 007
P3 005 005, 008
P3 008
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?