Comparing A Phone Number To An Allowed List

Feb 20, 2007

I have our company telephone accounts and im trying to highlight any numbers that are not on our approved dialling list. What I would like to happen (ideally) would be for a formula to look at the cell next to it and compare it with the approved numbers list, if it doesn’t appear on the list then it would do something to let me know, like put a big red X in the cell (if it could make me a cup of Tea instead that would be better).

View 9 Replies


Only Positive Number Value Allowed.

Jul 23, 2009

i want should be done as a function or VBa. I would like to have A Column so that only postive numbers can be entered. Disallowing 0 and below from being entered into cells.

View 2 Replies View Related

Limiting Number Of Entries Allowed In A Range?

Aug 15, 2013

Im building a booking/diary system for work.My system runs 9am till 5pm, 10 min slots. The team is 4 people. So I have 4 columns, one per team member, and each row is 10 mins. 9am, 9.10, 9.20 and so on.

I want to limit it so that if say 2 people already have something in at a time it wont let another person type in that slot. I would prefer a none VBA sollution if possible due to the ancient computers in running it on, but not too fussed if thats the route I go down (as I suspect I will)

The sollution I was considering was having a COUNTA for each range, and if it is 2 or over, not let people type into the other slots. This would also let me add exceptions by using a COUNTIF to minus other characters if needed, but im not sure if I can make excel "block out" a time slot. My other sollution would be similar, but have them to autopopulate the empty cells with an "X" if they are 2 or over as thats what I use to block out slots (breaks, lunches etc)

My other problem is that if they then type into the cell, it will obviously type over the formula, which makes me think it will have to be VBA.

View 2 Replies View Related

How To Scrub A Phone List

Oct 15, 2013

I work for a charity and we have a new call list, about 1.2 million phone numbers. We have a list of about 1,000 numbers that we are not supposed to call again. How can I scrub the do not call numbers against the master list to remove both numbers? The master list has names in a column, city in another column, numbers in a column and city in a column. The do not call numbers I have are just listed in 1 column.

View 7 Replies View Related

4 Column Phone List

Aug 4, 2008

I have just created a phone list of about 70 lines on a single A4 sheet
Name No Name No

One of the PA's now wants to know if she deletes a Name and No from say column A & B
can I make it all reconfigure to eliminate the blank spce.

So basically names fill column A & B first then overflow onto Columns C & D.

I think a macro is the only way to go here but the PA isn't keen.

View 9 Replies View Related

Format Phone Number In VBA?

Nov 14, 2012

I'm looking to see is if there is a way to modify this code to format a phone number as (999) 999-9999. Right now it formats phone numbers as 999-999-9999.

Sub FormatPhoneNumber()
'Purpose: Formats a telephone number as 999-999-9999.
'In cases where more than one phone number is enter in


View 5 Replies View Related

Phone Number Macro

Dec 11, 2007

I often have lists of badly formated phone numbers. I have created a number of macros that are quite good, but there is room for improvement.

Step 1:

Delete non numeric characters. This is a weak point - at the moment it is not working well (it removes characters from the entire sheet, rather than selected cells)

View 14 Replies View Related

Phone Number Formatting

Jun 22, 2006

I have a cell that NEEDS to be of the following format:

#### ######

I have set this up under formatting, custom... and when I type a number like this ...

01304999999 I get the result 01304 999999 PERFECT!

Unfortunately if I type this....

01304 999 999 I get this result 01304 999 999 which ain't good as it mucks up my Macro, whih incidentally is this...

appWD.ActiveDocument.Bookmarks("PMTelephone").Range = Format(strPMTelephone, "0#### ######")

View 10 Replies View Related

Autofilter Phone Number

Jul 13, 2007

I am building a contact database in excel. I am using a userform to search, by autofilter, through several thousand contacts by any one of 7 criteria(account name, postal code,, account number, etc.). The only criteria that I cannot get to work is the phone number.

The numbers are entered in a ten digit string and the cells are formatted as phone numbers. i.e: 8005551212 = (800) 555-1212. When I run the search by the 10 digit number, the autofilter hides all results.

View 9 Replies View Related

Phone Number Formatting ..

Jul 7, 2009

I have a list of telephone numbers... in every format you can imagine

(123) 456 - 7892

is there any way to extract JUST the numbers...

so the format all phone numbers would take would be:



View 9 Replies View Related

Dial Phone Number

Jul 20, 2007

I'd like to dial phone numbers directly from a specific column on a worksheet just by doubleclicking on them.

I found this code which I am trying to adapt to my use.

The hardware part is setup already (modem, phone line, etc.)

Private Sub Dial(Number)
Dim DialString As String
Dim FromModem As String
Dim dummy As Integer

' AT is the Hayes compatible ATTENTION command and is required to send commands to the modem.
' DT means "Dial Tone." The Dial command uses touch tones, as opposed to pulse (DP = Dial Pulse).
' Numbers is the phone number being dialed.
' A semicolon tells the modem to return to command mode after dialing (important).
' A carriage return, vbCr, is required when sending commands to the modem.
DialString = "ATDT" + Number + ";" + vbCr

I am getting an error message when I doubleclick that says :Runtime Error 424 , Object

Required and then I'm taken to the code line that is in Bold Yellow. Dealing with Comm

Ports is too much for me. I only know that my modem is in Com Port 4. If I'm told what to

View 9 Replies View Related

Cleaning Up Phone Number Lists?

Jun 22, 2014

I have an old customer list maintained by my company's previous owner in excel format that mostly stored numbers ###-#### format, but also some in ###-###-#### format.

