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
  • 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.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article is a follow-up to my Mappit! Addin Article (, it was inspired by an email posting I made to EUSPRIG (, I will briefly cover: 1) An overvie…
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 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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

829 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