Solved

I need to read from sheet1 and produce sheet2 as attached

Posted on 2014-12-18
4
54 Views
Last Modified: 2015-01-15
I need to read from sheet1 and produce sheet2 as attached.
This is the same as ticket ID: 28570578 but with modification on sheet1

I need to read from the sheet1 and produce sheet2
Asked by: dallagmm
Solved by: Haris Djulic

Please note that the sheet1 could have more than one well
5.2.xlsm
0
Comment
Question by:dallagmm
4 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 250 total points
Comment Utility
Hi,

pls try

Sub Macro()
IdxRow = 2
For Each c In ActiveSheet.Range(Range("B2"), Cells(3, Cells.Columns.Count).End(xlToLeft))
    c.Copy Destination:=Sheets("Sheet2").Range("C" & IdxRow)
    Cells(c.Row, "A").Copy Destination:=Sheets("Sheet2").Range("A" & IdxRow)
    Cells(1, c.Column).Copy Destination:=Sheets("Sheet2").Range("B" & IdxRow)
    IdxRow = IdxRow + 1
Next
End Sub

Open in new window

Regards
0
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
Comment Utility
Please find attached. Please see the formulas used in Sheet2.
5.2a.xlsm
0
 
LVL 45

Expert Comment

by:Martin Liss
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now