My new list has always been maintained with numbers in (###) ###-#### format.

I have merged these two lists in a new excel file have begun the tedious process of cleaning up duplicates and bad data.

I have used conditional formatting to highlight duplicate numbers in the appropriate columns (L, M, N, O) in this case. However, it does't find matches in the other formats or perhaps the number with the old area code. I know the area code change could lead to false positives, but they should be minimal as this is a small business with mostly local customers. So what I'd like to find out is a formula for conditional formatting that will compare the last 8 characters in each cell (###-####) so as to eliminate issues of missing or different area codes. I would like it to check all of the columns for duplicate numbers not just within each column or within each row individually.

Also separate but related if possible to highlight a different color any cells with data not in any of these formats or if not in (###) ###-#### format if it's too much for all the formats.

View 8 Replies View Related

2007 Phone Number Formatting

Feb 25, 2009

I need to reformat phone numbers in Excel, and I am having trouble doing so. I do not have VBA experience, but I am somewhat familiar with functions in Excel. I need to go from 555-555-5555 to (555) 555-5555

View 4 Replies View Related

Custom Phone Number Format

Mar 3, 2009

I am looking for a custom number format for phone numbers that will allow extensions to be typed in. I am trued using the standard phone format [

View 12 Replies View Related

Seperate Email From Phone Number

Jul 30, 2009

I have a list that i copies from the web which was pasted in this format in 1 cell


i wanted to seperate the email into its own cell, how can i write a macro that will take anything from the right of the last number and move it into its own cell?

View 9 Replies View Related

Separating Name And Address Phone Number With Odd Delimiter?

Mar 18, 2013

I have the following text, in which I need separated into three columns.

Column A) Company Name
Column B) Address
Column C) Phone Number

I was thinking perhaps I could replace "-------" to just one "-" and use that delimiter to separate the phone number.

Then Use *** Company Name Here *** --> *Number Variable* and filter the rest..

But I don't see it being able to work.Here is the text I'm looking to format (Mind you there is about 8,000 Records.
And, it's all formatted like below. (Company Name, phone number being on different lines and phone number being separated by dash's


View 8 Replies View Related

Extracting Phone Number Out Of String Of Text?

Apr 30, 2013

Is there a way to extract a phone number out of a string of text. The phone number will always be expressed the same way (eight digits seperated by a space half way through) - 9999 9999. But the text before and after the number is random. Is there a macro to do this on a large scale? The method needs to be applied to hundreds of these strings, each on a new line.

An example of the string of text with the phone number underlined:

Alesdro 0 63PnantCey4281 5919 Aledio daSisaon' Brglry

View 7 Replies View Related

Adding A Zero At The Beginning Of An INTL Phone Number

Apr 25, 2007

I have a very long list of international phone numbers in a .csv format that I need to put a zero in front of each one. We are doing an international autodialer campaign for an upcoming event and need the zeros at the beginning to pay for the call. How do you get around Excel not allowing a zero at the front of a number and the .csv format not allowing you to save certain formats? I've been searching the archived posts for a hour now and can't find anything on this!

Here is an example


View 9 Replies View Related

MSG Box To Search And Return Adjacent Cell Value For Phone List Extensions

Apr 18, 2013

I have a phone list and I am trying to add a search box to it that when you type in the Employee name, it will return the value of the cell adjacent to the search result so the extension can show up.

I am a VBA Novice, but I have found plenty of code for the searching aspect of it. I am having trouble figuring out how to have the search occur and then return a different value then what was originally searched for.

Ideally I would like the msg box to show both the employee's full name and extension.

View 4 Replies View Related

Remove Parenthesis From Phone Number And Commas From Figures

May 28, 2014

We have a spreadsheet of our customer's info, to send to our collection agency; when we export it puts parenthesis around the area code and adds a hyphen in the number.

Also it puts commas in the figures. And I need the slashes gone from the date - is there a simple way to do this?

I tried formatting but it doesn't take out the () or ,

View 9 Replies View Related

Excel 2010 :: Formatting As Phone Number From Text?

Jan 13, 2014

I am trying to format a cell (in Excel 2010) as a phone number. The problemis that the data comes over from our download as text. Is there an easier way then using the 'SUBSTITUTE' function to change format to a true phone number (so that we can mail merge into WORD)? Since it is extracted out as a text, using the 'phone number' format (under special) will not work. Using the 'SUBSTITUTE' formula to remove the parenthesis', the dash and the space work but is cumbersome.

Below is an example of the text format that is being extracted: (706) 378-7585

View 1 Replies View Related

Dependent Droplist IF Selected Format Phone Number Accordingly

Feb 18, 2014

I have a series of dependent drop lists and a cell which asks for a phone number. I would like if the selection in the previous cell is North America, the format of (111) 111-1111 is chosen. if the user enters the improper format I would like them to be prompt with an error "Improper Format - <Proper Format>", clear contents, and re-select the cell otherwise if valid select the next cell. It would need to strip out the leading 1 incase an international code is entered and also special characters such as "(",")","-","+","_" as well as spaces.

The next problem is that it would have to change format to if another selection is chosen. The other two selections are Australia and Europe. Europe is more difficult of a format as the area codes vary in length. I will be dealing predominantly with Sweden whose area codes even vary. For Australia I would like it to be in the format 011 61 1 1111 1111 where 011 61 will be added even if the user does not enter it (or if not possible prompt with proper format).

The cell asking which continent is G35 and options are "","Australia", "Europe", "North America"

The cell asking for a phone number is K47

The next cell on valid response is G50

View 4 Replies View Related

Excel 2007 :: Converting Phone Number Format?

Aug 27, 2012

I have phone number in phone format which looks like this: (123) 456-7890 which needs to be converted to: 1234567890.

I tried but unable to do so.

View 3 Replies View Related

Excel 2010 :: How To Separate Text From A Phone Number In One Cell

Jan 11, 2014

I have a 2010 version of MS Excel. I have roughly 10000 cells that I need to separate into two columns from one cell.

Here is an example of one cell "John Smith 888-8888".

View 14 Replies View Related

Creating Compact Text List After Comparing List Against Two Variables

May 8, 2014

I would like to be able to compare the "standards" in Column A with the Assessment status in Column B and the Assessment period in Column C in order to generate a compact list in another workbook (ideally) or tab (if not). A list might typically contain all the standards that have been M (mastered) during a given Assessment period. I realize that filters would achieve this to a large extent but I was hoping to automatically populate another worksheet or tab.

View 3 Replies View Related

Pivot Table Layout - Generate List Of Unique Names And Their Associated Phone Numbers

Mar 18, 2013

I've read a lot of tutorials on how to use pivot tables, but found them either too basic, or too advanced, and never finding any example of what I am looking to do.

I have a database, column A holds names, and column B their phone numbers. I'd like to generate a list of unique names and their associated telephone numbers. I figure I can use a pivot table to do this.

But I do not quite understand how to format the pivot table to put the name in one column and the phone number in the next. I will use this pivot table as a vlookup range. I assume I can do this.

View 7 Replies View Related

Comparing List Of Names In Different Formats

Jan 14, 2013

I am constantly given the task of comparing to list of names that come from different sources. One source(SourceA) provides the names in a two Cols as first name and last name. Luckily Source A usually just has first and last name list but sometimes they have a third name or middle initial included and it could be in the first Col or the second no real pattern. The second source(SourceB) provides their list as a single Col and it has every given name for the person including suffixes and prefixes. A couple of examples of Source B names would be-"John Henry David" or "Dr. Billy Bob Adams Barone Beard IV".

I have spent countless hours and days probably weeks on some list as there are anywhere between 20-50,000 names per list I am sent. I am hoping there is a better solution to compare these names. As of right now the only thing I can do right now is manually trim the data from SourceB down to a format like "John David" and "Billy Beard" and then combining the Cols from Source A into the same format and then comparing them.

View 3 Replies View Related

Comparing List Of Cells To Each Other Using Macros

Jan 28, 2010

I have a list of authors for about 20 papers. These Papers are listed in sequential order from 1999 to 2005.

I want to track the number of similar authors from paper to paper. Thus I am attempting to create a macros that has the Papers listed sequentially when they were published and the authors for each paper, with the authors name in each cell. I want to create a macros that will compare the Author Cells associated to lets say the Fifth Paper with the Author Cells for the Fourth Paper (the Previous Paper). So that if certain authors come up in the Fifth Paper that were in the Fourth Paper, the # will be noted.

I also want this macros to compare all the Author Cells that have appeared in the past with that of the author cells of the (N) paper excluding the (N-1) Paper, and just note the # of occurences. So using the previous example. If we are talking about the Fifth Paper, it will look through Papers #1-#3 for any matching keywords and note the number.

I have attached my spreadsheet to make it more clearer. For some papers there are more than 20 authors as well just to note.

View 9 Replies View Related

Comparing One Postal Code With A List

Sep 9, 2013

My problem is this: I'm looking to compare a single postal code (in the left most column below) against an entire list (rightmost column) and see if there are any matches. Normally this would be very easy, except that the postal code list I have (on the right) is all partials (it only includes the first 4 characters of the postal code). I need the formula to register a match if thewhole postal code I'm testing has the incomplete postal code I'm testing for in it at all.

So far I've tried using VLOOKUP, MATCH, and IF with no luck. I don't think wildcards work in these functions... (otherwise this would be quite easy!)



View 7 Replies View Related

Comparing A List Of Words Within A Range

May 1, 2006

I've got a list in "column A" of around 6000 lines which contains key words which I want to extract to "Column b" if It matches but it can match on more than one word .


Six Nations Ireland v England
FA cup Semi Final Chelsea v Liverpool @ Old Trafford

Criteria Sample

Ideally I would like to extract the first Town/Country as this is where the event is held unless the @ symbol is used then it's the last Toen/Country as in the FA cup example.

View 8 Replies View Related

Copyrights 2005-15, All rights reserved