Between dates formula

DeCaelo

New Member
Joined
Mar 17, 2011
Messages
29
A1 = 18/04/11 06:00
B1 = 07:00
C1 = 18/04/11 06:30

I'm struggling to find a formula that works out if C1 is between A1 + B1 as there is no date attached to B1. Any ideas?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Code:
=IF(AND(C1> A1,C1< A1+B1),"Yes","No")
So long as there's never a date attached to B1
 
Upvote 0
Hi

What about this?
Code:
=MEDIAN(TRUNC(A1,0)+B1,A1,C1)=TRUNC(A1,0)+B1
 
Upvote 0
If I were to copy A1 to D1 and format it as dd:mm:yyyy, so it only show 18/04/11, is there a formula to use that date rather than the number?
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

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