Revise list in Excel

Posted on 2014-10-28
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
Question by:gregfthompson
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
LVL 26

Expert Comment

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.
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?

Author Comment

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.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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. :-)

Author Comment

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

Accepted Solution

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".


Author Closing Comment

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

Expert Comment

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

691 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