+ Reply to Thread
Results 1 to 3 of 3

% based on subtotal (on top)

  1. #1
    Forum Contributor
    Join Date
    05-11-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    268

    % based on subtotal (on top)

    Dear Friends,

    PFA the working file.

    Is there any formula which can calculate the value mentioned in col H and K.

    Doing this exercise manually is very time consuming when data is huge.

    Please assist.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,198

    Re: % based on subtotal (on top)

    Perhaps in H10 =IF(RIGHT(C10,5)<>"Total",G10/LOOKUP(2,1/(RIGHT($C$1:C9,5)="Total"),$G$1:G9),"")

    in K10 =IF(RIGHT(C10,5)<>"Total",H10*LOOKUP(2,1/(RIGHT($C$1:C9,5)="Total"),$J$1:J9),"")

  3. #3
    Forum Contributor
    Join Date
    05-11-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    268

    Re: % based on subtotal (on top)

    Thanks a tonne...
    You made my day.

+ 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. To calculate % based on subtotal
    By lalaarif1 in forum Microsoft Windows Help
    Replies: 0
    Last Post: 08-05-2018, 10:48 AM
  2. Subtotal - Delete zero Subtotal and prior rows that calculate to that zero Subtotal
    By Whatsherface in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2012, 08:37 PM
  3. Subtotal Based on Partial Value
    By Jluc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2012, 04:09 PM
  4. Subtotal based discounts
    By ianonline in forum Excel General
    Replies: 2
    Last Post: 06-04-2006, 12:35 PM
  5. [SOLVED] subtotal based on two conditions
    By ashish128 in forum Excel General
    Replies: 5
    Last Post: 04-28-2006, 12:20 PM
  6. I need to subtotal based on an if
    By Sandy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-07-2006, 01:30 PM
  7. subtotal based on ref no
    By Newbie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2006, 04:10 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