Formula to Return Training Status with Multiple Outputs

aeorfi

New Member
Joined
Nov 13, 2019
Messages
1
I a table with 6 different input scenarios and need to return 4 different outputs depending on the input. The table data is all dates and I would like to fill the Status column with one of the following outputs.
  1. No-Value
  2. Complete
  3. On-Time
  4. Past-Due

An example of the scenarios in the table is below. The dates are in MM/DD/YYYY format.
DUE DATE
COMPLETION DATE
OUTPUT
DESCRIPTION
No-ValueSelf explanatory
04/27/2019CompleteNo Due Date value so Complete only
01/13/2020On-TimeOn-Time because Due Date is in the future with no completion.
03/09/2019Past-DuePast Due because Due Date is in the past with no completion.
10/05/201909/10/2019On-TimeOn-Time because completed before the Due Date.
03/30/201904/22/2019Past-DuePast Due because completed after the Due Date.

<tbody>
</tbody>


<tbody>
</tbody>


I have tried different combinations of nested formulas and have not been able to produce all of the outputs correctly/consistently.

I am not familiar enough with VBA to create something but if that is the solution that is returned I understand it well enough to make use of it.

I appreciate any help that can be offered.
 

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 & welcome to MrExcel.
How about
=IF(B2="",IF(A2="","No Value",IF(A2>=TODAY(),"On Time","Past-Due")),IF(A2="","Complete",IF(A2>=B2,"On Time","Past due")))
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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