Formula To Checking Date Between or Equal Start & End date Then Give 'Ok' or 'Late'

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,102
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to solve this date problem
Book1
EFGH
1start dateend dateinput dateExpected Result
201/12/202206/12/202206/12/2022ok
301/02/202305/02/202306/02/2023late
401/03/202304/03/202302/03/2023ok
501/04/202305/04/202305/04/2023ok
601/05/202304/05/202305/05/2023late
701/06/202305/06/202307/06/2023late
Sheet1


in col. 'input date is manually entry date..
with criteria , if date input between or equal start date & end date so the result is ok but otherwise is late
my format date in (dd/mm/yyyy)
my target in col H2 down

anyone help, thanks in advance

susant
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi, here's one option you can try:

Book5
ABCD
1start dateend dateinput dateExpected Result
201/12/202206/12/202206/12/2022ok
301/02/202305/02/202306/02/2023late
401/03/202304/03/202302/03/2023ok
501/04/202305/04/202305/04/2023ok
601/05/202304/05/202305/05/2023late
701/06/202305/06/202307/06/2023late
Sheet1
Cell Formulas
RangeFormula
D2:D7D2=IF(MEDIAN(A2:C2)=C2,"ok","late")
 
Upvote 1
Solution

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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