+ Reply to Thread
Results 1 to 6 of 6

Compiling complex text data in a table

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    37

    Compiling complex text data in a table

    Okay, so, I’m looking to put a formula into excel which does the following:

    I want the data from column ‘H’ and column ‘I’ (shown on image 1) to collect and show up in a table on a separate worksheet (image 2) automatically, without me having to input the data myself. However, I have a feeling this will be complicated as each cell in the table will need different circumstances in order to count the instance.

    (apologies, wasn't sure how to inbed the images in this post)

    Image 1: http://img.photobucket.com/albums/v38/Kimaria/data1.jpg

    Image 2: http://img.photobucket.com/albums/v38/Kimaria/data2.jpg

    Example:
    If counselling shows up alongside the postcode AB10, count as 1 within the cell: B2. Etc…etc…

    The purpose of this is to show what services are being commissioned under a certain postcode.

    Is this possible to do via the DCOUNTA function or by using a Pivot Table? (Neither of which I have any experience with, unfortunately). If anyone would be able to point me in the right direction or what formula I need to do this, that would be great!

    Thanks in advance for your help and apologies if my explanation was poor. If you need more information, I’d be happy to provide it.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Compiling complex text data in a table

    Hi and welcome to the board.

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    07-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Compiling complex text data in a table

    Thanks for the advice, arthur. I've managed to attach the dummy data with a small example of what I mean.

    Hopefully this will be more helpful.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Compiling complex text data in a table

    A pivot table might be a possibility

    See attached

    I have used a dynamic range called dbase - You can get more info on this subject at http://www.contextures.com/xlPivot01.html
    Attached Files Attached Files

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Compiling complex text data in a table

    or use sumproduct in b2 put
    =SUMPRODUCT(--(TEST2!$H$4:$H$1000=$A2),--(TEST2!$I$4:$I$1000=B$1))
    drag across and down
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    07-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Compiling complex text data in a table

    Thank you both so much! That's so useful! I'll have a play with both options and see which one I find easier to work with.
    Thanks again for your time. It's really aprpeciated!

+ Reply to Thread

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