Finding a non repeating Value

maslam15

New Member
Joined
Aug 21, 2019
Messages
24
Hello Everyone,
I need your help to figuring out a formula or a way to analyze certain information.

I have value on a Key column for month January. I want to know if a value from January shows up again in the Month of February. If if does not show up again that means all the values in February month are new values and I want to know which new values showed up and how many. I want to repeat the same process for every month until December.

The other way of framing the question should be
What new values showed up in March that were not in February or the month prior.

KeyMonth
10.168.3.200 19824January
10.168.3.200 19825January
10.168.3.200 19825February
10.168.3.200 19827February
10.168.3.200 19828February
10.168.3.200 19824February
10.168.3.200 19828March
10.230.500.400 105486March
10.230.500.400 105487March
10.230.500.400 105488March
10.230.500.400 105489March

Key 10.168.3.200 19824 from January shows up in February also were key 10.168.3.200 19828 does not show up in January so I would like the count to be 1 and key 10.168.3.200 19828 to show that this key in new in February. Since key 10.168.3.200 19828 has already showed up in February, it does not matter if it showed up in March which it did since it newly appeared in February.

Thank you so much for your help. Please let me know if I can help answer any questions.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

Since I'm not 100% following, what are the expected results for your sample above ?
 
Upvote 0
Why don't you prepare a pivot table, with the key in the row and the months in the columns?
At that point you will have the picture of which address show up in more that one month

(don't miss jtakw's message, above)

Bye
 
Upvote 0
Highlighting the new ones could be done with Conditional Formatting ..

22 03 24.xlsm
AB
1KeyMonth
210.168.3.200 19824January
310.168.3.200 19825January
410.168.3.200 19825February
510.168.3.200 19827February
610.168.3.200 19828February
710.168.3.200 19824February
810.168.3.200 19828March
910.230.500.400 105486March
1010.230.500.400 105487March
1110.230.500.400 105488March
1210.230.500.400 105489March
New Keys
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B12Expression=COUNTIFS($A$1:$A1,$A2,$B$1:$B1,"<>"&$B2)=0textNO


.. although you did talk about counting the new ones each month so perhaps something like this instead?

22 03 24.xlsm
ABC
1KeyMonthCount New
210.168.3.200 19824January1
310.168.3.200 19825January2
410.168.3.200 19825February 
510.168.3.200 19827February1
610.168.3.200 19828February2
710.168.3.200 19824February 
810.168.3.200 19828March 
910.230.500.400 105486March1
1010.230.500.400 105487March2
1110.230.500.400 105488March3
1210.230.500.400 105489March4
New Keys (2)
Cell Formulas
RangeFormula
C2:C12C2=IF(COUNTIFS(A$1:A1,A2,B$1:B1,"<>"&$B2),"",COUNTIFS(B$1:B1,B1,C$1:C1,">0")+1)
 
Upvote 0

Forum statistics

Threads
1,215,643
Messages
6,125,990
Members
449,278
Latest member
MOMOBI

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