A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Hostname from IP address



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2010, 11:18 AM posted to microsoft.public.excel.worksheet.functions
NickT[_2_]
external usenet poster
 
Posts: 1
Default Hostname from IP address

Hi,
I am hoping someone can help me please..
I have a spreadsheet that is linked to a survey being hosted on our website.
The survey is about internet safety and one of the questions it ask is what
is your ISP? However it seems that not everyone here in Bahrain knows this
and their entries are not valid. However we trap the IP addess in the survey
results and these are pulled into the spreadsheet along with all the survey
answers.

column a column b column c column d
IP Address Sex Age Nationality etc..
193.188.105.25 M 32 Bahraini etc..
84.235.101.66 M 33 Lebanese
83.136.59.145 F 28 Bahraini

I want to find a way of converting the IP Address into an ISP name or at
least the hostname. Can anyone help?
I also want to calculate the average ages of males or females by
nationality, i was using =Averageifs(column B,column d,"Bahraini", Column b,
"F") but this gives me an error.
I am sorry if this is the wrong forum but I am really stuck!

Kind regards
Nick


--
Internet Safety Advisor
Telecommunications Regulatory Authority
P.O. Box 10353 Kingdom of Bahrain
Tel +973 1752 0000
Fax + 973 1753 2125


  #2  
Old April 9th, 2010, 02:31 PM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default Hostname from IP address

Hi Nick

To convert the IP Addresses into ISP Names (or Hostnames) you'd have to have
a database to refer to. These can be purchased online from sites such as
http://www.ip2geo.net/

You were close to the correct formula, but here it is:

=averageifs(c:c,b:b,"F",d:d,"Bahrini")



"NickT" wrote in message
...
Hi,
I am hoping someone can help me please..
I have a spreadsheet that is linked to a survey being hosted on our
website.
The survey is about internet safety and one of the questions it ask is
what
is your ISP? However it seems that not everyone here in Bahrain knows this
and their entries are not valid. However we trap the IP addess in the
survey
results and these are pulled into the spreadsheet along with all the
survey
answers.

column a column b column c column d
IP Address Sex Age Nationality etc..
193.188.105.25 M 32 Bahraini etc..
84.235.101.66 M 33 Lebanese
83.136.59.145 F 28 Bahraini

I want to find a way of converting the IP Address into an ISP name or at
least the hostname. Can anyone help?
I also want to calculate the average ages of males or females by
nationality, i was using =Averageifs(column B,column d,"Bahraini", Column
b,
"F") but this gives me an error.
I am sorry if this is the wrong forum but I am really stuck!

Kind regards
Nick


--
Internet Safety Advisor
Telecommunications Regulatory Authority
P.O. Box 10353 Kingdom of Bahrain
Tel +973 1752 0000
Fax + 973 1753 2125



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.