close

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 quot;if state=NJ and gradelevel=12quot; 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!


Assuming your State is in A2:A7 and Grade Level in B2:B7 for your total
count enter:

=SUMPRODUCT((A2:A7=quot;NJquot;)*(B2:B7=12))

HTHSteve--
SteveG
------------------------------------------------------------------------
SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
View this thread: www.excelforum.com/showthread...hreadid=523210Hey Steve! Thanks a lot! Saved me!!!
quot;SteveGquot; wrote:

gt;
gt; Assuming your State is in A2:A7 and Grade Level in B2:B7 for your total
gt; count enter:
gt;
gt; =SUMPRODUCT((A2:A7=quot;NJquot;)*(B2:B7=12))
gt;
gt; HTH
gt;
gt;
gt; Steve
gt;
gt;
gt; --
gt; SteveG
gt; ------------------------------------------------------------------------
gt; SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
gt; View this thread: www.excelforum.com/showthread...hreadid=523210
gt;
gt;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()