Hello together,
I'm stuck at a "SUMPRODUCT()" formula.
I want to use that formula as filter (VLOOKUP()) for several criteria. But stuck at a point I don't understand.
My sheet has a table with > 3 columns.
I want to get the state over the time.
The formula I've used:
but I got #VALUE! with the yellow square: "a value used in the formula is of the wrong data type"
What I tried:
Missing "()"
Still the same issue.
This returns 1
I was thinking: Maybe the values I gave in row 1 aren't good, so I tried to search by values inside of the database as reference:
But with the same issue.
Than I've tried to search not in column C, but in B instead:
and I got as result the vale I expected (Given in B1). But I want to get the value of column C and not B!
What I'm doing wrong here?
I hope you can help me
I'm stuck at a "SUMPRODUCT()" formula.
I want to use that formula as filter (VLOOKUP()) for several criteria. But stuck at a point I don't understand.
My sheet has a table with > 3 columns.
Column | contains | type | empty rows |
A | timestamp | string | no |
B | item-id | integer | no |
C | state | string | some |
I want to get the state over the time.
The formula I've used:
Code:
=SUMPRODUCT((A3:A100=A1)*(B3:B100=B1)*C3:C100)
What I tried:
Missing "()"
Code:
=SUMPRODUCT((A3:A100=A1)*(B3:B100=B1)*(C3:C100))
Code:
=SUMPRODUCT((A3:A100=A1)*(B3:B100=B1))
I was thinking: Maybe the values I gave in row 1 aren't good, so I tried to search by values inside of the database as reference:
Code:
=SUMPRODUCT((A3:A100=A4)*(B3:B100=B4)*C3:C100)
Than I've tried to search not in column C, but in B instead:
Code:
=SUMPRODUCT((A3:A100=A1)*(B3:B100=B1)*B3:B100)
What I'm doing wrong here?
I hope you can help me