Needing 2 formulas to work with the results from a UNIQUE function.

brockk

Board Regular
Joined
Jul 1, 2006
Messages
170
Office Version
  1. 2013
Platform
  1. Web
Greetings,

I'm trying to accomplish both a count of frequencies of certain criterias AND also to calculate the sum of those results from the count. My workbook has 2 sheets (DATA & TALLY) where in the Data sheet is located my Table with a sample of sales per transactions per day. I used a UNIQUE formula as to break-down sample sales categories and work like to tally both, units and
dollar amounts of each, but I am currently stumped on how to accomplish this since I am new with this UNIQUE function. Any help is greatly appreciated.


Book2
ABCDEFGHI
6
7Counts the frequencies of the 2 criterias (trans. # & tran type) per transaction. Lookup arrays are located in the "DATA" worksheet in Columns C & D respectively.Sums the values found in Column H of the "DATA" worksheet where the 2 criterias are met from the results in Tally!G21.
8
9
10
11
12
13
14*** (Original formula in cell Tally!C21) ***
15
16=UNIQUE(Table1[[Date]:[Product Type]])
17
18
19
20DateTrans. Trans. #Tran TypeQtyTotal Sold
216/1/202311563Activation3$ 70.00
226/1/202311563Device2$ 1,999.98
236/1/202311563Accessory7$ 235.91
246/1/202321567Accessory1$ 39.99
256/2/202311575Activation6$ 35.00
266/2/202311575Device6$ 829.99
276/3/202300N/A0$ -
286/6/202300N/A0$ -
296/7/202311583Activation1$ 35.00
306/7/202311583Device1$ 829.99
316/7/202321584Upgrade1$ 35.00
326/7/202321584Device1$ 1,099.99
336/7/202321584Accessory3$ 109.97
346/9/202311587Activation2$ 35.00
356/9/202311587Device2$ 92.00
366/9/202311587Accessory4$ 129.97
376/9/202321592Activation1$ -
386/9/202321592Device1$ 228.00
396/9/202321592Accessory3$ 89.97
406/10/202311601Activation2$ 35.00
416/10/202311601Device1$ 429.99
426/10/202311601Accessory3$ 59.99
436/10/202321602Activation3$ 105.00
446/10/202321602Device2$ 1,899.99
456/10/202331609Activation1$ 35.00
466/10/202331609Device1$ 729.99
476/10/202331609Accessory2$ 59.99
486/10/202341611Accessory1$ 14.99
496/10/202351618Activation2$ 70.00
506/10/202351618Device1$ 428.00
51
52
53
Tally
Cell Formulas
RangeFormula
C21:F50C21=UNIQUE(Book1!Table1[[Date]:[Product Type]])
Dynamic array formulas.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Nevermind. After some Whiskey and a brain reset.... I figured my formula out. Now it is working. Thanks!
 
Upvote 0
Good to hear you got the solution.
If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top