+ Reply to Thread
Results 1 to 2 of 2

Indented Headings in single column - need to extract to multiple columns

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    2

    Indented Headings in single column - need to extract to multiple columns

    I have a spreadsheet which pulls in data, however the headings and sub-headings come in the same column i.e. A and are indented, for example:

    Columns A

    England
    Apple
    Brand A
    Brand B
    Pear
    Brand A
    Brand B
    Brand C
    France
    Apple
    Brand A
    Brand B
    Pear
    Brand A
    Brand B
    Spain
    Apple
    Brand A
    Brand B
    Brand C

    I need to display this in a tabular format i.e.

    Country Produce Type
    England Apple Brand A
    England Apple Brand B
    England Pear Brand A
    England Pear Brand B
    England Pear Brand C
    France Apple Brand A
    France Apple Brand B
    France Pear Brand A
    France Pear Brand B
    Spain Apple Brand A
    Spain Apple Brand B
    Spain Apple Brand C

    This will allow me to pivot if required. For example heading 1 is country and this is indented by 1 space, heading 2 is Produce and this is indented by 3 spaces, heading type is indented by 5 spaces.

    Is there a formula I can use to keep the original indented column data but also view in a a tabular format.

    Happy to send over an example Excel file.

    Thanks,
    Brett
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-04-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Indented Headings in single column - need to extract to multiple columns

    I have tried Index / Match but due to the indents this is not working.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA Create Yearly Extract Using Column Headings
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-09-2014, 11:20 AM
  2. [SOLVED] Delete Multiple Columns with specific column headings using a Macro.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-30-2013, 07:28 PM
  3. Macros to lookup column and row headings and extract data
    By ramliedt in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-04-2013, 11:33 AM
  4. [SOLVED] Need to extract text from within multiple strings and arrange it in a single column
    By sampflederer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2013, 01:35 PM
  5. Single Column to Multiple Columns
    By hscmsf in forum Excel General
    Replies: 1
    Last Post: 02-08-2012, 02:38 PM

Tags for this Thread

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