Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Could someone help me? I am inexperienced Excel user. I am trying to create
a function that will look at two columns of data and tell me how many occurances there are when column A equals a certain value when column B equals a certain value. I.E., column A = dog and column B = brown. Thank you. |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Try this:
=SUMPRODUCT((A1:A50="dog")*(B1:B50="brown")) It might be more advantageous to assign cells to contain your criteria, so that they can be more easily changed without having to revise the formula itself. Column A criteria in C1, And Column B criteria in C2: =SUMPRODUCT((A1:A50=C1)*(B1:B50=C2)) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "jsk" wrote in message ... Could someone help me? I am inexperienced Excel user. I am trying to create a function that will look at two columns of data and tell me how many occurances there are when column A equals a certain value when column B equals a certain value. I.E., column A = dog and column B = brown. Thank you. |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Thank you very much RagDyer. That works.
jsk "RagDyer" wrote: Try this: =SUMPRODUCT((A1:A50="dog")*(B1:B50="brown")) It might be more advantageous to assign cells to contain your criteria, so that they can be more easily changed without having to revise the formula itself. Column A criteria in C1, And Column B criteria in C2: =SUMPRODUCT((A1:A50=C1)*(B1:B50=C2)) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "jsk" wrote in message ... Could someone help me? I am inexperienced Excel user. I am trying to create a function that will look at two columns of data and tell me how many occurances there are when column A equals a certain value when column B equals a certain value. I.E., column A = dog and column B = brown. Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Weakness in the Drag Function of Excel 2007 (Beta) | Excel Worksheet Functions | |||
excel add-in function not persisting | Excel Discussion (Misc queries) | |||
Need some comments on my Utility_Move class module. | Excel Worksheet Functions | |||
Excel function countif??? | Excel Worksheet Functions | |||
I cant use englisch function names in a swedich version of excel | Excel Discussion (Misc queries) |