+ Reply to Thread
Results 1 to 4 of 4

Sum a range of cell in a column based on the the two cells from another column

  1. #1
    Registered User
    Join Date
    08-03-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    9

    Sum a range of cell in a column based on the the two cells from another column

    Hi everyone,

    On the spread sheet, I have two columns, column A is for Date, column B is for Revenue. I want to sum the revenue based on any specific date range on column A. For example, i want to know how much is the revenue from 4/15 to 4/30 or 4/1 to 4/20. The start date (4/15) and the end date (4/30) will be manual input from a specific cell (start date on cell D1, and end date on cell E1) and the sum of the revenue will be on cell F1. So any time I change the date on cell D1 and E1, i will get the sum revenue on cell F1.

    Thank you so much for help.
    Last edited by HI808; 04-17-2016 at 08:24 PM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Sum a range of cell in a column based on the the two cells from another column

    Try this...
    =SUMIFS(B:B,A:A,">="&D1,A:A,"<="&E1)

  3. #3
    Registered User
    Join Date
    08-03-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Sum a range of cell in a column based on the the two cells from another column

    Thank you so much Phuocam for your quick reply and your formula works perfectly. Thank you

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Sum a range of cell in a column based on the the two cells from another column

    You're welcome!

+ 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. Macros merge cells in a column based on same cell in another column
    By NADIAYO in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-06-2015, 04:29 PM
  2. Replies: 0
    Last Post: 07-03-2015, 03:30 AM
  3. [SOLVED] Copy and Paste Range of Cells based on # of cell values in Column A
    By bwaite87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2014, 05:51 PM
  4. [SOLVED] Unlock a range of cells in a column ONLY when the first cell of that column has data.
    By damienchew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2014, 12:14 AM
  5. [SOLVED] Distribution of Cells in a Column Based on Cell Data in Another Column
    By leoxanigm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-27-2013, 04:29 AM
  6. Replies: 1
    Last Post: 08-15-2013, 04:12 PM
  7. Formula/macro to edit cells in one column based on contents of a cell in another column
    By robbyvegas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2012, 06:10 AM

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