This spreadsheet contains order information. When someone places an order, each item in their order is displayed on multiple rows. There could be one item, or many. You can see how Order #5383 had 2 items, thus two rows. I've found a formula (=SUMPRODUCT((J3:J10000<>"")/COUNTIF(J3:J10000,J3:J10000&""))) that will display the number of unique orders in Column J (displayed in J1). There are 219 rows of data, but only 118 orders. I know that 118 is the correct number, as if I simply "remove duplicates" from the Data Tab using the Order Number column, it gives me the same number. In Column Z I'm trying to display only the dollar amount that the 118 orders equals. What I mean, is, going back to that order #5383 mentioned earlier - it has $14.69 displayed twice in the "Order Total" column (because there were 2 items in that order - note, each item was a different amount, and $14.69 was the order total, not each item amount), and therefore, the total dollar amount at the top ($14831.32 - which is just a subtotal formula) is adding the order total multiple times. I expect the total to be $6444.72, as if I were to simply "remove duplicates" from the data tab based on Column J, it only adds the amounts one time. I'd like to use a formula instead of the "remove duplicates" button, as I need all of the info in the spread sheet, and "removing duplicates" becomes troublesome for me.
Important - if someone is able to come up with a formula, please note that there might be blanks, and I need the formula to NOT include blanks, and only want it to calculate displayed information (if that's possible). I'll live with it if the formula can't decipher if the information is filtered.
Also, I won't be the only one having to use this form, so I'd like the result to be as simple as possible (simply copy and paste a formula would be ideal), and not multiple steps of inserting columns, etc.
I hope this all makes sense. I sincerely appreciate any help anyone can provide!
Important - if someone is able to come up with a formula, please note that there might be blanks, and I need the formula to NOT include blanks, and only want it to calculate displayed information (if that's possible). I'll live with it if the formula can't decipher if the information is filtered.
Also, I won't be the only one having to use this form, so I'd like the result to be as simple as possible (simply copy and paste a formula would be ideal), and not multiple steps of inserting columns, etc.
I hope this all makes sense. I sincerely appreciate any help anyone can provide!