Highlighting Duplicate Values in Excel - adding alerts with Dynamic Array Formulas

  Рет қаралды 11,322

Access Analytic

Access Analytic

Күн бұрын

Identifying and preventing unnoticed duplicates in your data can be extremely important in building robust, error free reports.
Iván made a goof point in the comments re data validation:
To prevent new duplicates being added at the bottom of the table I would name my range of cells in my table as MyList and then use =MAX( COUNTIF( MyList, MyList) ) =1
Here's a link to the file I created
aasolutions.sh...
Follow me on LinkedIn
/ wynhopkins
Twitter
/ wynhopkins
Access Analytic Training
accessanalytic...

Пікірлер: 55
@utubeAgape
@utubeAgape 3 жыл бұрын
Wow, I will use this for so much of the spreadsheets I work with - which have thousands of rows. Thank you!!!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Glad it was helpful Irene
@patrickschardt7724
@patrickschardt7724 3 жыл бұрын
Great tutorial. Alt + Enter and spaces are great tricks for cleaner and easier to read formulas. I use one space between all arguments in a function and two between things like value if true and value if false Things that were very har for impossible are now possible and very easy thanks to the dynamic arrays
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Thanks Patrick Appreciate you sharing extra tips here. Dynamic arrays are awesome!
@Luciano_mp
@Luciano_mp 3 жыл бұрын
Wow, very good. Thanks!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Thank you Luciano
@ramanhai6205
@ramanhai6205 3 жыл бұрын
Thank you so much sir ...this is exactly I am looking for.
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Glad to help Raman
@ramanhai6205
@ramanhai6205 3 жыл бұрын
@@AccessAnalytic really I was in need of entering budget codes for the projection which should be unique And remains unchanged after deleting any row in between. I can go with this method and it makes sense for me. Thanku again. I am a regular follower of your videos. ❤️❤️ From india
@IvanCortinas_ES
@IvanCortinas_ES 3 жыл бұрын
Excellent. In last scenario I think that in this case the formula would be better, to control future records in our table: =MAX(COUNT.IF(B:B,B:B))=1 Otherwise, data validation would allow you to record repeating data when entering new data.
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Good point Iván. I’d make my list a named range and then have =MAX( COUNTIF( MyList, MyList) ) =1 I try to avoid entire column references wherever possible
@hampagna5090
@hampagna5090 2 жыл бұрын
😍😍😍
@sachin.tandon
@sachin.tandon Жыл бұрын
Nice work. This might be helpful. I used to get very odd behaviour using COUNTIF embedded in a lambda function that was called from within another LAMBDA (something to do with it not accepting the variable which although was a vector, was strictly not a RANGE, which it must take as its first argument). It did my head in! This formula avoids using COUNTIF, and IMO is more robust (when doing complex and nested lambdas) . Hope its useful COLUMN_DUPLICATES = LAMBDA(col_vector, LET( count, SCAN(0, col_vector, LAMBDA(a, r, SUM(--(r = col_vector)))), duplicates, IF( IFERROR(ROWS(UNIQUE(FILTER(col_vector, count > 1))), 0) = 0, "No Duplicates", UNIQUE(FILTER(col_vector, count > 1)) ), duplicates ) );
@PurplePasion
@PurplePasion Жыл бұрын
Thank you!!! You just made my life so much easier.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You're welcome Mariana
@cuteness_
@cuteness_ Жыл бұрын
This is awesome, thanks for sharing this video! I just want to ask if there's a way to highlight the duplicates in alternative colors (just two colors) so that I won't do it manually after I use the countif formula?
@AccessAnalytic
@AccessAnalytic Жыл бұрын
As far as I'm aware the Conditional Formatting - Highlight Duplicate Values option only allows you to chose one colour at a time.
@cuteness_
@cuteness_ Жыл бұрын
Yeah, that’s what I'm thinking too. 😢 btw, i like your voice! Very soothing.. ❤
@adamstaples3984
@adamstaples3984 2 жыл бұрын
Great Tutorial! saved me a ton of work! Thanks!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thanks for letting me know this was useful Adam. Greatly appreciated 😀
@malejandrahorvath
@malejandrahorvath 3 жыл бұрын
Wow! This is so helpful. Thank you!!!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
You’re welcome Alejandra
@johnwatson8203
@johnwatson8203 3 жыл бұрын
Really appreciate this tip! Thanks
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
You’re welcome John
@healthteaspoonie
@healthteaspoonie Жыл бұрын
This is a phenomenal video! Thank you! Can you show me how to make a spread sheet with multi data lines and duplication. For example: last name, first name and date of birth. I need to make it to where the duplicate data is flagged based on those 3 columns not just 1
@AccessAnalytic
@AccessAnalytic Жыл бұрын
I would add a column using TEXTJOIN to combine the 3 fields you need then check for duplicates in that one column
@zamriyusof7511
@zamriyusof7511 Жыл бұрын
How to hightlight duplicate cell with different color? For example, duplicate A with red color, duplicate B in green color.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
I think you’d need to add a helper column with a formula that flags if a value is a duplicate then lookup a colour from a lookup table ( A red, B, green etc) then add conditional formatting rules that look at that helper column.
@kitty1977
@kitty1977 3 жыл бұрын
I love the Alt+Enter idea within the dynamic formulas. I have only used it on basic stuff at work but never considered it in the formulas. This is great. Thanks.
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Great, thanks so much for letting me know you found it useful.
@kitty1977
@kitty1977 3 жыл бұрын
@@AccessAnalytic you're welcome.
@pipo441
@pipo441 Жыл бұрын
My unique function still shows all the values.... not unique... I use horizontally though.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Try =UNIQUE( range, TRUE )
@florincopaci6821
@florincopaci6821 3 жыл бұрын
Thank you for this video! If it s possible maybe in the future you do a video using MMult in combination with other functions like transpose or match.Please.Thank you once again for this video
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
You’re welcome Florin. Thanks for letting me know you liked it 😀. I’ve never used MMULT so it’s unlikely I’ll do one on that sorry.
@realpulsecoin
@realpulsecoin 3 жыл бұрын
Great Wyn, you can offcourse lock the cells for being edited? So no one can break the datavalidation? 🌞
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Thanks Rasmus, yeah but If you want to allow people to enter data then locking doesn’t help protect the validation
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
Awesome Wyn! Lots of creative ways to use dynamic array functions. Thanks for sharing :)) Thumbs up!!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Cheers Wayne, thanks for leaving a comment
@GeertDelmulle
@GeertDelmulle 3 жыл бұрын
this is a really good one! Will come in very handy for all of us. Did learn something new here: a nice data validation option - haven’t ventured so far down that list, and now I will. Thanks!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Cheers Geert
@EricHartwigExcelConsulting
@EricHartwigExcelConsulting 3 жыл бұрын
Great video! I can not wait to start using this! Thank you for making/sharing this!
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
You’re welcome Eric
@GrainneDuggan_Excel
@GrainneDuggan_Excel 3 жыл бұрын
One more reason I want dynamic arrays at work! Lovely solution Wnn
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
They really are a dramatic change to Excel’s power
@JonathanExcels
@JonathanExcels 3 жыл бұрын
Thanks for the tip on adding spaces. A tip in return…ctrl+shift+u toggles the expand/collapse formula bar.
@AccessAnalytic
@AccessAnalytic 3 жыл бұрын
Cheers Jonathan
@GeertDelmulle
@GeertDelmulle 3 жыл бұрын
Indeed. Use that myself, all the time. One step further still: got myself an Elgato Stream Deck, created an Excel profile and put that shortcut on a key there. Now I can fly even harder, and people I help via Teams meetings with their Excel problems can’t fathom how fast I can do (some) things... :-)
@niciamejia227
@niciamejia227 Жыл бұрын
Is there a way to highlight and flag when a value appears three times (or any other specific amount of times) instead of twice? I need to be able to set a conditional format for a column that does not yet have any values in it. But when it does, it will have many and I want to be able to easily spot when it shows the same number three times. Can that be done on Excel?
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Yep, highlight your range of values (e.g. A1:A10) go to Conditional formatting > New Rule > Use formula. =COUNTIFS($A$1:$A$10,A1)>=3 Should work
@niciamejia227
@niciamejia227 Жыл бұрын
@@AccessAnalytic It worked!! Thank you! I will be using this a lot.
@hrmnpsrffn
@hrmnpsrffn Жыл бұрын
Is there a way for rather than stopping, it only inform us that the data has been entered previously?
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Yep, you can change the data validation to Warning rather than Stop. It's part of the data validation set up box
@hrmnpsrffn
@hrmnpsrffn Жыл бұрын
@@AccessAnalytic Thank you so much for the knowledge, sir. 😁
@AccessAnalytic
@AccessAnalytic Жыл бұрын
No worries
Excel Hash Sign Operator - What is it + ADVANCED Tricks!
8:58
MyOnlineTrainingHub
Рет қаралды 60 М.
Prevent Duplicate Entries in Excel (2 Simple Ways)
6:53
TrumpExcel
Рет қаралды 12 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Do-While Loop in Power Query with List.Generate
10:42
Power-M-Query
Рет қаралды 734
An awesome trick to compare 2 Excel ranges and flag the differences
9:15
Many SEARCHABLE Drop-Down Lists in Excel (No VBA)
11:58
Leila Gharani
Рет қаралды 249 М.
Excel Power Tools: Building a Dynamic Dropdown List From Scratch
8:02
The Practical Place
Рет қаралды 2,2 М.
New Dynamic Array Functions - New Excel Feature Training Tutorial
47:58
Excel Dynamic Array Totals
8:17
Access Analytic
Рет қаралды 7 М.
Google Sheets - Prevent Duplicate Entries
5:04
Prolific Oaktree
Рет қаралды 56 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН