Date plus 30 days but tidy

tony_d

Board Regular
Joined
Sep 27, 2003
Messages
229
Is there a formula to put a date plus a set number of say 30 days as a reminder.

So if I enter a date in cell A1 and a number in B1 I want cell c1 to return A1+30

But I want to tidy it up so if there isn't a date in A1 nothing shows in C1

Something possibly based on if(b1>.01 then "A1 +30days","") which I know doesn't work
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Is there a formula to put a date plus a set number of say 30 days as a reminder.

So if I enter a date in cell A1 and a number in B1 I want cell c1 to return A1+30

But I want to tidy it up so if there isn't a date in A1 nothing shows in C1

Something possibly based on if(b1>.01 then "A1 +30days","") which I know doesn't work
You pretty much had your own solution!

Try this...

IF(A1="","",SUM(A1,B1))

Format as Date
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,259
Members
452,901
Latest member
LisaGo

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