Solved

I need to read from sheet1 and produce sheet2 as attached

Posted on 2014-12-18
4
68 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:Mohammed Dallag
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 250 total points
ID: 40506695
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
ID: 40506700
Please find attached. Please see the formulas used in Sheet2.
5.2a.xlsm
0
 
LVL 48

Expert Comment

by:Martin Liss
ID: 40550842
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

695 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