+ Reply to Thread
Results 1 to 4 of 4

Autofilling cell with todays date, and some SUMIFS configuration

  1. #1
    Forum Contributor
    Join Date
    05-20-2015
    Location
    Stockholm
    MS-Off Ver
    2013
    Posts
    307

    Autofilling cell with todays date, and some SUMIFS configuration

    In the attached book.

    1: Is there a way to always add todays date in column X when filling the cell the the right?
    2: How to add a criteria that only sums from the given month from row1?

    Sumifstest1.xlsx

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,760

    Re: Autofilling cell with todays date, and some SUMIFS configuration

    I don't understand what you mean by #1. Column X is empty. The only place dates appear is E1:P1. Where are you filling to the right and where you want today's date to appear?

    Including the date as part of your SUMIFS criteria is not hard, but your data is by week and you want to sum by month. Most months start and end in the middle of a week. How do you want to do your sums? By the first day of the week, last day of the week, or somehow split up the weeks between two months?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    05-20-2015
    Location
    Stockholm
    MS-Off Ver
    2013
    Posts
    307

    Re: Autofilling cell with todays date, and some SUMIFS configuration

    Quote Originally Posted by 6StringJazzer View Post
    I don't understand what you mean by #1. Column X is empty. The only place dates appear is E1:P1. Where are you filling to the right and where you want today's date to appear?

    Including the date as part of your SUMIFS criteria is not hard, but your data is by week and you want to sum by month. Most months start and end in the middle of a week. How do you want to do your sums? By the first day of the week, last day of the week, or somehow split up the weeks between two months?
    Sorry, I worded 1 wrong - I want todays date in column E, whenever I insert a part in column F. (its in sheet1)

    2: I want whole months as "august" - I tried to have "august" as a criteria from row1 - but it reads the "01-08-2015" under the formatting instead

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,760

    Re: Autofilling cell with todays date, and some SUMIFS configuration

    Quote Originally Posted by Hansemand View Post
    Sorry, I worded 1 wrong - I want todays date in column E, whenever I insert a part in column F. (its in sheet1)
    This requires a macro. See attached.

    2: I want whole months as "august" - I tried to have "august" as a criteria from row1 - but it reads the "01-08-2015" under the formatting instead
    You have to add two criteria to your SUMIFS, one that says that the date is greater than or equal to the date for the given month (which is the 1st of the month), and less than or equal to the last day of the month. See updated formulas.
    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. Autohide Columns that are < todays date and > todays date by 2 & 7 days
    By Dropfiddy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2015, 03:51 AM
  2. Replies: 10
    Last Post: 12-10-2014, 08:44 PM
  3. Using Dates in Excel (referencing todays date and cell date)
    By sradwanski in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2014, 08:01 PM
  4. Using VB to find a range based on todays date and todays date +30
    By Steve_al in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 09:31 AM
  5. Filling cells with 3 different colors based on date in cell and todays date
    By chinookcrew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2009, 07:36 AM
  6. Replies: 3
    Last Post: 05-28-2008, 01:32 PM
  7. Print todays Report using todays date
    By jerryjaysr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2007, 04:09 PM

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