Hi All,
What I'm trying to do, is calculate the different invoice amounts, based on account codes, into different cells. For example; Column F is the invoice amounts. Column H is the account codes. If the invoice amounts in F4:F50 match Account 5 then enter this into J4. If the invoice amounts in F4:F50 match Account 6, then enter this amount into J5.
What I tried in cell J4 was: =IF(isnumber(Match(5,Sum(F4:F50,0))) No Luck with that
Then I tried in Cell J4: =IF(H4:H50=5,Sum(F4:F50),"") That worked but it didn't matter if it was account code 5 or not, it continued to calculate F4:F50, just like I asked it to do. I'm sure there is a way to do this but with my limited excel knowledge, I can't figure it out.
Thank you for any help
Bookmarks