+ Reply to Thread
Results 1 to 6 of 6

Formulas to Count and Sum Transposed Headings v2

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formulas to Count and Sum Transposed Headings v2

    Hi Folks
    Missed these scenarios in my earlier quest.
    I have had to Transpose headings in another sheet which means I cannot just pull formulas across.

    Sample attached with Sheets and Cells etc to exactly match my master Workbook.

    Cheers
    hammer
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-07-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Office 365
    Posts
    19

    Re: Formulas to Count and Sum Transposed Headings v2

    HI,

    Here the formulas for M9:
    =COUNTIFS(INDIRECT("SelsResults!"&SUBSTITUTE(ADDRESS(1,MATCH(K9,SelsResults!$1:$1,0)),"$1","")&":"&SUBSTITUTE(ADDRESS(1,MATCH(K9,SelsResults!$1:$1,0)),"$1","")),1,SelsResults!$A:$A,1)

    And the formulas for P9:
    =SUMIFS(SelsResults!$B:$B,INDIRECT("SelsResults!"&SUBSTITUTE(ADDRESS(1,MATCH(K9,SelsResults!$1:$1,0)),"$1","")&":"&SUBSTITUTE(ADDRESS(1,MATCH(K9,SelsResults!$1:$1,0)),"$1","")),1)

    Regards,
    Rino

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formulas to Count and Sum Transposed Headings v2

    This is weird, I have input the exact information from my actual Workbook into the sample book and your formulas work fine.
    But when I input the formulas into my actual Workbook I get different (incorrect) results- not sure why but still looking-

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formulas to Count and Sum Transposed Headings v2

    Hello, hammer2 !

    This is a slightly different approach.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in M9

    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in P9.

  5. #5
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formulas to Count and Sum Transposed Headings v2

    Flame, manually checked and a Gold Star yet again Sir!

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formulas to Count and Sum Transposed Headings v2

    Thank you, hammer for the feedback and kind words.

+ 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] Formula to Sum Transposed Headings
    By hammer2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2015, 09:51 PM
  2. [SOLVED] Using Column Headings in formulas - is it possible
    By john dalton in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-11-2014, 10:00 AM
  3. [SOLVED] Need Formulas That Organize and Combine Column Headings
    By artiststevens in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2013, 06:42 PM
  4. Replies: 0
    Last Post: 11-15-2007, 02:41 AM
  5. Replies: 2
    Last Post: 11-23-2006, 01:41 PM

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