Looking up and displaying new entries in a column

aprabhat

New Member
Joined
May 18, 2020
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I have list of customers per month in column. I'm trying extract the new customers each month, ignoring customers that have already been listed in past months, then display them in a table below. File is attached.
This is the formula I'm using
IF(P38=0,0,IF(ISNA(MATCH(P38,$K$10:O$47,0)),P38,0))
However, it seems like the match function I'm using ends up displaying even repeat customers (example Customer00038 which is already in Nov 2019 and repeats in Jan 2020)

test.xlsx
IJKLMNOPQR
3ALL CUSTOMERSAug-2019Sep-2019Oct-2019Nov-2019Dec-2019Jan-2020Feb-2020Mar-2020
4Customer00001Customer00006Customer00017Customer00028Customer00048Customer00077Customer00104Customer00140
5Customer00002Customer00007Customer00018Customer00029Customer00049Customer00078Customer00105Customer00141
6Customer00003Customer00008Customer00019Customer00030Customer00050Customer00079Customer00106Customer00142
7Customer00004Customer00009Customer00020Customer00031Customer00051Customer00080Customer00107Customer00103
8Customer00005Customer00010Customer00021Customer00032Customer00052Customer00081Customer00108Customer00143
9Customer00011Customer00022Customer00033Customer00053Customer00082Customer00109Customer00144
10Customer00012Customer00023Customer00034Customer00054Customer00083Customer00110Customer00145
11Customer00013Customer00024Customer00001Customer00055Customer00084Customer00111Customer00146
12Customer00014Customer00025Customer00035Customer00056Customer00085Customer00112Customer00147
13Customer00015Customer00026Customer00036Customer00057Customer00086Customer00113Customer00148
14Customer00016Customer00027Customer00037Customer00058Customer00087Customer00114Customer00149
15Customer00038Customer00059Customer00088Customer00115Customer00150
16Customer00039Customer00060Customer00089Customer00116Customer00151
17Customer00040Customer00061Customer00090Customer00117Customer00152
18Customer00041Customer00062Customer00091Customer00118Customer00153
19Customer00042Customer00063Customer00092Customer00119Customer00154
20Customer00043Customer00064Customer00093Customer00120Customer00155
21Customer00044Customer00065Customer00094Customer00121Customer00156
22Customer00045Customer00066Customer00095Customer00122Customer00157
23Customer00046Customer00067Customer00096Customer00123Customer00158
24Customer00047Customer00068Customer00097Customer00124Customer00159
25Customer00069Customer00098Customer00125Customer00160
26Customer00070Customer00099Customer00126Customer00161
27Customer00071Customer00100Customer00089Customer00162
28Customer00072Customer00101Customer00127Customer00163
29Customer00073Customer00102Customer00128Customer00164
30Customer00074Customer00103Customer00129Customer00165
31Customer00075Customer00038Customer00130Customer00166
32Customer00076Customer00131Customer00167
33Customer00132Customer00168
34Customer00133
35Customer00134
36Customer00135
37Customer00136
38Customer00137
39Customer00138
40Customer00139
41
42NEW CUSTOMERSAug-2019Sep-2019Oct-2019Nov-2019Dec-2019Jan-2020Feb-2020Mar-2020
43Customer00001Customer00006Customer00017Customer00028Customer00048Customer00077Customer00104Customer00140
44Customer00002Customer00007Customer00018Customer00029Customer00049Customer00078Customer00105Customer00141
45Customer00003Customer00008Customer00019Customer00030Customer00050Customer00079Customer00106Customer00142
46Customer00004Customer00009Customer00020Customer00031Customer00051Customer00080Customer00107Customer00103
47Customer00005Customer00010Customer00021Customer00032Customer00052Customer00081Customer00108Customer00143
480Customer00011Customer00022Customer00033Customer00053Customer00082Customer00109Customer00144
490Customer00012Customer00023Customer00034Customer00054Customer00083Customer00110Customer00145
500Customer00013Customer00024Customer00001Customer00055Customer00084Customer00111Customer00146
510Customer00014Customer00025Customer00035Customer00056Customer00085Customer00112Customer00147
520Customer00015Customer00026Customer00036Customer00057Customer00086Customer00113Customer00148
530Customer00016Customer00027Customer00037Customer00058Customer00087Customer00114Customer00149
54000Customer00038Customer00059Customer00088Customer00115Customer00150
55000Customer00039Customer00060Customer00089Customer00116Customer00151
56000Customer00040Customer00061Customer00090Customer00117Customer00152
57000Customer00041Customer00062Customer00091Customer00118Customer00153
58000Customer00042Customer00063Customer00092Customer00119Customer00154
59000Customer00043Customer00064Customer00093Customer00120Customer00155
60000Customer00044Customer00065Customer00094Customer00121Customer00156
61000Customer00045Customer00066Customer00095Customer00122Customer00157
62000Customer00046Customer00067Customer00096Customer00123Customer00158
63000Customer00047Customer00068Customer00097Customer00124Customer00159
640000Customer00069Customer00098Customer00125Customer00160
650000Customer00070Customer00099Customer00126Customer00161
660000Customer00071Customer00100Customer00089Customer00162
670000Customer00072Customer00101Customer00127Customer00163
680000Customer00073Customer00102Customer00128Customer00164
690000Customer00074Customer00103Customer00129Customer00165
700000Customer00075Customer00038Customer00130Customer00166
710000Customer000760Customer00131Customer00167
72000000Customer00132Customer00168
73000000Customer001330
74000000Customer001340
75000000Customer001350
76000000Customer001360
77000000Customer001370
78000000Customer001380
79000000Customer001390
Sheet1
Cell Formulas
RangeFormula
K43:K79K43=IF(K4=0,0,IF(ISNA(MATCH(K4,J$4:$K$40,0)),K4,0))
L43:R79L43=IF(L4=0,0,IF(ISNA(MATCH(L4,$K$4:K$40,0)),L4,0))
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Match only takes a 1D array, but you are trying to use a 2D array.
Try
+Fluff 1.xlsm
IJKLMNOPQR
1
2
3ALL CUSTOMERSAug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20
4Customer00001Customer00006Customer00017Customer00028Customer00048Customer00077Customer00104Customer00140
5Customer00002Customer00007Customer00018Customer00029Customer00049Customer00078Customer00105Customer00141
6Customer00003Customer00008Customer00019Customer00030Customer00050Customer00079Customer00106Customer00142
7Customer00004Customer00009Customer00020Customer00031Customer00051Customer00080Customer00107Customer00103
8Customer00005Customer00010Customer00021Customer00032Customer00052Customer00081Customer00108Customer00143
9Customer00011Customer00022Customer00033Customer00053Customer00082Customer00109Customer00144
10Customer00012Customer00023Customer00034Customer00054Customer00083Customer00110Customer00145
11Customer00013Customer00024Customer00001Customer00055Customer00084Customer00111Customer00146
12Customer00014Customer00025Customer00035Customer00056Customer00085Customer00112Customer00147
13Customer00015Customer00026Customer00036Customer00057Customer00086Customer00113Customer00148
14Customer00016Customer00027Customer00037Customer00058Customer00087Customer00114Customer00149
15Customer00038Customer00059Customer00088Customer00115Customer00150
16Customer00039Customer00060Customer00089Customer00116Customer00151
17Customer00040Customer00061Customer00090Customer00117Customer00152
18Customer00041Customer00062Customer00091Customer00118Customer00153
19Customer00042Customer00063Customer00092Customer00119Customer00154
20Customer00043Customer00064Customer00093Customer00120Customer00155
21Customer00044Customer00065Customer00094Customer00121Customer00156
22Customer00045Customer00066Customer00095Customer00122Customer00157
23Customer00046Customer00067Customer00096Customer00123Customer00158
24Customer00047Customer00068Customer00097Customer00124Customer00159
25Customer00069Customer00098Customer00125Customer00160
26Customer00070Customer00099Customer00126Customer00161
27Customer00071Customer00100Customer00089Customer00162
28Customer00072Customer00101Customer00127Customer00163
29Customer00073Customer00102Customer00128Customer00164
30Customer00074Customer00103Customer00129Customer00165
31Customer00075Customer00038Customer00130Customer00166
32Customer00076Customer00131Customer00167
33Customer00132Customer00168
34Customer00133
35Customer00134
36Customer00135
37Customer00136
38Customer00137
39Customer00138
40Customer00139
41
42NEW CUSTOMERSAug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20
43Customer00001Customer00006Customer00017Customer00028Customer00048Customer00077Customer00104Customer00140
44Customer00002Customer00007Customer00018Customer00029Customer00049Customer00078Customer00105Customer00141
45Customer00003Customer00008Customer00019Customer00030Customer00050Customer00079Customer00106Customer00142
46Customer00004Customer00009Customer00020Customer00031Customer00051Customer00080Customer00107Customer00143
47Customer00005Customer00010Customer00021Customer00032Customer00052Customer00081Customer00108Customer00144
48Customer00011Customer00022Customer00033Customer00053Customer00082Customer00109Customer00145
49Customer00012Customer00023Customer00034Customer00054Customer00083Customer00110Customer00146
50Customer00013Customer00024Customer00035Customer00055Customer00084Customer00111Customer00147
51Customer00014Customer00025Customer00036Customer00056Customer00085Customer00112Customer00148
52Customer00015Customer00026Customer00037Customer00057Customer00086Customer00113Customer00149
53Customer00016Customer00027Customer00038Customer00058Customer00087Customer00114Customer00150
54Customer00039Customer00059Customer00088Customer00115Customer00151
55Customer00040Customer00060Customer00089Customer00116Customer00152
56Customer00041Customer00061Customer00090Customer00117Customer00153
57Customer00042Customer00062Customer00091Customer00118Customer00154
58Customer00043Customer00063Customer00092Customer00119Customer00155
59Customer00044Customer00064Customer00093Customer00120Customer00156
60Customer00045Customer00065Customer00094Customer00121Customer00157
61Customer00046Customer00066Customer00095Customer00122Customer00158
62Customer00047Customer00067Customer00096Customer00123Customer00159
63Customer00068Customer00097Customer00124Customer00160
64Customer00069Customer00098Customer00125Customer00161
65Customer00070Customer00099Customer00126Customer00162
66Customer00071Customer00100Customer00127Customer00163
67Customer00072Customer00101Customer00128Customer00164
68Customer00073Customer00102Customer00129Customer00165
69Customer00074Customer00103Customer00130Customer00166
70Customer00075Customer00131Customer00167
71Customer00076Customer00132Customer00168
72Customer00133
73Customer00134
74Customer00135
75Customer00136
76Customer00137
77Customer00138
78Customer00139
79
80
Lists
Cell Formulas
RangeFormula
K43:K47K43=FILTER(K4:K40,K4:K40<>"")
L43:L53L43=FILTER(L4:L40,(L4:L40<>"")*(COUNTIF(K43#,L4:L40)=0))
M43:M53,R43:R71,Q43:Q78,P43:P69,O43:O71,N43:N62M43=FILTER(M4:M40,(M4:M40<>"")*(COUNTIF($K43#:L43#,M4:M40)=0))
Dynamic array formulas.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,837
Messages
6,181,255
Members
453,028
Latest member
letswriteafairytale

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