Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2022, 07:32 AM
kilroyscarnival kilroyscarnival is offline multiple validation on a column to avoid duplicate entries Windows 10 multiple validation on a column to avoid duplicate entries Office 2019
Expert
 
Join Date: May 2019
Posts: 361
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

ArviLaanemets, I tried yours and it works! Thanks for the concept; I may have a different use for it.



Back to IAmThatGuy's question, I think you answered it perfectly. However, I'm wondering whether having to dropdown each number is just making it rather fiddly for users.

Guy, I'm presuming that you are trying to make sure no numbers are skipped and no numbers are duplicated. Is there another reason you wanted to use a dropdown? I think from your example that your numbering will always be in regular sequence?

This is rather simplistic compared to Arvi's elegant response, but I have an issue with a coworker's worksheet for tracking items. He wants to hide the rows of projects that are completed, but sometimes because it's hidden, he ends up re-entering it, or reusing the record number.

I've applied a numbering column where the column's cells are locked, and where the numbers don't show up until he starts to type content in the next (B) column.

First number cell =IF(B2="","",1)
Subsequent number cells =IF(B3="","",MAX(A$2:A2)+1)
The latter, when filled down, becomes =IF(B17="","",MAX(A$2:A16)+1) etc.

I also apply conditional formatting to the column containing the project number, just your basic pink background/red text default one. So if he starts typing in a project that is either above, or better yet, on a hidden row, he's got a clue that he already has the information, and can check it. It doesn't prohibit him from entering it; but the next time he passes it to me to update it I can check why there are duplicates.
Reply With Quote
  #2  
Old 02-23-2022, 08:52 AM
IamThatGuy IamThatGuy is offline multiple validation on a column to avoid duplicate entries Mac OS X multiple validation on a column to avoid duplicate entries Office 2021
Novice
multiple validation on a column to avoid duplicate entries
 
Join Date: Feb 2022
Posts: 14
IamThatGuy is on a distinguished road
Exclamation

Quote:
Originally Posted by kilroyscarnival View Post

I've applied a numbering column where the column's cells are locked, and where the numbers don't show up until he starts to type content in the next (B) column.

First number cell =IF(B2="","",1)
Subsequent number cells =IF(B3="","",MAX(A$2:A2)+1)
The latter, when filled down, becomes =IF(B17="","",MAX(A$2:A16)+1) etc.
Thanks for this but this does not work if someone decides to insert a line in the middle of the data
Reply With Quote
Reply

Tags
data validation, duplicate entries



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple validation on a column to avoid duplicate entries How to avoid duplicate table headers while mail merge records? everwisher Mail Merge 2 01-04-2019 04:50 AM
Can Excel find Duplicate entries when only part of the cell's data is a duplicate of another cell? jsisley Excel 1 07-21-2017 09:20 AM
Duplicate entries yourforester Outlook 1 11-15-2014 10:44 PM
Calendar - Duplicate Entries castow Outlook 0 02-05-2014 02:53 PM
How Can I Flag Duplicate Date Entries? tatihulot Excel 5 11-16-2012 12:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft