Vba Macro Help -Possibly a fomula

DaveR

Board Regular
Joined
May 10, 2006
Messages
176
What I am trying to achieve is this; I have a 'Date of refferal' in Column H, what I want to happen it that when this is filled in, Column I then offers two days which are either the following Wednesday, or the Wednesday after that?

All help greatfully recieved.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
D2 =SUMPRODUCT(--($B$2:$B$14=B2)*--($C$2:$C$14=C2))>1

The overlap formula doesn't appear to work.

Try it in your data with dates and times that are the same.

Or is it me? It has been a long day
 
Upvote 0
It works for me. But I'm not taking into account time rounding errors, that could occur. This may work slightly better:

=SUMPRODUCT(--($B$2:$B$14=B2)*--(ABS($C$2:$C$14-C2)<0.001))>1
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,275
Members
452,902
Latest member
Knuddeluff

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