Formatting Issues

How to Format Australian Landline and Mobile Numbers in Excel

Chanuka GeekiyanageChanuka Geekiyanage Oct 23, 2026 871 views

Question details

The user needs to format 10-digit Australian phone numbers correctly in Excel, using specific formats to differentiate landlines from mobile numbers.

How to Format Australian Landline and Mobile Numbers in Excel
Product
Excel
Device & OS
not provided
Scenario
Organizing contact lists and applying regional number formatting to distinguish Australian landlines (starting with 02, 03, 07, or 08) from mobile phone numbers (starting with 04).
Observed behavior
Numbers display as a raw sequence of 10 digits and require formatting rules to appear as (02) xxxx xxxx for landlines or 04xx xxx xxx for mobiles.
Before you start

Verify whether your phone numbers are stored as numeric values or text. Excel typically removes leading zeros when storing data as numeric values, which affects how custom formatting rules or formulas are applied.

Solution 1Recommended

Format Australian Phone Numbers Using an IF Formula

This method is recommended when your phone numbers are stored as text (preserving the leading zero) and allows dynamic formatting based on the starting digits.

Because Australian mobile numbers start with 04 and landlines start with 02, 03, 07, or 08, an IF function combined with text extraction formulas can accurately format mixed lists.

1
Insert a new column

Insert a new column next to your list of phone numbers (e.g., column B next to column A) to hold the formatted results.

2
Enter the IF formula

Select the first blank cell in the new column (B2) and enter the following formula: =IF(LEFT(A2,2)="04", "04"&MID(A2,3,2)&" "&MID(A2,5,3)&" "&RIGHT(A2,3), "("&LEFT(A2,2)&") "&MID(A2,3,4)&" "&RIGHT(A2,4))

3
Apply the formatting

Press Enter to apply the formula. The cell will now display the properly formatted landline or mobile number.

4
Copy the formula down

Click and drag the fill handle at the bottom-right corner of cell B2 down the column to apply this formatting to the rest of your contact list.

Format Australian Phone Numbers Using an IF Formula
Data Type Requirement: This formula assumes your phone numbers in column A are stored as 10-digit text strings with the leading zero intact.
Seamless Data Formatting

Format Australian Phone Numbers in WPS Spreadsheet

WPS Spreadsheet offers comprehensive custom formatting features and an intuitive formula builder to seamlessly manage regional data, including formatting complex phone numbers efficiently.

  1. 1. Open your file in WPS: Launch WPS Spreadsheet and open the document containing your contact lists.
  2. 2. Select your phone numbers: Highlight the column or cells containing your unformatted Australian telephone numbers.
  3. 3. Access cell formatting tools: Right-click the highlighted selection and choose 'Format Cells' from the context menu, then navigate to the 'Custom' category.
  4. 4. Apply regional format rules: Enter your desired number formatting string, such as [>=400000000]04## ### ###;(0#) #### ####, and click OK to immediately reformat your entire list.
Fully compatible with Microsoft Excel formulas and custom number formats.Built-in text-to-columns tools to safely convert numbers into text.Lightweight interface for managing large contact lists quickly.Available across Windows, Mac, Linux, iOS, and Android seamlessly.
microsoft office alternative - wps office

Frequently Asked Questions

How do I prevent Excel from removing the leading zero when entering phone numbers?

Before typing your phone number, insert an apostrophe ('). This tells Excel to treat the entry as text, preserving the leading zero. Alternatively, highlight your column and format it as 'Text' before entering your data.

Can I remove random spaces from phone numbers before applying the custom format?

Yes. You can use the SUBSTITUTE function (e.g., =SUBSTITUTE(A2," ","")) to remove any existing spaces. You can also use the Find and Replace tool (Ctrl + H), typing a space in the 'Find what' field and leaving the 'Replace with' field completely blank.

Why is my custom number format showing hashes (####) instead of actual numbers?

This usually indicates that the column is too narrow to display the newly formatted text string. Double-click the right-hand boundary of the column header to auto-fit the width, which will reveal the properly formatted numbers.