• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

index and match formula error

LegoMason

New Member
Hello,
I'm trying to create a payroll template to produce a journal entry for me. Rows 2 to 12 is the output from my payroll system. 15 to 22 is the template for my journal entry. I'm attempting to write a formula to sum the amounts for each department (column d) and expense category (column f-k). My attempt has an N/A error. Appreciate any help.
 

Attachments

  • Payroll Template.xlsx
    19.1 KB · Views: 4
You need SUMPRODUCT, not INDEX MATCH MATCH.

In C17 copied across and down:

=SUMPRODUCT($F$3:$K$12*($F$1:$K$1=$B17)*($D$3:$D$12=C$16))
 

Attachments

  • LegoMason Payroll Template Chandoo AliGW.xlsx
    19.6 KB · Views: 2
Back
Top