?
Solved

I need to read from sheet1 and produce sheet2 as attached

Posted on 2014-12-18
4
Medium Priority
?
74 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 52

Accepted Solution

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

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

801 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