View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Count on conditions for two Columns

Try this:

=SUMPRODUCT((A1:A20=133.6796875)*(B1:B20="Unbound" ))

I've assumed you have 20 rows of data, so adjust the ranges if you
have more.

If you are likely to want other summary stats, then you can put the
variables in two cells, eg:

C1=133.6796875
D1=Unbound

then the formula becomes:

=SUMPRODUCT((A1:A20=C1)*(B1:B20=D1))

Hope this helps.

Pete

On Sep 2, 5:35*pm, MammaFin wrote:
HI All,

Thanks in advance for any help that can be provided on the question
below:

I need a function that will produce the total number of of a specific
device *in Column A that corresponds with a specific value in column
B.

E.G below column A represents a Hard Disk device of 133GB and Column B
represents if it is being used (Enabled) or not used (Unbound) - I
need to get the total number of 133GB devices that are in the
"Unbound" state.

HDD * * * * * * * * * * Status
133.6796875 * * Enabled
133.6796875 * * Enabled
133.6796875 * * Enabled
458.5957031 * * Enabled
458.5957031 * * Enabled
133.6796875 * * Enabled
133.6796875 * * Unbound
133.6796875 * * Unbound
133.6796875 * * Enabled
458.5957031 * * Unbound

Kind Regards,
Fin