I have a spreadsheet table with, say, a column for the salesperson, a column for products and a column with sales.
I want to know - using dsum - total sales where the sales person is ("Smith" or "Jones") and product is ("apples" or "oranges")
I assumed my criteria table would look like this:
Salesperson....Product
Smith...............Apples
Jones...............Oranges
But I find its only giving me sales where the salesperson is Smith and how many apples they sold, or the person is Jones and how many oranges they sold.
How do I set up my criteria range so shows sales for both apples and oranges for Smith and Jones combined?
I'm hoping you're not going to say I have to list each person twice with both apples and oranges against their name (ie 4 lines in total) - my actual spreadsheet contains far more possible combinations.
with thanks.
Bookmarks