Oct 27 2023 07:45 PM
Good afternoon!
I'm seeking some support please with using excel for resource planning.
I'd like to use excel to time block dates resources are unavailable. My resources are labelled BP_01 to BP_09 in the attached. I have broken my current progress in the first thick outline table with the desired outcome in the second thick outline table. The desired result looks up a string based on the resource number and returns the string; it also recognises multiple strings for the same resource (for example BP_01 which is used between 5/10 & 6/10 then again between 19/10 & 26/10 using different string lookups).
Is this possible in excel? Could you please assist with the formula / VBA coding to develop this?
Thank you so much!
Formula in D6:AC11
=IF(AND(D$5>=(INDEX($C$21:$E$43,MATCH($C6,$C$21:$C$43,0),2)),D$5<=(INDEX($C$21:$E$43,MATCH($C6,$C$21:$C$43,0),3))),"x","")
Formula in D13:AC13
=SUM(D6:D11)
Oct 27 2023 09:12 PM
Nov 01 2023 07:34 PM
@suraj786 ah thank you! I always forget the power of SUMPRODUCT. The final solution I went with is below, thanks for the prompt and support
=IF(SUMPRODUCT(($B$70:$B$77=$L19)*(T$8>=$F$70:$F$77)*(T$8<=$G$70:$G$77)*($H$70:$H$77))>0,SUMPRODUCT(($B$70:$B$77=$L19)*(T$8>=$F$70:$F$77)*(T$8<=$G$70:$G$77)*($H$70:$H$77)),"")