# gnatt charts and logic help with Mr Excels' tip #58

#### herds00

##### New Member
This example worked great, but my issue is that my timeframes are by week -

4/5/2004
4/12/2004
4/19/2004
4/26/2004
5/3/2004

datein 4/19/2004
dateout 4/23/2004

datein 4/26/2004
dateout 4/27/2004

datein 4/28/2004
dateout 4/30/2004

With the first two pairs of dates, the logic =AND(L\$3>=\$E95,L\$3<=\$F95) works fine with the date of 4/26/2004, and I know it's because obviously because I'm using the week begin dates and trying to compare dates in the middle of the week. I need to do it this way, so can anyone help me with my logic in the conditional formatting? My brain is just not working right! Thanks so much!

Rachel[/list]

### Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

#### herds00

##### New Member
sorry, I of course mean gantt chart...

#### Mat

##### Well-known Member
Can you elaborate more on your problem?

Results expected ? and in your formula, L3, E95, F95 are refering to what?

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,168,157
Messages
5,857,695
Members
431,891
Latest member
shirazx3

### 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.

### Which adblocker are you using?

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

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