Double IF

Pippy79

Board Regular
Joined
Nov 18, 2021
Messages
90
Office Version
  1. 365
Platform
  1. Windows
HI All,

Could do with a hand on the below,

If in D1, Cell B1 is "A" and C1 is "yes" show date in A1 and also If B1 is "B2 and C1 is "yes" show date in A1 +1 day

will always be either Yes or blank and i will only need a response when it is yes.

ABCD
130-AugAYesIF Here
2BYes
3

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
How about
Excel Formula:
=IF(AND(B1="A",C1="yes"),A1,"")
 
Upvote 0
HI Fluff,

this works but there could be 2 options within cell B1 so if it is A and yes do this if it is B and Yes do that
 
Upvote 0
Do you mean if B1 is not blank & C1 is Yes, show A1?
 
Upvote 0
Cell B1 could show either "a" or "b" as a result. if "a" then the answer is cell A1 but if B1 shows "b" then the answer is A1 +1 day
 
Upvote 0
Ok, how about
Excel Formula:
=IF(C1<>"yes","",IF(B1="A",A1,A1+1))
 
Upvote 0
Solution
It means not equal to.

Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,661
Messages
6,120,791
Members
448,994
Latest member
rohitsomani

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