Problems iwth IF/AND-please help me correct!

freckledgenes

New Member
Joined
Sep 19, 2017
Messages
1
I have a table such as this one. I have set up the formula =IF(B2="Yes",A2+182,"NA"),and so one, for the further cells.

This is successfully giving me what I need, which is to take the cells in column B in which I have been provided a "Yes" for recontact, look back at the date of initial contact in column A, and then add 6 months (182 days) to that to provide me the date of recontact in column C.

However, I have one authorized recontact in which I do not know what the initial date of contact is-how do I edit the above formula so that it gives me an "NA" for that cell (C6 as shown below) as well?

Thanks!

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]First Invite[/TD]
[TD]Recontact Allowed?[/TD]
[TD]Date for Recontact[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/8/2016[/TD]
[TD]Yes[/TD]
[TD]6/8/2017[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]7/7/2017[/TD]
[TD]Yes[/TD]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]7/11/2017[/TD]
[TD][/TD]
[TD]NA[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]8/23/2017[/TD]
[TD]No[/TD]
[TD]NA[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Unknown[/TD]
[TD]Yes[/TD]
[TD]#VALUE![/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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