+ Reply to Thread
Results 1 to 5 of 5

Lost Value after Day Ends

  1. #1
    Forum Contributor
    Join Date
    10-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    292

    Lost Value after Day Ends

    I found a flaw in my system!

    Because I have this formula set to show nothing if it's not today's date, in order to prevent a million zeros throughout my worksheet before the day arrives, after the day leaves and there is data in the respective column, I'm loosing my value because it reverts to empty when it's not today's date.

    How can I modify this formula so if there is data in the respective column (for example, Z6:Z36) and even thought it's not today's date, it leaves the respective value in that cell? The cell in question right now is Z44.

    I was thinking this would be the formula, but Excel is not liking it one bit!

    Please Login or Register  to view this content.
    Thank you for your help.

    lost-value.jpg
    Last edited by eemiller1997; 07-05-2017 at 07:18 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Lost Value after Day Ends

    Try

    =IF(OR(Y$3=TODAY(),COUNTIF(Z6:Z36, ">0")), 450-SUM(Z37:Z43,Z45), "")

  3. #3
    Forum Contributor
    Join Date
    10-25-2011
    Location
    Preston, England
    MS-Off Ver
    Excel 2016
    Posts
    136

    Re: Lost Value after Day Ends

    =if(or(y$3=today(),countif(z6:z36, ">0")),450-sum(z37:z43,z45),"")

  4. #4
    Forum Contributor
    Join Date
    10-25-2011
    Location
    Preston, England
    MS-Off Ver
    Excel 2016
    Posts
    136

    Re: Lost Value after Day Ends

    Ha, you beat me!

  5. #5
    Forum Contributor
    Join Date
    10-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    292

    Re: Lost Value after Day Ends

    Quote Originally Posted by JohnTopley View Post
    Try

    =IF(OR(Y$3=TODAY(),COUNTIF(Z6:Z36, ">0")), 450-SUM(Z37:Z43,Z45), "")
    Excellent! This worked, thank you

+ 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] if statement for if a num ends in 09
    By legnak in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 06-17-2016, 02:03 PM
  2. if statement ends with
    By thongtran in forum Excel General
    Replies: 11
    Last Post: 03-24-2015, 11:36 AM
  3. Lost spaces and Zeros lost when replacing text
    By renshawk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2013, 04:50 AM
  4. [SOLVED] Setting a range that ends where data ends?
    By Mgassma in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2013, 09:46 AM
  5. +(-)ve values ends in Dr(Cr)
    By sasikumar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2006, 10:35 AM
  6. [SOLVED] How do I keep a running total of pounds lost and percentage lost
    By angel5959 in forum Excel General
    Replies: 4
    Last Post: 01-26-2006, 05:20 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