Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-2008, 09:57 PM
David Stricklen
 
Posts: n/a
Turn 3 columns into 1

I have 3 columns that I would like to be merged in to one. For example:

b2=3 c2=4 d2=6, and so e2 = 3
e3 = 4
e4 = 6

Thanks for anyone that can help
Reply With Quote
  #2 (permalink)  
Old 05-13-2008, 10:33 PM
Peo Sjoblom
 
Posts: n/a
Re: Turn 3 columns into 1

Copy and paste special and select transpose


--


Regards,


Peo Sjoblom



"David Stricklen" <dstricklen@kumc.edu> wrote in message
news:4829BA7F.8C8A.004C.0@kumc.edu...
>I have 3 columns that I would like to be merged in to one. For example:
>
> b2=3 c2=4 d2=6, and so e2 = 3
> e3 = 4
> e4 = 6
>
> Thanks for anyone that can help



--------------------------------------------------------------------------------


>I have 3 columns that I would like to be merged in to one. For example:
>
> b2=3 c2=4 d2=6, and so e2 = 3
> e3 = 4
> e4 = 6
>
> Thanks for anyone that can help



Reply With Quote
  #3 (permalink)  
Old 05-13-2008, 10:35 PM
Bob I
 
Posts: n/a
Re: Turn 3 columns into 1

Your example makes absolutely no sense, try again.

David Stricklen wrote:

> I have 3 columns that I would like to be merged in to one. For example:
>
> b2=3 c2=4 d2=6, and so e2 = 3
> e3 = 4
> e4 = 6
>
> Thanks for anyone that can help


Reply With Quote
  #4 (permalink)  
Old 05-13-2008, 10:44 PM
David Stricklen
 
Posts: n/a
Re: Turn 3 columns into 1

Ok, it's a bit more complex than that. I should have mentioned that there is more than one row of info

B2=5 c2=5 d2=10
b3=8 c3=9 d3=11
b4=9 c4=11 d4=500, and then e2 would = 5
e3=5
e4=10
e5=8
e6=9
e7=11
e8=9, and so on



>>> David Stricklen<dstricklen@kumc.edu> 5/13/2008 3:57 PM >>>


I have 3 columns that I would like to be merged in to one. For example:

b2=3 c2=4 d2=6, and so e2 = 3
e3 = 4
e4 = 6

Thanks for anyone that can help
Reply With Quote
  #5 (permalink)  
Old 05-13-2008, 11:26 PM
Sandy Mann
 
Posts: n/a
Re: Turn 3 columns into 1

Shamelessly stealing from RB Smissert in the Programming group try:

Sub TurnIt()
Dim LastR As Long
Dim rRow As Long
Dim cCol As Long
Dim pRow As Long
Dim dData As Variant

LastR = Cells(Rows.Count, 2).End(xlUp).Row

dData = Range(Cells(2, 2), Cells(LastR, 4))
pRow = 1
For rRow = 1 To LastR - 1
For cCol = 1 To 3
pRow = pRow + 1
Cells(pRow, 5).Value = dData(rRow, cCol)
Next cCol
Next rRow
End Sub

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk


"David Stricklen" <dstricklen@kumc.edu> wrote in message news:4829C568.8C8A.004C.0@kumc.edu...
Ok, it's a bit more complex than that. I should have mentioned that there is more than one row of info

B2=5 c2=5 d2=10
b3=8 c3=9 d3=11
b4=9 c4=11 d4=500, and then e2 would = 5
e3=5
e4=10
e5=8
e6=9
e7=11
e8=9, and so on


>>> David Stricklen<dstricklen@kumc.edu> 5/13/2008 3:57 PM >>>


I have 3 columns that I would like to be merged in to one. For example:

b2=3 c2=4 d2=6, and so e2 = 3
e3 = 4
e4 = 6

Thanks for anyone that can help
Reply With Quote
  #6 (permalink)  
Old 05-13-2008, 11:45 PM
Gord Dibben
 
Posts: n/a
Re: Turn 3 columns into 1

Play with this entered in E2 and copied to E4

=INDEX($2:$2,ROWS($2:3))


Gord Dibben MS Excel MVP


On Tue, 13 May 2008 15:57:51 -0500, "David Stricklen" <dstricklen@kumc.edu>
wrote:

>I have 3 columns that I would like to be merged in to one. For example:
>
>b2=3 c2=4 d2=6, and so e2 = 3
> e3 = 4
> e4 = 6
>
>Thanks for anyone that can help


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:28 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Cheap Loan | Mortgage | Myspace Layouts | Loans | Credit Counseling



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114