Three arguments from two Column in one formula

Len Cun

New Member
Joined
Jul 17, 2018
Messages
11
Please help.

This is the scenario:
Column A-refers to employment status(pro by/regular/separated)
Column B-refers to active(true/false)
Column C-i want to display here:
If A="proby" or "separated"; C must display "Rcvng only"; if A="regular" C must display "suspension" and if B="true" C must display "suspension"; B="false" C must display "rcvng only"

Is this possible?looking forward for your kind response...

Thanks in advance!
Len
 
Also, what will be the formula if i also want to add another condition that all dates occurring from january 2018 backwards will also be displayed as rcvng only?
Looking again for your kind responses. thanks!
codeEmp No.Emp. NameDate HiredEmployment StatusPosition - HRISPosition - OpnsCurrent Location - OpnsActive - OpnsDate of Summary EncodingTypeNature of OffenseDate ComittedNo. Of OffensePenalty
Ca-000302MJ1004MONTERONA, RANDY GINO10/15/2010RegularDRIVERDRIVERSCALOOCANTRUE12/01/2017MinorNot entering SM term05/29/20172ndsuspension
Ca-000303MJ1004MONTERONA, RANDY GINO10/15/2010RegularDRIVERDRIVERSCALOOCANTRUE12/01/2017MinorNot entering SM term06/05/20173rdsuspension
Ca-000340OE1701OFIANGGA, CHRISTIAN FERDINAND DEL MUNDO05/29/2017SeparatedCONDUCTORDISMISSFALSE12/06/2017GraveIBO08/29/20172ndRcvng Only
Ca-000050AG1404APONGOL, REYNAN MANANSALA04/15/2016RegularCONDUCTORCONDUCTORSCALOOCANTRUE12/06/2017GraveIBO05/31/20171stsuspension
Ca-000052AG1404APONGOL, REYNAN MANANSALA04/15/2016RegularCONDUCTORCONDUCTORSCALOOCANTRUE12/06/2017MinorUnauthorized discounts06/22/20172ndsuspension

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You are welcome

Will that condition be he first one to test?

Which date / what column?

Also - make sure you do not post real data - you may not have but just making sure
 
Last edited:
Upvote 0
Also, do you really want to have a hard coded date (January 2018) or do you really want something like:
If the date is 180 days less than today
Or, is the date less than January of the current year
 
Last edited:
Upvote 0
If you wanted something like a date 180 before today, youcould use something like this where column D has the date, change as needed:
Code:
=IF(D2<=TODAY()-180,"RcvngOnly",IF(AND(OR(A2={"proby","separated"}),B2=FALSE),"RcvngOnly",IF(AND(A2="Regular",B2=TRUE),"suspension","RcvngOnly")))

Based on what you have so far, I’m not sure you couldn’thave just:

Code:
=IF(D2<=TODAY()-180,"RcvngOnly",IF(AND(A2="Regular",B2=TRUE),"suspension","RcvngOnly"))
 
Last edited:
Upvote 0
Also, do you really want to have a hard coded date (January 2018) or do you really want something like:
If the date is 180 days less than today
Or, is the date less than January of the current year

The column under prev. Served must be the first reference to test. Bec. If it has a value more than zero,it is considered active.

As for the date,actually,all summary date which are 6months old from must be marked as inactive..

Thanks again..
 
Upvote 0

Forum statistics

Threads
1,215,108
Messages
6,123,132
Members
449,098
Latest member
Doanvanhieu

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