View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Sean Timmons Sean Timmons is offline
external usenet poster
 
Posts: 1,696
Default I need my formula to analyse numerical and text data

=SUMPRODUCT(--(C2:C5=1),--(D2:D50="M"))

Will do a countif both columns meet the criteria.

"Eduardo" wrote:

Hi,
you can but what is the result you are looking for once you met both
condition summarize another column??

"Nightrunning" wrote:

I need my formula to look at numerical and text data, can it do that? Eg
COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I
phrase the formula? I have a ton of these to work out for a mega spreadsheet
and I am stuck!! All help appreciated!