Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Excel formula tip

Status
Not open for further replies.

AdminAdmin is verified member.

Administrator
Staff member
Joined
Jun 14, 2004
Posts
11,105
Reaction score
986
Scenario:

You have a text file list of domains, all types of TLDs but you want to sort them to find just the .co.uk ones

Open / import the list in Excel
I'll assume the domain list is in column A
In column B, add the following formula:

Code:
=IF(ISNUMBER(FIND(".co.uk",A1)),"UK", "")
Copy it down all the rows...
Code:
=IF(ISNUMBER(FIND(".co.uk",A2)),"UK", "")
=IF(ISNUMBER(FIND(".co.uk",A3)),"UK", "")

If the domain name is a .co.uk, column B will state "UK" else nothing
Change the "co.uk" part of the formula if you want to identify another extension

Sort both columns by column B then you have a list of just the UK domains!

Enjoy

Admin
 
In Excel 07, you could highlight the column and use a Text filter containing the text .co.uk or the tld you wish to filter.
 
You could also use =find(".co.uk",a1) in cell b1 (assuming that you have your list of domains in column a, starting at cell a1. Then copy that formula into all the column b cells that have domains in column a, and sort column b using the sort function.
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
      J @ Jack202: PH-H.com
      Top Bottom