Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-03-2018, 07:37 AM
ShankedS ShankedS is offline Excel Custom Formatting Conditions Windows 7 64bit Excel Custom Formatting Conditions Office 2010 64bit
Advanced Beginner
Excel Custom Formatting Conditions
 
Join Date: Oct 2014
Posts: 62
ShankedS is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Select the cell(s) to format, Conditional Formatting, New Rule, Use a formula to determine which cells to Format. In the New Formatting Rule dialog in the field Format values where this formula is true, you write:

=$A$1>9999999999999

Press Format. In the Format cells dialog select the Number tab. Under Category select Custom and in the field Type, write "("###")" ###-#### ####. OK you out. Then in the Conditional Formatting Rules Manager press New Rule and repeat the process with next condition ($A$1>999999999999) and so on. Be aware that Excel cannot handle more than 15 digits as numbers.
Thanks, primary issue here now is that I'm not sure how to manage priority. If I set up 5 conditions (10 digit number, no extension; 11 digit number, 1 digit extension; 12 digit number, 2 digit extension; 13 digit number, 3 digit extension; 14 digit number, 4 digit extension; ) how do I stop multiple matches from happening?

I.E. 15, 14, 13, and 12 digits are all greater than 10 digits, so a greater than 10 digits for a 1-digit extension will run into issues.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Custom Formatting Conditions Conditional Formatting if certain cell meet certain conditions bbutl027 Excel 1 11-25-2016 12:52 AM
Excel Custom Formatting Conditions Looping through word and writing to excel when certain conditions are met Irene H Word VBA 2 07-10-2016 05:59 PM
Excel Formula for Multiple Conditions & Results nowco Excel 4 03-16-2016 11:24 AM
Excel-Save Custom Formatting CarlaK Excel 1 10-18-2013 05:05 PM
Embedded Excel Graphs - Custom Formatting Cody Drawing and Graphics 0 07-02-2010 02:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:13 PM.


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