如何根据另一个日期添加天数?

How to add days based on another date?

我想根据我使用的其他列向列添加 +2 天 table :

Company   Type Joinning Date  Starting day
1         1    19/01/2019     
2         0    19/01/2019       
3         0    19/01/2019       
4         1    20/01/2019     
5         0    20/01/2019
6         1    21/01/2019     

我想在 Starting day 列中添加 +2 天,即 Joining day + 2 天,如果公司有类型 1 我该怎么做?

What i've tried ?

pic

想要的结果

Company   Type Joinning Date  Starting day
1         1    19/01/2019     21/01/2019
2         0    19/01/2019       
3         0    19/01/2019       
4         1    20/01/2019     22/01/2019
5         0    20/01/2019
6         1    21/01/2019     23/01/2019

只是为了表达我的评论:

=IF(B2=1,C2+2,"")

有效。输出单元格必须采用所需的格式: