Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kiko31
 
Posts: n/a
Default how do i set a formulas with two conditions using countif

hello

i have a problem with formulas containing two conditions i tried sumif and
countif but it's not working
=COUNT(IF((sheet1!$F$8:$F$300="Materials")*(sheet1 !$M$8:$M$300="PPE not
available"),sheet1!$A:$N))

appreciate your help in advnace
thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default how do i set a formulas with two conditions using countif

To count the number of rows with "Materials" in column F and "PPE not
available" in column M, you could use the DCOUNT function (which requires
setting up a couple of rows for the criteria) or the SUMPRODUCT:
=sumproduct(--(sheet1!$F$8:$F$300="Materials"),--(sheet1!$M$8:$M$300="PPE
not available"))
To add up the associated values from column N where the same criteria are
met, you'd switch to DSUM, or add that array from column N to the sumproduct
formula:
=sumproduct(--(sheet1!$F$8:$F$300="Materials"),--(sheet1!$M$8:$M$300="PPE
not available"),sheet1!$N$8:$N$300)


"kiko31" wrote:

hello

i have a problem with formulas containing two conditions i tried sumif and
countif but it's not working
=COUNT(IF((sheet1!$F$8:$F$300="Materials")*(sheet1 !$M$8:$M$300="PPE not
available"),sheet1!$A:$N))

appreciate your help in advnace
thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default how do i set a formulas with two conditions using countif

=SUMPRODUCT(--(Sheet1!$F$8:$F$300="Materials"),
--(Sheet1!$M$8:$M$300="PPE not available"))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"kiko31" wrote in message
...
hello

i have a problem with formulas containing two conditions i tried sumif

and
countif but it's not working
=COUNT(IF((sheet1!$F$8:$F$300="Materials")*(sheet1 !$M$8:$M$300="PPE not
available"),sheet1!$A:$N))

appreciate your help in advnace
thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
kiko31
 
Posts: n/a
Default how do i set a formulas with two conditions using countif

many thanks for your propmt help it's work

"Bob Phillips" wrote:

=SUMPRODUCT(--(Sheet1!$F$8:$F$300="Materials"),
--(Sheet1!$M$8:$M$300="PPE not available"))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"kiko31" wrote in message
...
hello

i have a problem with formulas containing two conditions i tried sumif

and
countif but it's not working
=COUNT(IF((sheet1!$F$8:$F$300="Materials")*(sheet1 !$M$8:$M$300="PPE not
available"),sheet1!$A:$N))

appreciate your help in advnace
thanks





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
COUNTIF Formula in Excel with two conditions Gayla Excel Worksheet Functions 3 May 13th 06 07:00 AM
Please help with Statistics Formulas in Excel Fonz Excel Discussion (Misc queries) 10 April 9th 06 03:22 PM
multiple conditions in COUNTIF (Excel 2000) Johbou Excel Discussion (Misc queries) 1 August 20th 05 10:54 AM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM
combining countif formulas Liz G Excel Worksheet Functions 3 November 1st 04 09:34 PM


All times are GMT +1. The time now is 02:28 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"