#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I need a formula

I need formula: count C4:C250 if it contains a 2 only if D4:250 contains a
1. Is it Possible??
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default I need a formula

One way: =SUMPRODUCT((C4:C250=2)*(D4:D250=1))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jenelle1433" wrote:
I need formula: count C4:C250 if it contains a 2 only if D4:250 contains a
1. Is it Possible??

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default I need a formula

I think you want something like this:

=SUMPRODUCT(--(C4:C250=2);--(D2:D250=1))


Rodrigo Ferreira


"Jenelle1433" escreveu na mensagem
...
I need formula: count C4:C250 if it contains a 2 only if D4:250 contains a
1. Is it Possible??



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default I need a formula

=SUMPRODUCT(--(C4:C250=2),--(D4:250 =1))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Jenelle1433" wrote in message
...
I need formula: count C4:C250 if it contains a 2 only if D4:250 contains a
1. Is it Possible??



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 04:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"