You say "it's" not working but again this is not the same file as used previously, for example column I on Sheet2 (listing client) has disappeared and this was used elsewhere -- it's very hard when there's no consistency in the files with each question...
On a more pertinent note you don't explain why the results as detailed in R should be as listed... but based on my interpretation of your present formulae in C:H I suspect the below works for you:
On an aside, as mentioned before I think, I would alter the MIN formulae in J:O such that you do not require arrays:
On a final note given my new interpretation of what you're doing I'm not sure what value B on Sheet2 holds ... surely you need a column B for each column C:G given in reality B only relates to column C (seemingly).
Bookmarks