SOLVED

Can I make a cell value appear only after a certain date?

%3CLINGO-SUB%20id%3D%22lingo-sub-201385%22%20slang%3D%22en-US%22%3ECan%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201385%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I'm%20a%20beginner%20here.%20Is%20there%20a%20formula%20or%20function%20I%20can%20use%20(perhaps%20a%20%3DIF%3F)%20where%20I%20can%20make%20a%20certain%20formula's%20value%20appear%20in%20a%20cell%20only%20after%20a%20certain%20date%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EContext%3A%20on%20each%20month's%20sheet%20of%20my%20annual%20budget%20spreadsheet%2C%20I%20have%20a%20cell%20showing%20me%20that%20month's%20income%20minus%20expenses.%26nbsp%3B%20On%20a%20separate%20summary%20sheet%20for%20the%20whole%20year%2C%20I%20would%20like%20to%20see%20that%20value%20for%20the%20month%20only%20after%20the%20month%20is%20over%20(ie%2C%20it%20only%20shows%20me%20June's%20income%20-%20expenses%20on%20or%20after%20July%201st).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20makes%20sense.%20Thanks.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-201385%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20%26amp%3B%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENeed%20Help%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201492%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201492%22%20slang%3D%22en-US%22%3E%3CP%3EYes!%26nbsp%3B%20Thank%20you!%26nbsp%3B%20I%20got%20it.%26nbsp%3B%20Thanks%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201450%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201450%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%2C%20I%20forgot%20to%20correct%20the%20reference%20when%20copy%2Fpaste%20your%20initial%20formula.%3C%2FP%3E%0A%3CPRE%3E%20%3DIF(TODAY()%26gt%3B%3DDATEVALUE(%2207%2F01%2F2018%22)%2C%20%3CSTRONG%3EJun!V24%3C%2FSTRONG%3E%2C%20%22%22)%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201444%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201444%22%20slang%3D%22en-US%22%3E%3CP%3EStill%20not%20working%20%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Adisappointed_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%20Not%20sure%20if%20I%20am%20doing%20something%20wrong.%26nbsp%3B%20Thanks%20for%20your%20help.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Excel%20Error.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F35505iBF926A3DB30A7B76%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Excel%20Error.png%22%20alt%3D%22Excel%20Error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201439%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201439%22%20slang%3D%22en-US%22%3E%3CP%3ESam%2C%20the%20formula%20will%20be%20like%3C%2FP%3E%0A%3CPRE%3E%20%3DIF(TODAY()%26gt%3B%3DDATEVALUE(%222018-07-01%22)%2C%20Jun!V24%26gt%3B%2C%20%22%22)%3C%2FPRE%3E%0A%3CP%3Ethe%20only%20you%20have%20to%20use%20the%20date%20in%20your%20format.%20For%20US%20locale%20that%20will%20be%20like%3C%2FP%3E%0A%3CPRE%3E%20%3DIF(TODAY()%26gt%3B%3DDATEVALUE(%2207%2F01%2F2018%22)%2C%20Jun!V24%26gt%3B%2C%20%22%22)%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201429%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201429%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you.%26nbsp%3B%20I%20think%20I'm%20almost%20there%2C%20but%20it's%20still%20giving%20me%20an%20error.%26nbsp%3B%26nbsp%3B%20I%20think%20I'm%20still%20making%20a%20small%20error%20somewhere%20in%20the%20formula%20you%20gave%20me.%26nbsp%3B%20Let%20me%20be%20more%20specific%2C%20and%20if%20you%20don't%20mind%2C%20you%20can%20tell%20me%20how%20to%20write%20the%20formula.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20date%20is%20equal%20to%20or%20beyond%20July%201st%202018%2C%20I%20want%20the%20cell%20to%20populate%20the%20value%20from%20cell%26nbsp%3B%26nbsp%3B%3DJun!V24.%20What%20would%20that%20look%20like%3F%20I%20tried%20copying%20your%20formula%20so%20it%20said%26nbsp%3B%3DIF(today()%26gt%3BDATEVALUE(%222018-07-01%22)%2C%20%26lt%3B%3DJun!V24%26gt%3B%2C%20%22%20%22).%26nbsp%3B%20What%20do%20I%20need%20to%20fix%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20so%20much%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201423%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201423%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Sam%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20IF%20works.%20Concrete%20formula%20depends%20on%20your%20data%20structure%2C%20like%3C%2FP%3E%0A%3CPRE%3E%3DIF(TODAY()%26gt%3BDATEVALUE(%222018-06-01%22)%2C%26lt%3Bref%20on%20the%20cell%20with%20May%20sum%26gt%3B%2C%22%22)%3C%2FPRE%3E%0A%3CP%3Eand%20date%20in%20your%20locale%20format%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089917%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089917%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BI'm%20trying%20to%20implement%20the%20formula%20you've%20helped%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F153694%22%20target%3D%22_blank%22%3E%40Sam%20Maw%3C%2FA%3E%26nbsp%3Bwith...%20I've%20got%20it%20work%20ok%2C%20however%20I%20wanted%20the%20%22TODAY%22%20to%20pull%20from%20a%20date%20from%20another%20cell%20(C4%20in%20my%20example)%20and%20I%20also%20want%20the%20%22DATEVALUE%22%20to%20pull%20a%20date%20from%20a%20selected%20cell%20(A7%20in%20my%20example)%20see%20screenshot%20below...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MANUFACTURING_START_DATE_TEST.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F248891iA6A45C1107F38E2B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MANUFACTURING_START_DATE_TEST.jpg%22%20alt%3D%22MANUFACTURING_START_DATE_TEST.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3EI'm%20a%20bit%20of%20an%20Excel%20novice%2C%20Is%20this%26nbsp%3Bpossible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20also%20attached%20the%20excel%20sheet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3CP%3Em.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089956%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089956%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F940067%22%20target%3D%22_blank%22%3E%40mark1900%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt's%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIF(%24C%243%26gt%3B%3DDATE(LEFT(A6%2C4)%2C%20MID(A6%2C5%2C2)%2C%20RIGHT(A6%2C2))%2C%24C%244%2C0)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089971%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089971%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BGot%20it!%20Thanks%20%3Afolded_hands%3A%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2090034%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20make%20a%20cell%20value%20appear%20only%20after%20a%20certain%20date%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2090034%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BIf%20I%20didn't%20want%20the%20%22total%22%20(N9%20in%20my%20worksheet)%20to%20exceed%20the%20inputed%20%22total%20number%20of%20units%22%20(B5%20in%20my%20worksheet)%20how%20can%20I%20do%20that%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3Em.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello, I'm a beginner here. Is there a formula or function I can use (perhaps a =IF?) where I can make a certain formula's value appear in a cell only after a certain date? 

Context: on each month's sheet of my annual budget spreadsheet, I have a cell showing me that month's income minus expenses.  On a separate summary sheet for the whole year, I would like to see that value for the month only after the month is over (ie, it only shows me June's income - expenses on or after July 1st). 

 

Hope that makes sense. Thanks. 

21 Replies

Hi Sam,

 

Yes, IF works. Concrete formula depends on your data structure, like

=IF(TODAY()>DATEVALUE("2018-06-01"),<ref on the cell with May sum>,"")

and date in your locale format

 

Thank you.  I think I'm almost there, but it's still giving me an error.   I think I'm still making a small error somewhere in the formula you gave me.  Let me be more specific, and if you don't mind, you can tell me how to write the formula.  

 

If the date is equal to or beyond July 1st 2018, I want the cell to populate the value from cell  =Jun!V24. What would that look like? I tried copying your formula so it said =IF(today()>DATEVALUE("2018-07-01"), <=Jun!V24>, " ").  What do I need to fix? 

Thanks so much

Sam, the formula will be like

 =IF(TODAY()>=DATEVALUE("2018-07-01"), Jun!V24>, "")

the only you have to use the date in your format. For US locale that will be like

 =IF(TODAY()>=DATEVALUE("07/01/2018"), Jun!V24>, "")

 

Still not working :(  Not sure if I am doing something wrong.  Thanks for your help. 

 

Excel Error.png

best response confirmed by Sam Maw (New Contributor)
Solution

Sorry, I forgot to correct the reference when copy/paste your initial formula.

 =IF(TODAY()>=DATEVALUE("07/01/2018"), Jun!V24, "")

 

Yes!  Thank you!  I got it.  Thanks for your help!

@Sergei Baklan I'm trying to implement the formula you've helped @Sam Maw with... I've got it work ok, however I wanted the "TODAY" to pull from a date from another cell (C4 in my example) and I also want the "DATEVALUE" to pull a date from a selected cell (A7 in my example) see screenshot below...

 

MANUFACTURING_START_DATE_TEST.jpg

I'm a bit of an Excel novice, Is this possible?

 

I've also attached the excel sheet

 

Thanks 

m.

 

@mark1900 

It's like

=IF($C$3>=DATE(LEFT(A6,4), MID(A6,5,2), RIGHT(A6,2)),$C$4,0)

@Sergei Baklan If I didn't want the "total" (N9 in my worksheet) to exceed the inputed "total number of units" (B5 in my worksheet) how can I do that?

 

thanks

m.

@mark1900 

That could be

=MIN($B$5,SUM($B$9:$M$9))
@Sergei Baklan , Hi I am doing a planning for some robot to run, what should I insert in the formula bar so that I will have a "x" each alternate 7 days. Excel layout is: COLUMN: DAYS (1-30)
Row: Diff Location (p.s I have a drop down list to choose from jan-dec).
please help

@leow98 

It depends on how your data is structured. Could you please provide small sample file?

@Sergei Baklan 

In Sam's example, how can you freeze that value after that date passes.. won't it change as the totals change (after the Date passes)? I'm not sure I'm wording this right  

@mstingle 

Sorry, not sure I understood what is required. Perhaps you may illustrate by your own sample?

@Sergei Baklan 

We have a monthly membership where people join for a fee and stay any number of months, (There are 2 levels of membership) I keep track of the number of members, and the total fees incoming. I'd like to have a snapshot of those totals at the end of each month, I tried the formula you gave to Sam, but the "June" total kept updating even after June. I'd like that number to 'freeze' at the value it is on Jun 30 and not change afterwards. Then I'd have totals for each month.. ....ex. Jun had 23 members and $941 in income, etc

https://docs.google.com/spreadsheets/d/1MHbsVWtHziCHNDX2KEm8PprVq4KtZPAuVG0ZM7V1ktA/edit?usp=sharing

@mstingle 

If convert source to the table you may calculate count per month and rounding total count

image.png

by

=COUNTIFS(Table1[Date],">"&EOMONTH(E9,-1),
          Table1[Date],"<="&EOMONTH(E9,0),
          Table1[Level],$F$7)

and

=COUNTIFS(Table1[Date],"<="&EOMONTH(E8,0),
          Table1[Level],$F$7)

Please check in attached.

Ok that helps. But what if a $27 member joins in Jan and quits in Aug. Will the totals for Jan-Jul be recalculated and reduced by $27? I don't want that to change. That is what I want to be 'frozen'.
I currently just delete the member from the list... maybe that is not what I should do...

@mstingle 

And how do we know that the member quits?  We may calculate only active members for each month if only information who are actives exists.

 

Or you just remove records form the table?