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 25

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.
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. :-)
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.


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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now