M
misterdtc
Dear all,
I have a list of items and each item can apperar several times
and I would like to sum all the amounts for the same item with the lowest year (formatted as number) and 0 otherwise
I can add all the result together with the sumif function but I am stuck with the condition of the lowest year for an item.
Any idea?
E.g.
Item Year Amount Result
a 2000 100 1225
a 2001 125 0
a 2002 150 0
a 2003 175 0
a 2004 200 0
a 2005 225 0
a 2006 250 0
b 2000 200 1435
b 2001 210 0
b 2002 205 0
b 2003 203 0
b 2004 201 0
b 2005 206 0
b 2006 210 0
Thank you in advance
Nico
I have a list of items and each item can apperar several times
and I would like to sum all the amounts for the same item with the lowest year (formatted as number) and 0 otherwise
I can add all the result together with the sumif function but I am stuck with the condition of the lowest year for an item.
Any idea?
E.g.
Item Year Amount Result
a 2000 100 1225
a 2001 125 0
a 2002 150 0
a 2003 175 0
a 2004 200 0
a 2005 225 0
a 2006 250 0
b 2000 200 1435
b 2001 210 0
b 2002 205 0
b 2003 203 0
b 2004 201 0
b 2005 206 0
b 2006 210 0
Thank you in advance
Nico