Validation in 4 columns for todays date

exceluser9

Active Member
Joined
Jun 27, 2015
Messages
388
Hi Team,

I have below data, i require a formula in column E where it should say pending / completed.

Wherever there is no todays date it should say pending and where todays date is present it should say completed.

Dates ate populated in this sheet by a vlookup from different sheet.

[TABLE="width: 471"]
<colgroup><col><col span="4"><col></colgroup><tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column E[/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Date 1[/TD]
[TD]Date 2[/TD]
[TD]Date 3[/TD]
[TD]Date 3[/TD]
[TD]Expected Result[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD]03/07/2019[/TD]
[TD]02/07/2019[/TD]
[TD]01/07/2019[/TD]
[TD]27/06/2019[/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Rahul[/TD]
[TD]22/06/2019[/TD]
[TD]02/07/2019[/TD]
[TD]01/07/2019[/TD]
[TD]27/06/2019[/TD]
[TD]Pending[/TD]
[/TR]
[TR]
[TD]Silas[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]02/07/2019[/TD]
[TD] [/TD]
[TD]Pending[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]02/07/2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Pending[/TD]
[/TR]
[TR]
[TD]Jones[/TD]
[TD]02/07/2019[/TD]
[TD]01/07/2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Pending[/TD]
[/TR]
[TR]
[TD]Prem[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]03/07/2019[/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Ram[/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Rajesh[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Bruce[/TD]
[TD] [/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Vince[/TD]
[TD] [/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Jacob[/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Thomas[/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Gill[/TD]
[TD]03/07/2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]Joy[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Pending[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Re: Validation in 4 columns for todays date - Urgent

Hey try this:

=IF(OR(B2=TODAY(),C2=TODAY(),D2=TODAY(),E2=TODAY()),"Completed","Pending")
 
Upvote 0
Re: Validation in 4 columns for todays date - Urgent

Another option
=IF(ISNUMBER(MATCH(TODAY(),B2:E2,0)),"Completed","Pending")
 
Upvote 0
Re: Validation in 4 columns for todays date - Urgent

Hi,

Formula is not working, to make it work i have to paste special the date and click on the cell (F2) and then hit tab. Post which im getting results. Any idea to fix this?

And i require one more formula where even if date is any other date in column E it should say completed. Except the date 00/01/1900
 
Last edited:
Upvote 0
Re: Validation in 4 columns for todays date - Urgent

Who are you talking to?
There are two replies.
 
Upvote 0
Re: Validation in 4 columns for todays date - Urgent

Are your dates proper dates?
If you format the dates cells to General do you see numbers like 43649?
 
Upvote 0

Forum statistics

Threads
1,224,882
Messages
6,181,545
Members
453,053
Latest member
ezzat

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