<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Merge three columns into one list in excel</title> <atom:link href="http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/feed/" rel="self" type="application/rss+xml" /><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/</link> <description>Quality excel resource</description> <lastBuildDate>Sat, 11 Feb 2012 15:14:13 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Peter</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-25214</link> <dc:creator>Peter</dc:creator> <pubDate>Fri, 20 May 2011 03:06:49 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-25214</guid> <description>Hello,
I downloaded your excel workbook and wanted to know how to combine lists that are 2000 items in length?</description> <content:encoded><![CDATA[<p>Hello,<br
/> I downloaded your excel workbook and wanted to know how to combine lists that are 2000 items in length?</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-22145</link> <dc:creator>Oscar</dc:creator> <pubDate>Thu, 14 Apr 2011 05:17:50 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-22145</guid> <description>Shawna,
Yes, you can use the contact form on this page: &lt;a href=&quot;http://www.get-digital-help.com/excel-consulting/&quot; rel=&quot;nofollow&quot;&gt;Contact me &lt;/a&gt;</description> <content:encoded><![CDATA[<p>Shawna,<br
/> Yes, you can use the contact form on this page: <a
href="http://www.get-digital-help.com/excel-consulting/" rel="nofollow">Contact me </a></p> ]]></content:encoded> </item> <item><title>By: Shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-22109</link> <dc:creator>Shawna</dc:creator> <pubDate>Wed, 13 Apr 2011 20:57:43 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-22109</guid> <description>Can we please discuss via email so I can attach an example of what I am doing? My typed example above was obviously worthless! LOL
Thanks! :)</description> <content:encoded><![CDATA[<p>Can we please discuss via email so I can attach an example of what I am doing? My typed example above was obviously worthless! LOL</p><p>Thanks! <img
src='http://cdn.get-digital-help.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20786</link> <dc:creator>Oscar</dc:creator> <pubDate>Wed, 23 Mar 2011 16:11:59 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20786</guid> <description>Shawna,
Download excel file
&lt;a href=&quot;http://www.get-digital-help.com/wp-content/uploads/2009/06/udf-merge-ranges.xls&quot; rel=&quot;nofollow&quot;&gt;udf-merge-ranges.xls&lt;/a&gt;
Udf is in cell range B3:B24, sheet1.</description> <content:encoded><![CDATA[<p>Shawna,</p><p>Download excel file<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2009/06/udf-merge-ranges.xls" rel="nofollow">udf-merge-ranges.xls</a></p><p>Udf is in cell range B3:B24, sheet1.</p> ]]></content:encoded> </item> <item><title>By: Shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20780</link> <dc:creator>Shawna</dc:creator> <pubDate>Wed, 23 Mar 2011 14:00:14 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20780</guid> <description>Nope...I set up the following example:
Heading1  Heading2  Heading3   Merge  aa                              aa                         bb        hh                    bb
cc        ii         1          cc
2          dd
dd        jj         3          dd
ee                              ee
kk         4          ff
ff                              ff
gg                              gg
#VALUE!
#VALUE!
#VALUE!
I pasted the code in the VBA module and typed the statement:
=MergeRanges(A2:A11, B2:B11, C2:C11) into the Merge cell. Then copied it down.  However, notice only the A range merged.  Also, the merged column repeated dd and ff (the only ones preceeded by a space).  Any idea what I messed up?</description> <content:encoded><![CDATA[<p>Nope...I set up the following example:<br
/> Heading1  Heading2  Heading3   Merge  aa                              aa                         bb        hh                    bb<br
/> cc        ii         1          cc<br
/> 2          dd<br
/> dd        jj         3          dd<br
/> ee                              ee<br
/> kk         4          ff<br
/> ff                              ff<br
/> gg                              gg<br
/> #VALUE!<br
/> #VALUE!<br
/> #VALUE!</p><p>I pasted the code in the VBA module and typed the statement:<br
/> =MergeRanges(A2:A11, B2:B11, C2:C11) into the Merge cell. Then copied it down.  However, notice only the A range merged.  Also, the merged column repeated dd and ff (the only ones preceeded by a space).  Any idea what I messed up?</p> ]]></content:encoded> </item> <item><title>By: shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20772</link> <dc:creator>shawna</dc:creator> <pubDate>Wed, 23 Mar 2011 12:05:16 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20772</guid> <description>LOL, sorry...you gave me directions to follow, DUH! It&#039;s early, I&#039;m not awake yet, so the attention hasn&#039;t kicked in. I&#039;ll let you know how I make out when I get to work. Thanks!</description> <content:encoded><![CDATA[<p>LOL, sorry...you gave me directions to follow, DUH! It's early, I'm not awake yet, so the attention hasn't kicked in. I'll let you know how I make out when I get to work. Thanks!</p> ]]></content:encoded> </item> <item><title>By: shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20770</link> <dc:creator>shawna</dc:creator> <pubDate>Wed, 23 Mar 2011 11:53:48 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20770</guid> <description>I wish I could try it, but I don&#039;t know how to create VBA. I&#039;m a novice, though I did try a few times from random directions online, but it didn&#039;t work. :(</description> <content:encoded><![CDATA[<p>I wish I could try it, but I don't know how to create VBA. I'm a novice, though I did try a few times from random directions online, but it didn't work. <img
src='http://cdn.get-digital-help.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20761</link> <dc:creator>Oscar</dc:creator> <pubDate>Wed, 23 Mar 2011 09:01:00 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20761</guid> <description>Shawna,
I hope this user defined function works in excel 2003:
&lt;div id=&quot;code1&quot;&gt;&lt;pre&gt;
Function MergeRanges(ParamArray arguments() As Variant) As Variant()
Dim cell As Range, temp() As Variant
ReDim temp(0)
For Each argument In arguments
For Each cell In argument
If cell &lt;&gt; &quot;&quot; Then
temp(UBound(temp)) = cell
ReDim Preserve temp(UBound(temp) + 1)
End If
Next cell
Next argument
ReDim Preserve temp(UBound(temp) - 1)
MergeRanges = Application.Transpose(temp)
End Function
&lt;/pre&gt;&lt;/div&gt;
&lt;strong&gt;Where to copy the code?&lt;/strong&gt;
Press Alt-F11 to open visual basic editor
Click Module on the Insert menu
Copy and paste the user defined function into module
Exit visual basic editor
&lt;strong&gt;How to use user defined function in excel&lt;/strong&gt;
Select a cell
Type MergeRanges(A1:C10, Sheet2!A3:B10) in formula bar, you can have as many range arguments you like.
Press Ctrl + SHIFT + ENTER
Add more cells to your selection.
Click in Formula bar.
Press Ctrl + SHIFT + ENTER</description> <content:encoded><![CDATA[<p>Shawna,</p><p>I hope this user defined function works in excel 2003:</p><div
id="code1"><pre>
Function MergeRanges(ParamArray arguments() As Variant) As Variant()
Dim cell As Range, temp() As Variant
ReDim temp(0)
For Each argument In arguments
  For Each cell In argument
    If cell <> "" Then
      temp(UBound(temp)) = cell
      ReDim Preserve temp(UBound(temp) + 1)
    End If
  Next cell
Next argument
ReDim Preserve temp(UBound(temp) - 1)
MergeRanges = Application.Transpose(temp)
End Function
</pre></div><p><strong>Where to copy the code?</strong></p><p>Press Alt-F11 to open visual basic editor<br
/> Click Module on the Insert menu<br
/> Copy and paste the user defined function into module<br
/> Exit visual basic editor</p><p><strong>How to use user defined function in excel</strong></p><p>Select a cell<br
/> Type MergeRanges(A1:C10, Sheet2!A3:B10) in formula bar, you can have as many range arguments you like.<br
/> Press Ctrl + SHIFT + ENTER<br
/> Add more cells to your selection.<br
/> Click in Formula bar.<br
/> Press Ctrl + SHIFT + ENTER</p> ]]></content:encoded> </item> <item><title>By: Shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20614</link> <dc:creator>Shawna</dc:creator> <pubDate>Mon, 21 Mar 2011 21:26:59 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20614</guid> <description>Hmmm, tried again and I got it to work, but I still come up with zeros if one of my Lists has a blank.  This is SO frustrating!!</description> <content:encoded><![CDATA[<p>Hmmm, tried again and I got it to work, but I still come up with zeros if one of my Lists has a blank.  This is SO frustrating!!</p> ]]></content:encoded> </item> <item><title>By: Shawna</title><link>http://www.get-digital-help.com/2009/06/28/merge-three-columns-into-one-list-in-excel/comment-page-1/#comment-20612</link> <dc:creator>Shawna</dc:creator> <pubDate>Mon, 21 Mar 2011 21:02:36 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=1768#comment-20612</guid> <description>nevermind...sorry I bothered you, I can&#039;t get the new formula to work at all, so it&#039;s pointless.  Thanks for the time and effort anyway.</description> <content:encoded><![CDATA[<p>nevermind...sorry I bothered you, I can't get the new formula to work at all, so it's pointless.  Thanks for the time and effort anyway.</p> ]]></content:encoded> </item> </channel> </rss>
