+ Reply to Thread
Results 1 to 6 of 6

Sumifs a dynamic table to sum one column the date < today - paydate

  1. #1
    Registered User
    Join Date
    04-26-2019
    Location
    Berlin
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Sumifs a dynamic table to sum one column the date < today - paydate

    Hello everybody,

    I am using a German version of Excel for Mac. So don't be hating if I translate something wrongly.

    My issue is that I have a dynamic table (ex. Tab) where I want to get the sum of one column (ex. Net) if the date of Tab (ex. date) is smaller than today minus the day of payment [ex. paydate].

    So i wrote

    =sumifs(Tab[Net];Tab[date];"<="&today()-Tab[paydate]

    somehow sumif doesn't care about my dynamic column paydate. If I change that Tab[paydate] to a number (ex. 1-100000) it works. but with the dynamic column name not.

    Can someone could help me please?

    I would be very thankful.

    Greetings DerNeuling

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Sumifs a dynamic table to sum one column the date < today - paydate

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-26-2019
    Location
    Berlin
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Re: Sumifs a dynamic table to sum one column the date < today - paydate

    Thanks for your advice but I managed to do a workaround via sumproduct.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Sumifs a dynamic table to sum one column the date < today - paydate

    Care to share what you came up with?

  5. #5
    Registered User
    Join Date
    04-26-2019
    Location
    Berlin
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Re: Sumifs a dynamic table to sum one column the date < today - paydate

    =SUMPRODUcT((Tab[Net])*(Tab[date]<=R$6-Pay_Z-Tab[paydate]))

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Sumifs a dynamic table to sum one column the date < today - paydate

    Thanks for the update

+ 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] Sumifs using today's date as a criteria
    By Cbird in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-27-2017, 05:01 PM
  2. [SOLVED] Dynamic sumifs in a table with multiple criteria
    By JEAN1972 in forum Excel General
    Replies: 5
    Last Post: 12-04-2015, 07:25 PM
  3. Dynamic Column and SUMIFS
    By rjp82 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2014, 03:47 PM
  4. Replies: 5
    Last Post: 06-06-2013, 05:12 PM
  5. [SOLVED] Help with sumifs with dynamic sum column selection
    By MCunningham in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 03:35 PM
  6. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  7. [SOLVED] Entering date in cell need to show bi-weekly paydate in another
    By Rebecca in forum Excel General
    Replies: 4
    Last Post: 05-21-2006, 02:10 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