Assuming your phone numbers are in col. A in the range A2:A1000, then try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.
In B2 (for Landline numbers)
=IFERROR(INDEX($A$2:$A$1000,SMALL(IF(LEFT($A$2:$A$1000,2)="02",ROW($A$2:$A$1000)-ROW($A$2)+1),ROWS(B$2:B2))),"")
Confirm with Ctrl+Shift+Enter and then copy down.
In C2 (for Mobile numbers
=IFERROR(INDEX($A$2:$A$1000,SMALL(IF(LEFT($A$2:$A$1000,1)="9",ROW($A$2:$A$1000)-ROW($A$2)+1),ROWS(C$2:C2))),"")
Confirm with Ctrl+Shift+Enter and then copy down.
Is this what you are trying to achieve?
********************************************
Remember that an Array Formula is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
Bookmarks