I'm using the DSUM function which I thought was working well, but it has a slight floor.
Background
The DSUM looks in my database sheet called "JUL04" and sums data in Column F, if they meet criteria on my set up sheet (O4:Q5) ....giving me DSUM(JUL04!B5:AG65536,JUL04!F5,O4:Q5).
Now, the criteria includes customer names similar to Customer, Customer 1, Customer 2 etc
Lets say Customer Qty = 10, Customer 1 qty = 20 and Customer 2 qty = 50
Users are picking criteria from a drop down box.
If the users picks Customer 2, then it returns 50 ...fantastic
Similarly, if the user picks Customer 1, then it returns 20.
My problem is with the Criteria of Customer, as it returns 80 ....almost as if the criteria was Customer*
And so to the question...
....after all the intro, is there a way to get Customer to return qty as 10?
Thanks in advance for any help
Cheers,