International And United States Custom Cell Formatting?

Jun 27, 2013

I am trying to insert custom formatting into a cell so when I enter a set of 9 numbers for phone numbers in the U.S. and 14 numbers for international phone numbers, it will automatically display it in the correct format. Reason for the 0's on the international is because country codes often start with a 0, so I need to ensure it isn't removed from the number.

View 4 Replies


ADVERTISEMENT

Error In Udf Outside United States

Sep 5, 2007

I currently have an issue with some of my user defined functions. These functions work perfect for everyone here at my company in the USA / UK. The problem happens when we send it to our client who is overseas.

The client opens up the file and all they see are #VALUE! errors where our UDF's are being used. But when they send it back to us the file works properly.

I have currently added VBA code so that when the workbook and the user enables macro's the file will do an application.calculatefull. This still does not seem to work for them.

The excel version that I am running currently on my PC is MS Office 2003 Pro (11.8146.8132) SP2. The version that the client is running on their PC is MS Office 2003 Pro (11.8105.8107) SP2. Could this problem occur because of updates that they have not yet installed? I have been working on this problem for about a week now and have not come up with a solution.

View 9 Replies View Related

United States Map With Dynamic Colors

Jun 6, 2007

I'm trying to make a little dynamic map of the United States where each of the states change color based on a particular cell value that corresponds to that state. I've got the map of the United States in Excel and ungrouped so I have a collection of seperate shapes - one for each of the lower 48 States. I've named each shape (state) by it's postal abbreviation: TX, CA, NY, etc.

Now I'm trying to write a macro that will COLOR the state according to a numeric value in the cell next to the cell containing the State abbreviation. These are transit days to this state that I will calculate in another location. Like this:

TX = 3 days
CA = 1 days
OR = 1 days
NY = 7 days
KS = 3 days
FL = 7 days

View 8 Replies View Related

Custom Sorting With Commas For City And States

Jun 20, 2013

I want to sort all of the "column2" by alphabetical order. The order will be first by state and then by city. For example the first box the column2 order should be (Fountain Hills, AZ) properties first followed by (Mesa, AZ) properties second followed by (Peoria, AZ) etc.... ending with (Flower Mound, TX) last.

The issue that I'm having is that when I create a custom sort the comma after the city indicates a new value being AZ. For example my custom sorting looks like this: Fountain Hills, AZ, Mesa, AZ, Peoria, AZ. This is limiting my ability to sort the files as is with city, state. I solved this issue by removing the commas after all the cities. This worked but was time consuming. Is there a faster way? The workbook is below.

Development Projects Mr Excel.xlsx

View 2 Replies View Related

Custom Formatting Cell With 2 Numbers?

May 5, 2014

I would like to enter 2 numbers in the same cell i.e;

300-900

and have it format to

3:00-9:00

I can use the following for single number entries

[Code] ......

i.e. 300 would format to 3:00

View 5 Replies View Related

Custom Formatting Of Text & Number Cell

Mar 4, 2007

I have a cell that contains numbers and text.

example: 1-2-3-4-5-6 or 1-22-3-44-5-6.

If the the number between the dash '-' is a single digit (less than 9), I want to insert a leading zero so all 6 numbers are 2 digits.

Is this possible with custom formatting? I tried a custom for of:
00"-"00"-"00"-"00"-"00"-"00
and it is not working.

I also tried using a MID formula but it gets quite complex identifying the location of the dash - is there an easier way than the MID or LEN?

View 9 Replies View Related

Excel 2007 :: Saving File With Name Based On Cell Contents With Custom Formatting

Aug 16, 2012

I have a worksheet that has a number in cell K5 - the number is generated on "file open" code and is custom formatted as "TN"0000. Thus 1 appears as TN0001, 2 as TN0002 and so on. I am trying to save a copy of the workbook based on the this cells contents i.e. TN0001.xls, TN0002.xls etc. but the files are saved as 1.xls or 2.xls. The code I am using is

ActiveWorkbook.SaveAs Filename:="C:DataExcelFORMSDelivery Note" & Range("K5") & ".xls", _
FileFormat:=xlNormal, ReadOnlyRecommended:=True, CreateBackup:=False

I know I must make reference to format within the above....but how? if try something like

" & Format(Range("K5").Value, ("TN""0000")) & ".xls"

I get TN00000.xls

View 2 Replies View Related

VBA Code For Deleting Rows Where Cell In Column A States

Mar 20, 2009

I'm trying to get a VBA macro put together that would delete all the rows, throughout every sheet, and shift up wherever the cell in column A = "Delete Row" in a workbook I've made. In the below copy of the workbook you can see that a lot of the information from all the tables is linked to the topmost table on the 'Mix Detail Sheet'.

If the the Cell in column A is blank on that first table, its corresponding cells in tables throughout the workbook displays the words "Delete Row". I need the macro to delete the rows and shift everything up where this occurs.

Ideally I'd also like the macro to then delete the rows in that first table where the column A cells are blank.

View 5 Replies View Related

Make Cell Mandatory If Another Cell States XX

