+ Reply to Thread
Results 1 to 6 of 6

I need a formula that will distinguish blocks of data with sub headings as they are foud

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    I need a formula that will distinguish blocks of data with sub headings as they are foud

    Hi I am requiring a formula that will take sub heading and allocate it to a list of data until the next sub heading appears and then allocate that to the next list of data and so on.

    Please see attached sheet for details.

    Any questions, please ask.

    John
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: I need a formula that will distinguish blocks of data with sub headings as they are fo

    May be this??

    In D5 Cell


    =IF(A5="","",IFERROR(LOOKUP(2,1/($B$5:B5<>""),$B$5:B5),""))&C5


    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: I need a formula that will distinguish blocks of data with sub headings as they are fo

    Try this one

    =IF(A5<>"",LOOKUP("zzz",B$5:B5)&" "&C5,"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,599

    Re: I need a formula that will distinguish blocks of data with sub headings as they are fo

    Try this,
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: I need a formula that will distinguish blocks of data with sub headings as they are fo

    Cheers guys, great responses both work equally well.

    John

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: I need a formula that will distinguish blocks of data with sub headings as they are fo

    Thank you John for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

+ 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] Need a formula to count blocks of data
    By john dalton in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-15-2015, 08:57 AM
  2. Applying formula to consecutive blocks of data
    By Patrician in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-04-2014, 10:44 AM
  3. [SOLVED] This formula that I was given by my coordinator does not distinguish between,,,
    By laurabach in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-22-2013, 03:59 AM
  4. Replies: 0
    Last Post: 11-06-2012, 04:09 PM
  5. Using macros to identify blocks of data and summarise those blocks
    By gophbeav in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2012, 04:35 AM

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