Debbie
A formula can do it - but what is it that you want to sum?
Celia
I want to pick up the number in D1. The 1st worksheet is coming from our payroll register and is set up like this:
Tax Name Location Amount
FICA 2 10.00
FICA 5 25.00
LIFE 2 2.50
LIFE 5 7.00
What I am trying to do is pick up in a preset report, FICA, Location 2, 10.00. I have used the SUMIF formula to do this when I have 1 criteria, but I have never used multilple criteria to locate the info in column 3. Even in a lookup situation, it would have to look at 2 criteria to chose the right number.
Any suggestions would be helpful as this is a very time consuming entry for a biweekly payroll.
Thanks!
Debbie
I'm not sure if this is what you want but if not, it should give you an idea of the formula structure for what you need to do.
Post again if it doesn't.
=SUM(IF((Sheet1!$A$1:$A$10000=B1)*(Sheet1!$B$1:$B$10000=C1),1,0)*D1)
Celia
=SUM(IF((Sheet1!$A$1:$A$10000=B1)*(Sheet1!$B$1:$B$10000=C1),1,0)*D1)
Bummer, it didn't work. What the the '*' do in the formula? You're still great in my book.
Debbie
The "*" basically means "and".
The formula is an array formula. Did you press Ctrl+Shift+Enter?
Celia
This is exactly what I'm trying to do also.
I tried it and it didn't work for me either.
Are we missing something subtle in the syntax?
Gary
Gary
Unfortunately, I don't understand what it is you're trying to do.
If you wish, you can send me a sample workbook.
Celia