IF OR Condition

uswyne

Board Regular
Joined
Jul 27, 2017
Messages
78
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Status[/TD]
[TD]Date of joining[/TD]
[TD]Date of transfer[/TD]
[TD]Date of resign[/TD]
[TD]formula[/TD]
[/TR]
[TR]
[TD]Active[/TD]
[TD]1/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD]=IF(ISNUMBER([@[Date of Leaving]]),"Resigned","Active")[/TD]
[/TR]
[TR]
[TD]Resigned[/TD]
[TD]1/1/18[/TD]
[TD][/TD]
[TD]1/31/18[/TD]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]=IF(ISNUMBER([@[Date of Leaving]]),"Resigned","Active")[/TD]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]

[/TD]
[/TR]
[TR]
[TD]Transfer[/TD]
[TD]1/1/18[/TD]
[TD]1/15/18[/TD]
[TD][/TD]
[TD]Combined formula required [/TD]
[/TR]
</tbody>[/TABLE]

When date of Joining entered the status would be Active and when enter date of withdrawal status would be Resigned. But i could not find the way to manage transfer is same formula.

Kindly help
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi Uswyne,

Date of Date of Date of
Joining transfer resign
Cell AI Cell AJ Cell AK


=IF(AND(AI16<>"",AJ16="",AK16=""),"Active",IF(AND(AI16<>"",AJ16<>"",AK16=""),"Transfer",IF(AK16<>"","Resigned","")))

Use above formula....
 
Upvote 0
Thanks for your help transfer is not being worked.
 
Upvote 0
correct formula is

=IF(AND(AI16<>"",AJ16="",AK16=""),"Active",IF(AND(AI16<>"",AJ16<>""),"Transfer",IF(AK16<>"","Resigned","")))

Thanks you very much
 
Upvote 0
Just one query, if all three columns are filled then result will be "Transfer", Instead of "Resigned"

Like
Date of Joining 1/10/2010
Transfer date 15/10/2010
Resign date 1/11/2015

In that case result should be "Resigned" but with your formula will show "Transfer".
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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