Aug 30, 2012

How can I make a cell mandatory, if another Cell states XX?

For example:

If column B has "agency" then column C must be completed stating which agency was used?

However sometimes column B could say "no agency" therefore column c doesn't need filling!

View 1 Replies View Related

API Call International Settings

Dec 3, 2008

I change the international setting by using the API call shown below. The settings change, but is not activated before I exit Excel and go in again.

View 7 Replies View Related

International Sheet Code Names

Dec 31, 2006

Reference Sheets in VBA.

If the default tab name varies from country to country, is the CodeName the same in all languages - "Sheet1", "Sheet2" etc.?

View 9 Replies View Related

Convert Numbers Into Indian And International Text Form

Jul 10, 2013

Specially in accounting jobs we need to convert numbers into text when expressing currency values. writing a macro everytime and running it is cumbersome. isnt there an add on?

View 1 Replies View Related

International Functionality - Type Mismatch In Foreign Countries

Apr 27, 2007

I've always found these forums a valuable resource while searching for answers to coding questions. My question today deals with international distribution of Macros.

I've written a macro and its been distributed worldwide. It works just fine on the multiple instances where people have installed it here in the US. However, two of my colleagues in Mexico and Brazil are recieivng Type Mismatch Errors. Here is the code that is crashing:

'Making sure I'm on the right page
Sheets("Summary").Activate
'resetting variables to the top of the page
Let intsummrow = 7
Let intsummcol = 1

' Loop to find the last column
Let vartemp1 = Cells(intsummrow, intsummcol).Value
Do Until vartemp1 = ""
Let intsummcol = intsummcol + 1
Let vartemp1 = Cells(intsummrow, intsummcol).Value
Loop

The precise type mismatch is occuring at:

Do Until vartemp1 = ""

vartemp1 is a variant variable which at this point is storing the cell contents
intsummcol is an integer variable storing the column number
intsummrow is an integer variable storing the row number

And through my follow-up testing I've confirmed that in my US based copy cell A7 does have text in it.

View 5 Replies View Related

Custom Formatting For Cells

May 2, 2013

