Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-02-2018, 09:04 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 Excel Custom Formatting Conditions

Ever since I discovered custom cell formatting, I have enjoyed using it, especially for phone numbers. However, there was one problem I ran into.



As long as I kept the phone number formatting to a base phone number, which has a predictable number of numbers. However, what about extensions? That's where I'm running into issues. Apparently Excel cell formats can contain conditionals, which is awesome. This conditional almost does everything I need it to:

Code:
[<=9999999]###-####;[<=9999999999](###) ###-####;[<=999999999999](###) ###-#### x##;
But plenty of extensions are more than 2 numbers. Some are three, others are four. I've seen extensions as many as 6 digits long. However, when I try to modify the conditional formatting I've seen, I get errors:

Code:
[<=9999999]###-####;[<=9999999999](###) ###-####;[<=999999999999](###) ###-#### x##;[<=9999999999999](###) ###-#### x###;
I'm clearly doing something wrong, but I'm not sure what. I read that past versions of Excel (2003) weren't able to handle more than 3 conditions (4 if you include the default), but that later versions (2007, 2010, 2013, etc...) could handle more than 3. If that's the case, then it's almost certainly my mistake. But, since I followed the rules I noticed in the original, I can't, for the life of me, seem to figure out what went wrong.
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 05:54 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