+ Reply to Thread
Results 1 to 3 of 3

Sum based on a match

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    Sum based on a match

    i have a column containing 1 to 36 representing months(A2:A37) and i have one more cell(M1) in which i am calculating the month by taking difference between two dates.

    So i want a formula that match M1 with A2:A37 value and based on match i want to add the column values(B2:B37) corresponding to match.

    for eg. -if M1= 5 ,i want to get the sum from B7:B37 and so on depending on M1 value.if the value of M1 =0 then i want to sum from B2:B47.

    Please help.
    Last edited by sandhya16; 08-03-2015 at 01:03 PM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sum based on a match

    Hi.

    Please re-read the forum rules, in particular that relating to cross-posting:

    http://www.mrexcel.com/forum/excel-q...condition.html7

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    9

    Re: Sum based on a match

    alright what do i need to do now?

+ 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] Match existing column name, copy based based on matching name, drag till end
    By Amolvijay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-19-2014, 04:20 PM
  2. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  3. [SOLVED] Dynamic Name Range using Offset&Match with Match based off a different column
    By mdlpjr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2013, 06:33 PM
  4. Replies: 6
    Last Post: 12-10-2012, 06:26 PM
  5. Index Match based on 2 Criteria only returning 1 match
    By stsanders22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 11:26 PM
  6. match, sum based on max. freight based on furthest distance formula.
    By simpson in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-30-2012, 02:01 PM
  7. Replies: 4
    Last Post: 12-14-2009, 03:21 PM

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