PC Review


Reply
Thread Tools Rate Thread

Countif from an offset column

 
 
stokefolk@gmail.com
Guest
Posts: n/a
 
      14th Sep 2006
Hi,

I have the following data:

Logins Trimmed agent
933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
55,989 Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)

I can get a count of all unique agent strings using, say, IE6 by using
COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
by IE6 browsers. That is, I'd like a sum of all values in column A,
where the corresponding cell in column B contains "*MSIE6.0^"

Is this possible without reverting to VBA?

Thanks

Tim

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      14th Sep 2006
Take a look at =sumif()

(E-Mail Removed) wrote:
>
> Hi,
>
> I have the following data:
>
> Logins Trimmed agent
> 933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
> 66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
> 55,989 Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
> 52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
> 50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
> 43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)
>
> I can get a count of all unique agent strings using, say, IE6 by using
> COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
> by IE6 browsers. That is, I'd like a sum of all values in column A,
> where the corresponding cell in column B contains "*MSIE6.0^"
>
> Is this possible without reverting to VBA?
>
> Thanks
>
> Tim


--

Dave Peterson
 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      14th Sep 2006
Hi!

Try this:

=SUMIF(B2:B7,"*MSIE6.0*",A2:A7)

Biff

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have the following data:
>
> Logins Trimmed agent
> 933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
> 66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
> 55,989
> Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
> 52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
> 50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
> 43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)
>
> I can get a count of all unique agent strings using, say, IE6 by using
> COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
> by IE6 browsers. That is, I'd like a sum of all values in column A,
> where the corresponding cell in column B contains "*MSIE6.0^"
>
> Is this possible without reverting to VBA?
>
> Thanks
>
> Tim
>



 
Reply With Quote
 
stokefolk@gmail.com
Guest
Posts: n/a
 
      14th Sep 2006
Exactly what I'm looking for, thanks!

Biff wrote:
> Hi!
>
> Try this:
>
> =SUMIF(B2:B7,"*MSIE6.0*",A2:A7)
>
> Biff
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > I have the following data:
> >
> > Logins Trimmed agent
> > 933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
> > 66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
> > 55,989
> > Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
> > 52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
> > 50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
> > 43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)
> >
> > I can get a count of all unique agent strings using, say, IE6 by using
> > COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
> > by IE6 browsers. That is, I'd like a sum of all values in column A,
> > where the corresponding cell in column B contains "*MSIE6.0^"
> >
> > Is this possible without reverting to VBA?
> >
> > Thanks
> >
> > Tim
> >


 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      14th Sep 2006
You're welcome. Thanks for the feedback!

Biff

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Exactly what I'm looking for, thanks!
>
> Biff wrote:
>> Hi!
>>
>> Try this:
>>
>> =SUMIF(B2:B7,"*MSIE6.0*",A2:A7)
>>
>> Biff
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi,
>> >
>> > I have the following data:
>> >
>> > Logins Trimmed agent
>> > 933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
>> > 66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
>> > 55,989
>> > Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
>> > 52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
>> > 50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
>> > 43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)
>> >
>> > I can get a count of all unique agent strings using, say, IE6 by using
>> > COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
>> > by IE6 browsers. That is, I'd like a sum of all values in column A,
>> > where the corresponding cell in column B contains "*MSIE6.0^"
>> >
>> > Is this possible without reverting to VBA?
>> >
>> > Thanks
>> >
>> > Tim
>> >

>



 
Reply With Quote
 
=?Utf-8?B?bW1jZG9uYWxkMUBtc24=?=
Guest
Posts: n/a
 
      15th Sep 2006
If I understand the question correctly, you can just make a simple change to
the formula you already have. Just change it to a "sumif" by entering the
following formula: =SUMIF(B:B,"*MSIE6.0*",A:A).

Hope this helps.

MM


"(E-Mail Removed)" wrote:

> Hi,
>
> I have the following data:
>
> Logins Trimmed agent
> 933,858 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1)
> 66,788 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.0)
> 55,989 Mozilla/5.0(WindowsUWindowsNT5.1en-USrv:1.8.0.6)Gecko/20060728Firefox/1.5.0.6
> 52,918 Mozilla/4.0(compatibleMSIE6.0AOL9.0WindowsNT5.1)
> 50,868 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1InfoPath.1)
> 43,339 Mozilla/4.0(compatibleMSIE6.0WindowsNT5.1Maxthon)
>
> I can get a count of all unique agent strings using, say, IE6 by using
> COUNTIF(B:B,"*MSIE6.0*"). However, I'd like to get total of all logins
> by IE6 browsers. That is, I'd like a sum of all values in column A,
> where the corresponding cell in column B contains "*MSIE6.0^"
>
> Is this possible without reverting to VBA?
>
> Thanks
>
> Tim
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Offset/Countif question =?Utf-8?B?SmVubnkgQi4=?= Microsoft Excel Misc 4 5th Apr 2007 07:43 PM
2 conditions Countif with offset =?Utf-8?B?U3RAY3k=?= Microsoft Excel Programming 9 26th Jan 2007 11:25 PM
countif/offset problem Scot B Microsoft Excel Discussion 5 9th Dec 2005 06:28 AM
CountIF and OFFSET Steve Jackson Microsoft Excel Worksheet Functions 4 26th Oct 2004 09:05 PM
Re: offset countif Vasant Nanavati Microsoft Excel Worksheet Functions 1 6th Aug 2003 03:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:02 PM.