Hi,
I'm trying to populate a formula that sums all the sales of a particular item with few conditions:
=SUMIFS(Table1[Sales New] - Table1[Sales Change]; Table1[Sales New] - Table1[Sales Change];">0";Table1[Sales New];">0";Table1[Item];"Blue shirt")
--> Table1[Sales New]-Table1[Sales Change] = Old Sales of the blue shirt
--> Table1[Sales New] = New Sales of the blue shirt
--> Table1[Item];"Blue shirt" = Find item "Blue shirt" from list of items
So this is what I want: SUM all blue shirts' Old Sales, IF Old Sales AND New Sales are both over 0.
Excel however says that there's an error with this formula. Any thoughts?
I know I could get around this by creating a column for Old Sales but for the sake of the file size, I want to keep the number of columns as minimum as possible.
I also tried this: Table1[Price Old] * Table1[Quantity] to get the old sales but this also caused an error.
=SUMIFS(Table1[Price Old] * Table1[Quantity]; Table1[Price Old] * Table1[Quantity];">0";Table1[Sales New];">0";Table1[Item];"Blue shirt")
Thanks in advance!
I'm trying to populate a formula that sums all the sales of a particular item with few conditions:
=SUMIFS(Table1[Sales New] - Table1[Sales Change]; Table1[Sales New] - Table1[Sales Change];">0";Table1[Sales New];">0";Table1[Item];"Blue shirt")
--> Table1[Sales New]-Table1[Sales Change] = Old Sales of the blue shirt
--> Table1[Sales New] = New Sales of the blue shirt
--> Table1[Item];"Blue shirt" = Find item "Blue shirt" from list of items
So this is what I want: SUM all blue shirts' Old Sales, IF Old Sales AND New Sales are both over 0.
Excel however says that there's an error with this formula. Any thoughts?
I know I could get around this by creating a column for Old Sales but for the sake of the file size, I want to keep the number of columns as minimum as possible.
I also tried this: Table1[Price Old] * Table1[Quantity] to get the old sales but this also caused an error.
=SUMIFS(Table1[Price Old] * Table1[Quantity]; Table1[Price Old] * Table1[Quantity];">0";Table1[Sales New];">0";Table1[Item];"Blue shirt")
Thanks in advance!