Results 1 to 4 of 4

Combining data in several rows if a condition is met.

Threaded View

kingcal Combining data in several... 06-05-2011, 03:21 PM
watersev Re: Combining data in several... 06-05-2011, 05:08 PM
foxguy Re: Combining data in several... 06-05-2011, 05:16 PM
Richard Buttrey Re: Combining data in several... 06-05-2011, 05:26 PM
  1. #1
    Registered User
    Join Date
    02-22-2007
    Posts
    10

    Combining data in several rows if a condition is met.

    Hi there - back with another query!

    I am trying to tidy up bank statements which have been subjected to OCR and saved in Excel. Due to the way the original statements are laid out, some of the transactions have details over several rows (could be two, three or more).

    I need a macro/formula to do is combine the data so there is only one line per transaction.

    In the attached example, the formula or macro should recognise if there is a blank cell in Column A at the start of the row and if this is the case combine the contents of the cells on the rest of that row and all the rows below it (until it comes across another row with an entry in Column A) with the last row above which didn't have a blank cell at the start of it.

    I've probably not explained myself very well so have attached an example of the data I'm working with and what I'm trying to achieve.

    Your help is much appreciated as always,

    Ian
    Attached Files Attached Files
    Last edited by kingcal; 06-05-2011 at 03:22 PM. Reason: typo!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1