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 / March 2006

Tip: Looking for answers? Try searching our database.

Checking Two Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick - 16 Mar 2006 19:11 GMT
Hello,

I have a spreadsheet which lists users and has some info about the user.

Example of the field names:
name state gradelevel

I need something that will basically say "if state=NJ and gradelevel=12" add
1 to NJGRADE12TOTAL field.  So I will know after all the students are
entered, how many grade 12 NJ students we have.

I hope that's clear...thanks in advance for your help/suggestions!
SteveG - 16 Mar 2006 19:33 GMT
Assuming your State is in A2:A7 and Grade Level in B2:B7 for your total
count enter:

=SUMPRODUCT((A2:A7="NJ")*(B2:B7=12))

HTH

Steve

Signature

SteveG

Nick - 16 Mar 2006 20:26 GMT
Hey Steve! Thanks a lot! Saved me!!!

> Assuming your State is in A2:A7 and Grade Level in B2:B7 for your total
> count enter:
[quoted text clipped - 4 lines]
>
> Steve
 
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



©2009 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.