How do i combine a lookup and a sumif formula?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anybody hep me, I am trying to combine a SUMIF formula and a HLOOKUP to
return tha combined total of similar items in a table.

Thanks
 
Hi Mike

I want to lookup and sum the total compensation in a particular year:

eg:
2006 2007
Compensation 1000 2000
Compensation 800 900


This is obvioulsy a simplified version but is essentially what i need to do.

Thanks for your prompt response.

T-J
 
Hi Roger,

I want to lookup and sum the total compensation in a particular year:

eg:
2006 2007
Compensation 1000 2000
Compensation 800 900


This is obvioulsy a simplified version but is essentially what i need to do.

Thanks for your prompt response.

T-J
 
Possibly:-

=SUMPRODUCT((A2:A20="Compensation")*(B1:E1=2002)*(B2:E20))

The year to sum could be a cell reference.

Mike
 
Mike said:
Possibly:-

=SUMPRODUCT((A2:A20="Compensation")*(B1:E1=2002)*(B2:E20))

The year to sum could be a cell reference.

Mike
[quoted text clipped - 19 lines]

Thanks Mike, That's helped me with a problem I had
 
Back
Top