0

Grouping & Summing

HI Team…
I have the following NL function which returns the correct records but I am in need of only displaying unique records but with the totals of each of those items.

=NL("Rows","Sales Line",,"Sell-to Customer No.","XYZ","Shipment Date",E3) - Note E3 is the date filter.

This returns each of the Sales lines for the Customer XYZ. Which also includes the following columns / data.

Customer, Item, Description, Quantity, Planned Dev Date, Add to PO Dated, Shipment Date

Note that there are several records for the XYZ customer with different Items and Quantities. (Disregard the dates as I use a filter to pull the date/date range I need).

XYZ MBLA Medium Brown Large 50
XYZ JBLA Jumbo Brown Large 50
XYZ MBLA Medium Brown Large 25
XYZ JBLA Jumbo Brown Large 20
XYZ MBLA Medium Brown Large 75

The Result I'm looking for would be
XYZ MBLA Medium Brown Large 150
XYZ JBLA Jumbo Brown Large 70

Thank you in advance.

1 comment

Please sign in to leave a comment.