I need to calculate the total amount due for a client. I have a range of cells that list the service provider (C9:E39), the amount of hours provided (B9), and the provider's hourly rate (Total Hours J6) which corresponds to the provider (Total Hours B6). Total hours B6 and J6 vary by provider but correlate for each provider.
I have figured out how to calculate the total to invoice per provider as:
=B9*'Total Hours'!J6*COUNTIF(C9:E39,'Total Hours'!B6)
but am unable to figure out how to use a sum or sumif function to calculate the total amount provided by all providers for the whole range (C9:E39) with out adding the above formula for each provider.
How can I reduce this to one formula?
I have figured out how to calculate the total to invoice per provider as:
=B9*'Total Hours'!J6*COUNTIF(C9:E39,'Total Hours'!B6)
but am unable to figure out how to use a sum or sumif function to calculate the total amount provided by all providers for the whole range (C9:E39) with out adding the above formula for each provider.
How can I reduce this to one formula?