+ Reply to Thread
Results 1 to 7 of 7

SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

Hybrid View

  1. #1
    Registered User
    Join Date
    03-07-2018
    Location
    Belfast
    MS-Off Ver
    2017
    Posts
    13

    Question SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    Hi All,
    Unsure if this is possible, been trying a few different approaches this morning, but heres a description:


    Range G6:AI2000 contain monetary calculations, based on a statement which only populates a value into the cell if the
    Column A contains the date of the transaction,
    Rows 3 and 4 contain the beginning date of the month and the end date of the month respectively.

    What I would like to happen is, if the date in Column A equals the start date of the month (E.G Column H = May 2018), and the date within Column A is on or before the end date of that month, then sum anything in the Range of G:AI.


    Unsure if this is possible, but any help is appreciated.


    Thanks
    Daniel

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    Sounds very possible. Could you please provide a sample workbook? Thanks.

    Attach a sample workbook (not a picture or pasted copy). 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.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,080

    Re: SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    03-07-2018
    Location
    Belfast
    MS-Off Ver
    2017
    Posts
    13

    Re: SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    Hi,
    Thanks for the reply, I've attached a cleansed version to this post.

    The expected results are that ROW 2 should be populated with any the income generated from any sale within that month, ideally over the life of the contract.



    Thanks in advance,
    Daniel
    Attached Files Attached Files

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    Your date formats ar European for start dates and American for end dates. I changed the date ranges to "fit" the data.

    Anyway, I think this is what you want. I converted the data into an Excel Table because Excel Tables "know" how big they are, so as you add data, you do not have to change the formulas. Also you can use header names in the formulas which makes it easier to understand what they are supposed to be doing.

  6. #6
    Registered User
    Join Date
    03-07-2018
    Location
    Belfast
    MS-Off Ver
    2017
    Posts
    13
    Quote Originally Posted by dflak View Post
    Your date formats ar European for start dates and American for end dates. I changed the date ranges to "fit" the data.

    Anyway, I think this is what you want. I converted the data into an Excel Table because Excel Tables "know" how big they are, so as you add data, you do not have to change the formulas. Also you can use header names in the formulas which makes it easier to understand what they are supposed to be doing.
    Thanks for the reply, I cannot see an attachment though?

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: SUM Across Multiple Columns, IF within specified Date AND date plus 12 Months

    I failed to notice that it did not attach since it is now too big. Here is the compressed version.
    Attached Files Attached Files

+ 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] Counting with Multiple Criteria - Months and Date Differences
    By kujoking7 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-14-2017, 04:58 PM
  2. [SOLVED] Creating a view by filtering 2 columns by date (both within 3 months of today's date)
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-21-2014, 05:04 AM
  3. [SOLVED] Add date + 3 months in vba so the VBA sends mail reminder exactly 3 months before due date
    By JimmyQ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 08:54 AM
  4. [SOLVED] Need a Formula to sum across columns for date + 14 months
    By sunirone in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2013, 10:49 PM
  5. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 AM
  6. Given a date......find the same date two months prior to the given date
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2012, 11:24 PM
  7. Replies: 2
    Last Post: 01-04-2012, 09:15 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