formula needed

coachdp3

New Member
Joined
Feb 13, 2011
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Looking to create a simle form that I can collect simple data, Name address, phone number, etc on each row. as I add rows, I want a formula or conditional format that will tell me if I enter the same name, address, phone, number, etc to avoid repeat info. Can you help?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
First that comes to mind is using Data Validation.
-Highlight the range you want to apply the Data Validation
-Click on Data Validation
-Select Custom
-Enter this formula =COUNTIF($A$1:$A$100,A1)=1

Change the range as necessary, but use the $ to lock the range. Basically this will alert you if you have >1 duplicate, and ask you to re enter. You can change Alert prompt to anything you want by customizing the Input Message found on the same window as Data Validation.
 
Upvote 0
Excel Workbook
ABC
1NameAddressPhone
2Carl Smith123 W. Sunny Lane877.900.5555
3Becky Smith123 W. Sunny Lane600.232.5555
4Bob Smythe555 N. Happy Way877.900.5555
5Bob Smythe123 N. Stellar Dr877.555.5555
Sheet1


For like the above, in cell A3, Conditional Formatting (CF), with 'Formula is' chosen, formula: =COUNTIF($A$2:$A3,$A3)>1

Choose what formatting, I chose pattern of course. Similar formulas for other columns.

Do this BEFORE entering data or formatting and such. Then just drag the cells downward and the CF will auto-adjust teh formula.

I would note that CF with formulas can get expensive.

Hope that helps,

Mark
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,254
Members
452,900
Latest member
LisaGo

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