SOLVED

sommenals()/Sumifs()

Copper Contributor

Hi,

 

I have a table consisting of:

A: Articlename

B: Description

C: Buy date

D: D: Number of items bought

 

I want to sum lines depending of an article number and only select based on the date the purchase was done. 

I use the syntax:

=SOMMEN.ALS(D$16:D$67;A$16:A$67;A123;C$16:C$67;C123) it displays the right amount on ONE specific date if it is bought on that date.

 

How can I make it work that the C123 is read as >=C123 (the stock starting from the date mentioned in C123). If I use =SOMMEN.ALS(D$16:D$67;A$16:A$67;A123;C$16:C$67;">=C123") it doesn't work, a sum of 0 is displayed

2 Replies
best response confirmed by Ruud1960 (Copper Contributor)
Solution

@Ruud1960 

Use

 

=SOMMEN.ALS(D$16:D$67;A$16:A$67;A123;C$16:C$67;">="&C123)

@Ruud1960 

=SUMIFS(D$16:D$67,A$16:A$67,A123,C$16:C$67,">="&C123)

 

This works in my spreadsheet. I replaced ">=C123" by ">="&C123.

1 best response

Accepted Solutions
best response confirmed by Ruud1960 (Copper Contributor)
Solution

@Ruud1960 

Use

 

=SOMMEN.ALS(D$16:D$67;A$16:A$67;A123;C$16:C$67;">="&C123)

View solution in original post