Results 1 to 3 of 3

Subtotalling variable data

Threaded View

  1. #1
    Registered User
    Join Date
    05-20-2012
    Location
    Bury St Edmunds, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Subtotalling variable data

    Hi there. In the attached sheet I am trying to return a Total in cell H5 (sheet 2) based on the following steps:
    Calculate no. of units in sheet 1, column L where ("£1.25" = 1 unit and "£2.50" = 2 units)
    Subtract units where there is a value in sheet 1, column M greater than zero. For example, row 13 in sheet 1 would total 1 unit ("£1.25" in L13 = 1 unit and there's nothing above zero in M13); row 20 would total 2 units using the same logic; but row 35 would be zero units as M35 = >0.
    Add the whole lot together to return my Total in sheet 2, H5.

    The problem I'm having is with getting it to subtract the appropriate number of units when it sees a value above zero in column M - i.e. subtract 1 unit when L*=£1.25 but subtract 2 units when L*=£2.50.

    Any help would be appreciated.

    Thanks
    Attached Files Attached Files

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