Dummy question - how to hide data?

Squidge90

New Member
Joined
Jul 18, 2018
Messages
1
Hello all!



Apologies in advance for the dummy question. This is myfirst dip into Excel since school and despite scouring the internet for theformula I need, I can’t make Excel do what I want.


So, I have a table that when I insert a date in column C Iwant it to show the date + either 30 or 60 days in column D. My formula forthis is =SUM(C2+60) which seems to work fine, but despite having nothingentered in column C, it is showing the date as 29/02/1900 in the D column whenI’d really rather it doesn’t show anything until I have entered the date incolumn C.


How would I make it hide the date until I have entered thedate in column C?

I hope that makes some sort of sense to someone.



TIA


 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
something like =IF(C2<-0,"",C2+60)
 
Upvote 0
Welcome to the Board!

It is treated your blank as 0. Since Excel stores dates as the number of days since 00/01/1900, adding 60 gives you 29/02/1900.

Try this formula instead:
Code:
=IF(C2>0,C2+60,"")
 
Upvote 0
something like =IF(C2<-0,"",C2+60)
That won't work.
Did you mean?
Code:
[COLOR=#333333]=IF(C2<[/COLOR][COLOR=#ff0000]=[/COLOR][COLOR=#333333]0,"",C2+60)[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top