Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

Count

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brownti - 15 Jun 2007 16:13 GMT
i have data that looks like the following:

2   7
1   5
2   7
1   4
2   7

I need a formula that will find how many time the number 7 is in the right
column and add up the corresponding number in the left column.  So the answer
for this example would be 6, found 3 sevens in right column so added 2+2+2.
I tried an index(...,match(  but couldnt get it to work.  Please help.
Thanks.
Rick Rothstein (MVP - VB) - 15 Jun 2007 16:18 GMT
>i have data that looks like the following:
>
[quoted text clipped - 11 lines]
> I tried an index(...,match(  but couldnt get it to work.  Please help.
> Thanks.

Try this...

=SUMIF(B1:B5,"=7",A1:A5)

where I have assumed the first column of numbers is in A1:A5 and the second
column of numbers is in B1:B5.

Rick
Teethless mama - 15 Jun 2007 16:35 GMT
=SUMIF(B1:B5,7,A1:A5)

> i have data that looks like the following:
>
[quoted text clipped - 9 lines]
> I tried an index(...,match(  but couldnt get it to work.  Please help.
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.