Is there a way to convert a basic table, such as days of the week as column headings, months as row headings and values in each cell, into a list that would have January Monday Value
January Tuesday Value
January Wednes Value
Etc.
Is there a way to convert a basic table, such as days of the week as column headings, months as row headings and values in each cell, into a list that would have January Monday Value
January Tuesday Value
January Wednes Value
Etc.
Last edited by sss.seg; 09-17-2009 at 10:54 AM. Reason: Attached a file with an example table and list
Hi, sss.seg. Welcome to the forum.
Absolutely, should be pretty straightforward. Click GO ADVANCED and use the paperclip icon to post up your workbook.
Make sure the workbook shows a desired output on a separate sheet so we can see the goal clearly.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks, JBeaucaire. I've added the attachment
Try this:
![]()
Sub x() Dim rng As Range, n As Long With Sheet1 n = .Range("B4", .Range("B4").End(xlDown)).Rows.Count For Each rng In .Range("C3", .Range("C3").End(xlToRight)) rng.Copy Sheet2.Cells(Rows.Count, "B").End(xlUp)(2).Resize(n) .Range("B4").Resize(n).Copy Sheet2.Cells(Rows.Count, "C").End(xlUp)(2) rng.Offset(1).Resize(n).Copy Sheet2.Cells(Rows.Count, "D").End(xlUp)(2) Next rng End With End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks