+ Reply to Thread
Results 1 to 2 of 2

How zero cell data by evaluting a date

  1. #1
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    111

    How zero cell data by evaluting a date

    My original data has information in monthly buckets throughout the year. How could I zero monthly data after an end date (column B)? In the attached example, B3 has an end date 10/31/20. I want to zero all of the data in 11/20 and 12/20. Also, if the end date is blank, I want to do nothing.

    I listed how the data should look below the example in the attachment for ref.

    Thank you for any support.
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: How zero cell data by evaluting a date

    First, format your dates in row 2 to actual dates (end of month, e.g. 1/31/2020, 2/29/2020, etc.). You can do this manually or via a formula, and then format the cells to just display mm/yyyy.

    Formula to add dates (enter in C2 then fill right):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then, in C3 and filled right/down, you can use the following. Replace the reference to C16 with your actual formula before filling right/down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Alternatively, you could use the first of the month and adjust the second formula accordingly.

+ 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. Looking to display data in a cell, only if today's date is 7 days past a cell's date
    By mbenderpetassure in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2015, 01:57 PM
  2. [SOLVED] Macro to match date in data table and copy cell range containing date.
    By 54ed in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2014, 04:52 AM
  3. [SOLVED] Data Validation won't accept Start Date and End Date from cell values.
    By SpecialBrew in forum Excel General
    Replies: 12
    Last Post: 03-16-2014, 10:23 PM
  4. Replies: 4
    Last Post: 05-01-2013, 07:38 PM
  5. Combining and Evaluting 2 columns
    By MrFishman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2010, 02:40 PM
  6. Replies: 3
    Last Post: 05-28-2008, 01:32 PM
  7. Evaluting 2 cells, adding one to largest for another cell.
    By PE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2006, 03:45 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