How to create custom formatting for cells like (%.00##).

View 2 Replies View Related

Custom Formatting Number In 00

Oct 4, 2007

How do you custom format a number so that 0.99 appears 99, 0.5 appears 50, 0.108 appears 108 and so on

View 9 Replies View Related

Custom Number Formatting In 2,1.5,0.5,10,19.5

Jul 26, 2009

I would to show the number like this if it hasn't decimal like 2 showing in 2 not 2.0 and if it has decimal like 1.5 show 1.5, 1.75 show 1.75....
1
1.5
0.5
2
1.75
0.25
Now I try this "_(* #,##0.0_);_(* (#,##0);_(* "-"??_);_(@_)"

View 9 Replies View Related

Custom Number Formatting

Sep 14, 2006

I need a custom number format to do the following: When a whole number, shows only whole number (no decimal place) When decimal, show decimal. For example, have this data show as typed:

45 (not 45.0)
32
6.7
43.5
87

I can't figure out a format to allow this. The closest I get is:
??.?
but that gives me:
45.
32.
6.7
43.5
87.

View 3 Replies View Related

Custom Formatting On Multiple Cells

Dec 24, 2012

I am creating a spreadsheet for a stockroom, each product that my business sells, is on an individual row, and the details for each product can be seen in the columns (e.g. Product ID, Product Name, Cost Price, Number Sold, Number Brought, Units in Stock).

What I want to happen, is for rows to be blacked out (through formatting) if the remaining stock levels fall below around 3, then the row that the product is on, is 'un-blacked out' and so can be seen. However if the number of remaining stock is above 3, the row is blacked out.

So the sheet will work that only products with the number of remaining units in stock are below 3, are visible, and the others are blacked out.

View 3 Replies View Related

Custom Formatting To Round To TENS

Aug 3, 2013

I need to take a column of numbers and round them to the nearest 10. This is for a worksheet that will go out to clients, and we aren't allowed to leave functions (such as =mround(5556.54645645656, 10)) in place. However, the only alternative is to just type over that long number with "5560", which eats the original number and isn't desirable either.

Therefore, I have come to look at custom formatting. The closest thing I have found is this thread: [URL] ......

View 9 Replies View Related

Formatting Pivot Table With Custom Ranges?

Feb 2, 2014

My boss asked me to format a pivot table like this with irregular ranges:

I've had a crack (as seen below and have gotten everything right except the strange group irregular ranges. I'm stumped! I'm not sure if pivot tables even have a function for irregular group ranges.

My raw data looks like here is its layout:

View 7 Replies View Related

Millions & Thousands Custom Number Formatting

Feb 24, 2009

To display 1,100,000 as $1.1M & 110,000 as $110.0K I've used the below Custom Number Formatting.

[>=1000000] $#,##0.0,,"M";[

View 9 Replies View Related

Custom Formatting A Date In A Text Entry

Mar 24, 2009

I have a date in H34, 21/03/2009.

In I34 I have the same date again, except formatted as MMMM YYYY so its showing "March 2009".

In G10, I want the cell to read: Number at end of March 2009, with the month and year being taken from the date range. To be honest, I can get the year okay using the Year() function but cant get the month as cant convert it back from a numeric.

View 9 Replies View Related

How To Use Custom Number Formatting To Get 20130522A To Display As 2013 05 22A

May 22, 2013

I can't figure out how to use the custom number formatting to get 20130522A to display as 2013 05 22A. I don't care if it has to be 2013 05 22 A, the extra space is fine.

I have been googling and trying different things and I cant get anything to work. All of the characters can be text, there will always be 4 characters, a space, 2 characters, a space, and the remaining 3 characters. It seems as though it should be so simple to add two spaces into a fixed length string, but I guess not.

View 8 Replies View Related

Excel 2007 :: Custom Icon Sets For Conditional Formatting?

Mar 26, 2010

Any way to import and use icon sets for conditional formatting other than the ones provided in excel 2007? I would like to have some circles and shapes in colors other than just yellow, green, red, and gray.

View 5 Replies View Related

Conditional Formatting For Blank Cells To Display Custom Text

Feb 17, 2012

I have a range of cells with numeric values or blanks. I set up a Conditional Formatting rule with this range selected: New Rule > Format only cells that contain > Format only cells with: Blanks; then I set the formatting to a light green fill and on the Number tab > Category = Custom > Type: "blank"

The blank fields get the light green fill, but no text; that is, the value displayed is still blank.

I go back to edit the CF rule and change Blanks to No Blanks. The results are what I expect: the cells with numbers display the text blank and have a green fill; the blank cells have no fill (white).

This is my testing criteria. I eventually want the empty cells to display 0 (zero). I tried setting Custom > Type: 0 (the number placeholder zero) and Type: "0" (literally the number zero), and neither works.

I have tried this with Format only cells with Cell Value equal to [the address of a blank cell].

I tried to set the value as "" but kept getting =""""; and ="" became ="=""" ???

I have tried this with Use a Formula... using the len()=0, isblank(), and other approaches, all with the same results.

I also made sure the option [x] Show a zero in cells that have a zero value is checked.

With all approaches to identifying the blank cells, they ARE obviously being recognized as blank values: the fill color is being applied to the right cells; and when Not Blank is the criterion (or a negation of a formula), the blank ones are not formatted. But blank cells will not display the text as defined in the Custom Formatting.

And this isn't an issue of "If the cell displays 'blank' it's no longer blank, so the rule doesn't apply" - HERE'S WHY: I set up a second CF rule that sets the Font to red when the value is greater than zero and had this CF rule follow the CF rule for No Blanks (the test above that works). Cells with positive numbers displayed blank in red, cells with zeros or negative numbers displayed blank in black. This clarified that the actual value of the cell is being evaluated, not the displayed value after Custom formatting is applied.

View 2 Replies View Related

Custom Formatting - Show Numbers On Excel Spreadsheet In Thousands

Jun 14, 2013

I want to show numbers on my excel spreadhseet in thousands. However, the challenge is I want to show negtive numbers in red within brackets. For instance, I have a number -104,784,089. I want to display it as (104,784) in red color. Similarly, I want to show 577,090 as 577. Is there a customer formatting I can set up in excel that do that?

View 2 Replies View Related

Sheets Based On States.

Feb 15, 2010

I had a worksheet with Employee name,Place,State & Amount Columns. I want the data in the MasterSheet to be copied into Individual Sheets based on Place & State. All The rows should be copied into one sheet based on the State of the respective Place one after the other. For Excel to Know which Place belongs to which State I had created the sheet match List.

The Data is dynamic.Each Day the data may grow or shrink depending upon the transactions at that place.I had shown how the data should be copied into individual sheets.

View 2 Replies View Related

Removing Multiple States And Put Them In Their Own Workbook

Jul 27, 2009

Can someone please build me a quick VB code?

Below are states which are located in column "I". I need a VB code that will cut any entire row that has any of the following states below into a new collective workbook - if any of the states don't exsist then to just ignore and move on. They all have to be in the same workbook in the end.

If NONE of these states exsist, please just insert a msgbox ("No states to move")

(I basically need to divide West coast and East coast by removing all WC states and put them in their own workbook)

WA
OR
CA
MT
ID
UT
AZ
WY
CO
NM
OK
TX

View 11 Replies View Related

Link Dropdown States & Countries

Jan 7, 2007

I am trying to figure out the excel formula I need for a project. Basically i am try to do a lookup for Country/State. What I have is a column called Country and once called State on the first worksheet on the second I need to do the calculations that will allow user to select Country and the when they click on the State it shows only the related States based on the Country which are loaded on the second worksheet.

(EG.

COUNTRY = United States - will return/diplay in dropdown

STATE = New York
STATE = New Jersey

etc.

Yahoo IM: rmdyjoe

View 3 Replies View Related

Calculation Order As The Title States

Jun 28, 2008

Calculation Order. As the title states.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved