Solved

Revise list in Excel

Posted on 2014-10-28
8
94 Views
Last Modified: 2014-11-11
Excel list has an address with information in a row from col A to column F plus additional month/year and price in rows immediately below the identifying row in column B and column C.

The objective is to repeat the address as many times as required and move the information from Columns B and C to the end column.

The required list example is in Columns H to Column P
0
Comment
Question by:gregfthompson
[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
  • 3
8 Comments
 
LVL 26

Expert Comment

by:ProfessorJimJam
ID: 40410497
unless you post a dummy example file, it wouldn't be possible for me to understand what is required. because the question is not clear.
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40411207
^Agreed.  It sounds like you're referencing an example file in your last sentence, but no file was attached.

However, am I correct in assuming you have records of information split into two rows and that you want the second row of data (in columns B & C) appended to the end of the first row (into columns G & H) and then replaced with the data in columms A:F?  Like this?
example
-Glenn
0
 

Author Comment

by:gregfthompson
ID: 40411967
I'm sorry. I thought it had uploaded an example but I made an error in attaching the example file. I think it is now attached to this message.
Caulfield-list-for-EE.xlsx
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40416818
There's a lot more going on (i.e., needing to be parsed and transposed) than just split rows of data.  The month and year data have to be split up and the price data needs to be extracted as a substring.  Also the Bed, Bath, Car data have to be parsed as well.

It's doable, but I'll have to get back to it later this evening or tomorrow.  I'm out. :-)
0
 

Author Comment

by:gregfthompson
ID: 40416844
Thanks for your note. Tomorrow is fine.
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40436500
Hi Greg,
Sorry for the delay.  I started working on this...had to leave town for a couple of days and forgot where I'd left off on it.

The attached Excel workbook is a modified version of your example.  It copies/transposes the relevant data from the active sheet on to a new sheet ("Results").  The tricky part is the prices; not all cells contain a single, extractable price value.  I return the first value found, otherwise you get the entire original value (ex., "Contact")

The macro name is "Transpose_Listings".

Regards,
-Glenn
EE-Caulfield-list-for-EE.xlsm
0
 

Author Closing Comment

by:gregfthompson
ID: 40436505
Thanks heaps Glenn. Top work!!!
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40436516
I'm glad I was able to help.  Again, sorry for the delay.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

726 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