LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Stewart
 
Posts: n/a
Default CountIf trouble

Hi I am having a time with Countif statement. Here is what I have

I have a table with some rows that I need to count

Row F
Job Type RowG
Order Status
Sys Ordered
Prg Quoted
Sys Quoted
Prg Ordered
Sys Ordered
Prg Quoted
Sys Quoted
Prg Quoted
Sys Quoted
Sys
Sys Quoted
Sys Quoted
Sys Quoted
Sys


I have tried to write a formula to count the number of times Row F has "Sys"
and Row G has "Ordered"

the formula I thought would work is

=(COUNTIF(F2:F48,"Sys"))*AND(COUNTIF(G2:G15,"Order ed"))

I always get 10 returned. The formula counts Row F but never takes into
account what is in Row G

I need the count to increment only if both conditions are true Row F = Sys
AND row G = Ordered

Any Ideas will be GREATLY APPRECIATED!

PS Why does Excel require a * in front of the AND statement?

I have tried many variations of this formula and it either doesn't work or
gives me 10 in return. I need it to return 2

Thanks In Advance!!!!!!!

Mark



 
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 /Sort Bug??? orcfodder Excel Discussion (Misc queries) 2 January 12th 06 10:04 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


All times are GMT +1. The time now is 01:32 AM.

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

About Us

"It's about Microsoft Excel"