How to Format Australian Landline and Mobile Numbers in Excel
Question details
The user needs to format 10-digit Australian phone numbers correctly in Excel, using specific formats to differentiate landlines from mobile numbers.

- 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.
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.
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.
Insert a new column next to your list of phone numbers (e.g., column B next to column A) to hold the formatted results.
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))
Press Enter to apply the formula. The cell will now display the properly formatted landline or mobile number.
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.

Apply Custom Number Formatting for Numeric Data
Use this approach if your data is stored as raw numbers and Excel has automatically dropped the leading zeros (leaving 9-digit numbers).
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. Open your file in WPS: Launch WPS Spreadsheet and open the document containing your contact lists.
- 2. Select your phone numbers: Highlight the column or cells containing your unformatted Australian telephone numbers.
- 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. Apply regional format rules: Enter your desired number formatting string, such as [>=400000000]04## ### ###;(0#) #### ####, and click OK to immediately reformat your entire list.

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.




