How to compare two coloumns and restrict it values to be entered

saber

New Member
Joined
Nov 7, 2014
Messages
1
Dear experts please help

I have two column submit date and recived date in excel 2010, I want to put restriction on recivd date coloum.

submit daterecived date
16-Feb-13

<tbody>
</tbody>
8-May-13

<tbody>
</tbody>
6-Nov-13

<tbody>
</tbody>
20-Jun-13

<tbody>
</tbody>
5-Jan-13

<tbody>
</tbody>

<tbody>
</tbody>
4-Sep-13

<tbody>
</tbody>

<tbody>
</tbody>

Note: Received date colum should only take dates that are greater then submitted date,if its less than submit date then its should prompt error or doesn’t insert or any message
1st is correct, 2nd value should give error as jun 13 is less then submit date.

can any body give me the code for this (macro or formula).

urgently needed, will appreciate your reply!!
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
You can use data validation. data>validation>custom Formula .While the data in column "B" is selected. "=A2><a2 while="" data="" in="" column="" "b"="" is="" selected.
B2"

Regards,
Arul</a2>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,825
Messages
6,121,787
Members
449,049
Latest member
greyangel23

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