#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default countifs

I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default countifs

One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default countifs

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default countifs

I am trying to get this to draw from another sheet and keep getting an error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default countifs

Works ok for me.

When I copied your posted formula and pasted it I got the general formula
error message: The formula you typed contains an error....

It highlighted this portion of the formula:

{"new";"under"}))

I just backspaced that out and retyped and it worked.

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I am trying to get this to draw from another sheet and keep getting an
error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name
and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default countifs

OK, now I see why I got that error message.

....'Pending Sold'!S:S,{"new";"under'}))

You're missing the second quote after under.

....'Pending Sold'!S:S,{"new";"under"}))

I have poor eyesight. That's why I didn't catch it the first time around.

One of these days I'm gonna have to bail out of these forums because of my
poor eyesight. Either that or I'm gonna have to get a 52 inch monitor and
view everything in a 40pt font size!

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Works ok for me.

When I copied your posted formula and pasted it I got the general formula
error message: The formula you typed contains an error....

It highlighted this portion of the formula:

{"new";"under"}))

I just backspaced that out and retyped and it worked.

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I am trying to get this to draw from another sheet and keep getting an
error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name
and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks









  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default countifs

Thanks everything works well!!!!!!!!!!!!!!

"T. Valko" wrote:

Works ok for me.

When I copied your posted formula and pasted it I got the general formula
error message: The formula you typed contains an error....

It highlighted this portion of the formula:

{"new";"under"}))

I just backspaced that out and retyped and it worked.

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I am trying to get this to draw from another sheet and keep getting an
error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name
and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks








  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default countifs

Now I need to take this formula and make it count a range.

=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending Sold'!C:C,"sold",'Pending
Sold'!S:S,{"new";"under"}))

I need to count column F on the Pending Sold sheet if it is = 1 and F<=
150000 with Pending Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under"}))

Make sense, Can you Help?


"T. Valko" wrote:

Works ok for me.

When I copied your posted formula and pasted it I got the general formula
error message: The formula you typed contains an error....

It highlighted this portion of the formula:

{"new";"under"}))

I just backspaced that out and retyped and it worked.

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I am trying to get this to draw from another sheet and keep getting an
error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name
and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks








  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default countifs

Trev; try copy paste the below (the last one was a single quote instead of
double quote which caused the error)

=SUM(COUNTIFS('Pending Sold'!A1:A10,"name",'Pending
Sold'!C1:C10,"sold",'Pending Sold'!S1:S10,{"new*","under*"}))

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I am trying to get this to draw from another sheet and keep getting an error.
any ideas?


=SUM(COUNTIFS('Pending Sold'!A:A,"name",'Pending
Sold'!C:C,"sold",'Pending Sold'!S:S,{"new";"under'}))

"T. Valko" wrote:

Ooops!

Used the wrong range for that last criteria. Should be:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",S2:S10,{ "new";"under"}))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way:

=SUM(COUNTIFS(A2:A10,"name",C2:C10,"sold",D2:D10,{ "new";"under"}))

--
Biff
Microsoft Excel MVP


"Trev" wrote in message
...
I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks





  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default countifs

Using SUMPRODUCT()

=SUMPRODUCT(--(A2:A100="name"),--(C2:C100="sold"),--ISNUMBER(MATCH(s2:s100,{"red","black"},0)))

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks



  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default countifs

this works when I put it on one sheet but I need it to look for the info on
another sheet. When I try

=SUMPRODUCT(--('sheet'!A:A="name"),--('sheet'!C:C="sold"),--ISNUMBER(MATCH('aheet'!S:S,{"red","black"},0)))

I receive a return of 0

"Jacob Skaria" wrote:

Using SUMPRODUCT()

=SUMPRODUCT(--(A2:A100="name"),--(C2:C100="sold"),--ISNUMBER(MATCH(s2:s100,{"red","black"},0)))

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks

  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default countifs

Hi,

You have misspelled sheet in the last portion - change the spelling to sheet
from aheet. Also, please avoid using entire columns as references

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Trev" wrote in message
...
this works when I put it on one sheet but I need it to look for the info
on
another sheet. When I try

=SUMPRODUCT(--('sheet'!A:A="name"),--('sheet'!C:C="sold"),--ISNUMBER(MATCH('aheet'!S:S,{"red","black"},0)))

I receive a return of 0

"Jacob Skaria" wrote:

Using SUMPRODUCT()

=SUMPRODUCT(--(A2:A100="name"),--(C2:C100="sold"),--ISNUMBER(MATCH(s2:s100,{"red","black"},0)))

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I need a formula that counts if column C = Sold, and column A = Name
and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
Thanks


  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default countifs

Should be the below for wildcards...

=SUMPRODUCT((A2:A100="name")*(C2:C100="sold")*(ISN UMBER(SEARCH({"NEW","UNDER"},S2:S100))))

If this post helps click Yes
---------------
Jacob Skaria


"Trev" wrote:

I need a formula that counts if column C = Sold, and column A = Name and
column S and be either New* or Under*

=COUNTIFS(C:C,"sold",A:A,"name")can equal Name or Under

Is this possible?
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
Countifs CD27 Excel Worksheet Functions 2 April 21st 09 06:36 PM
CountIfs vreeckes Excel Worksheet Functions 4 February 19th 09 02:57 AM
COUNTIFS with an OR? RobofMN Excel Worksheet Functions 3 January 20th 09 01:58 AM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
countifs Forza MIlan Excel Discussion (Misc queries) 2 July 4th 07 09:48 AM


All times are GMT +1. The time now is 04:47 PM.

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"