+ Reply to Thread
Results 1 to 5 of 5

Column A matches, then Sum that row and multiply by end value

  1. #1
    Registered User
    Join Date
    04-17-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Question Column A matches, then Sum that row and multiply by end value

    Have been doing this manually, but finding it very time consuming and want to know if it's possible to do what I'm hoping to achieve...

    Here is a very simplified version of the spreadsheet I am working off and for a multitude of reasons I have to keep it set up in this format. I'm hoping to calculate all the totals paid to different companies in each financial year but also have annual total records.

    What I want to do is for cell B9 for example, search column A, if company A, then sum the total in each row where A is listed up until June and then multiply the total of that row by the cost per unit figure in column K.

    Any help would be great!
    Attached Files Attached Files
    Last edited by Tom1010; 04-17-2017 at 04:35 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,369

    Re: Column A matches, then Sum that row and multiply by end value

    Attach a sample workbook(not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    04-17-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Column A matches, then Sum that row and multiply by end value

    Thanks John

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

    Re: Column A matches, then Sum that row and multiply by end value

    Try this.

    =SUMPRODUCT((RIGHT(A12,1)=$A$2:$A$9)*($B$2:$B$9:INDEX($B$2:$J$9,,MATCH("JUNE",$B$1:$J$1,0)))*$K$2:$K$9)
    Dave

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,369

    Re: Column A matches, then Sum that row and multiply by end value

    Dave has given you the formula.

    In your image you indicated that there was data for more than one year: if so, use Excel data (01/06/2017) for June 2017 to identify the year.

    And of course the formula would need to be modified.

+ 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] Summing the matches of one column only if its corresponding description matches a list
    By bishop-jese-erl in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-19-2015, 04:26 PM
  2. Replies: 5
    Last Post: 05-03-2014, 03:00 AM
  3. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  4. Macro to multiply a series of numbers by -1 if target cell matches a list
    By ameinfrank in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-26-2013, 04:25 PM
  5. Replies: 3
    Last Post: 06-22-2013, 12:54 PM
  6. Replies: 4
    Last Post: 04-14-2011, 03:46 AM
  7. Replies: 8
    Last Post: 08-06-2009, 09:02 AM

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