Hi, 
I'm looking to write a formula using references to a rate sheet (screenshot attached with sensitive information redacted). We have several types of rates here, and also ones that are per word, which would be inputted into the main project sheet.
We're trying to write a formula right now for the "Role" selection. So, if the Client Name = X, Role = X, we need to pull that into the main project tracker and multiply it by a Word Count column or an Hourly Time column or be a flat fee, depending on what it is. 
So far, I've only gotten part of the way there: 
=IF([Client Name]@row = "John Smith", SUMIFS({Role}, {Project Type}, HAS([Status]@row, @cell)) <-- gives no error but gives no result
=IF(ISBLANK(Status@row), "", SUMIF({Role}, Status@row, {Rate})) * [Word Count]@row <--- gives a result, but not a correct one
Not quite sure how to reflect all the conditions here. I have references created for all columns minus the Rate Unit and Rate Type, which may need to be created? Any thoughts anyone has for this would be super appreciated! Thanks so much.