CONCATENATE command instead of how we command I can use cells A1: A11 I gathered together and certainly the term formula A1: A11 is used
CONCATENATE equivalent so that A1: A11 to be?![]()
Hi could you please post an example of what you are trying to do?
Quoting entire posts clutters the forum and makes threads hard to read !
If you are pleased with a member's answer then use the Star icon to rate it
Click here to see forum rules
You cannot use CONCATENATE(A1:A11) in excel,. you can use a user defined VBA function.
If you press ALT and F11, then go to Insert and select Module, then paste this code:
then close the window and go back to the Excel sheet and use formula:Function aconcat(a As Variant, Optional sep As String = "") As String ' Harlan Grove, Mar 2002 Dim y As Variant If TypeOf a Is Range Then For Each y In a.Cells aconcat = aconcat & y.Value & sep Next y ElseIf IsArray(a) Then For Each y In a aconcat = aconcat & y & sep Next y Else aconcat = aconcat & a & sep End If aconcat = Left(aconcat, Len(aconcat) - Len(sep)) End Function
=aconcat(A1:A11)
Is that what you need?
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
No I do not want VBA code. I want to excel with their commands to do this action
Then it would be, =CONCATENATE(A1,A2,A3,A4,...,A11)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Why not to use VBA? It's much simpler and faster to achieve your goal. Unfortunately, there is no such a command. Thus you'll need to use CONCATENATE function with many many arguments ... as NBVC stated.No I do not want VBA code. I want to excel with their commands to do this action
Last edited by contaminated; 09-07-2010 at 09:52 AM.
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, «Born in USSR»
Vusal M Dadashev
Baku, Azerbaijan
This question was raised in a training center. And are asking that Princess VBA coding to solve this question.
Anyway thank you friends
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks