Bi weekly formula...

Iain McBride

New Member
Joined
Aug 17, 2018
Messages
38
Hi - trying to formulate a Gantt chart to allow me to show where some of our employees will be on a daily basis.

So far I have the formula:
=IF(AND(G$8="Tues",G$9>=$D17,G$9<=$E17),"X","")

This allows me to highlight where people are (in this example) every Tuesday - is there a way to highlight the areas they work on a bi-weekly basis?

Thanks in advance

Iain
 
To answer your every OTHER Thursday question ...

You can test the following formula

Code:
=IF(AND(P$8="Thur",P$9>=$D10,P$9<=$E10,OFFSET(P10,0,-7)=""),"X","")
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
1) yes
2) F8 is that day of the week Mon, G8 is Tues, H8 is Wed and so one, as needs the date to correlate with the formula to recognise the day of the week.
 
Upvote 0
1) yes
2) F8 is that day of the week Mon, G8 is Tues, H8 is Wed and so one, as needs the date to correlate with the formula to recognise the day of the week.

Thanks ...

Have you tested the formula suggested in message #11 ...?

The only thing I was trying to point out ...is that despite the fact you are using actual dates in row 9 ... your row 10 does not take advantage of the custom format feature :wink: .... ( no problem ...)
 
Last edited:
Upvote 0
James - you are a star - thank you for that - I would NEVER have got my head around that!!!
I have also amended the date - ty!!!
 
Upvote 0
James - you are a star - thank you for that - I would NEVER have got my head around that!!!
I have also amended the date - ty!!!

Glad you could fix your problem ...:wink:

Thanks a lot ... for your Thanks ...:smile:
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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