thanks. but unfortunately i am using version 2016 and 2019. and i guess .unique and filter formula are not available in these verson?This will do it
Excel Formula:=UNIQUE(FILTER(B:B,A:A=1,""))
any order,Do you want the results in table order, or sorted ascending / descending?
Also, what is in column B, text or numbers?
faizee.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Ref | List | Results | |||
2 | 3 | 1 | 1 | |||
3 | 1 | 1 | 2 | |||
4 | 2 | 4 | 3 | |||
5 | 1 | 4 | 4 | |||
6 | 3 | 3 | ||||
7 | 1 | 2 | ||||
8 | 1 | 2 | ||||
9 | 1 | 4 | ||||
10 | 2 | 2 | ||||
11 | 1 | 1 | ||||
12 | 2 | 4 | ||||
13 | 1 | 3 | ||||
14 | 3 | 1 | ||||
15 | 2 | 2 | ||||
16 | 2 | 1 | ||||
17 | 3 | 4 | ||||
18 | 3 | 3 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D6 | D2 | =IFERROR(AGGREGATE(15,6,$B$2:$B$18/($A$2:$A$18=1),1+SUM(COUNTIFS($A$2:$A$18,1,$B$2:$B$18,D$1:D1))),"") |
Press CTRL+SHIFT+ENTER to enter array formulas. |
sure.. thank you. i will waitThis is why I asked if it was text or numbers in column B, numbers are easier to work with.
I'll have another look when I get chance but it may not be for a day or so.
please.. can you do it?This is why I asked if it was text or numbers in column B, numbers are easier to work with.
I'll have another look when I get chance but it may not be for a day or so.