Oct 13 2023 06:40 AM
Hi there,
Kindly looking for some help on the following roadblock I’ve hit:
Context:
I work for a consulting business. Depending on rules (which I won’t go into), we determine whether a client is considered “New Business” for a given Year.
For example, in the screenshot below, you will see client A is considered “New Business” in 2019, 2021 and 2023; client B in 2020 and 2023; and so on…
What I need help with:
I’m trying to create a drag-and-drop formula in column L starting in cell L4, that allows me to match the project to the relevant year that the client is considered ‘New Business’, given the following conditions:
Hope the above is clear – any help would be hugely appreciated!
Thanks so much,
Y
Oct 13 2023 07:10 AM
=INDEX($F$5:$J$5,LARGE(IF((F6:J6=1)*(YEAR(E6)>=$F$5:$J$5),COLUMN(A:E)),1))
You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel for the web or Excel 2021.