Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIFS formula question

I have a spreadsheet that has symbols representing status. I have 3 letter
variables that I want to calculate over a range of columns. The 3 symbols
are R, RS and $. Each of them would represent the number 1. I have gone
into the help and tried to enter the COUNTIFS formula as they say I should
and I keep getting an error that it is invalid. Here is the formula that I
am entering:

=COUNTIFS(B3:AM3, "R", [B3:AM3, "RS"], [B3:AM3, "$"])

The error keeps popping up at the "R" and I have tried it without the quotes
and I get the same error.

--
Jennifer D.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default COUNTIFS formula question

Do you want R OR RS OR $? If so, try

=SUM(COUNTIF(B3:AM3, {"R","RS","$"}))


--
__________________________________
HTH

Bob

"Yogachick" wrote in message
...
I have a spreadsheet that has symbols representing status. I have 3 letter
variables that I want to calculate over a range of columns. The 3 symbols
are R, RS and $. Each of them would represent the number 1. I have gone
into the help and tried to enter the COUNTIFS formula as they say I should
and I keep getting an error that it is invalid. Here is the formula that
I
am entering:

=COUNTIFS(B3:AM3, "R", [B3:AM3, "RS"], [B3:AM3, "$"])

The error keeps popping up at the "R" and I have tried it without the
quotes
and I get the same error.

--
Jennifer D.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default COUNTIFS formula question

try

=SUMPRODUCT((B3:AM3="R")+(B3:AM3="RS")+(B3:AM3="$" ))

"Yogachick" wrote:

I have a spreadsheet that has symbols representing status. I have 3 letter
variables that I want to calculate over a range of columns. The 3 symbols
are R, RS and $. Each of them would represent the number 1. I have gone
into the help and tried to enter the COUNTIFS formula as they say I should
and I keep getting an error that it is invalid. Here is the formula that I
am entering:

=COUNTIFS(B3:AM3, "R", [B3:AM3, "RS"], [B3:AM3, "$"])

The error keeps popping up at the "R" and I have tried it without the quotes
and I get the same error.

--
Jennifer D.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIFS formula question

Eduardo - I wanted to calculate all three and this worked like a charm.

Thank you so much - have a great weekend.
--
Jennifer D.


"Eduardo" wrote:

try

=SUMPRODUCT((B3:AM3="R")+(B3:AM3="RS")+(B3:AM3="$" ))

"Yogachick" wrote:

I have a spreadsheet that has symbols representing status. I have 3 letter
variables that I want to calculate over a range of columns. The 3 symbols
are R, RS and $. Each of them would represent the number 1. I have gone
into the help and tried to enter the COUNTIFS formula as they say I should
and I keep getting an error that it is invalid. Here is the formula that I
am entering:

=COUNTIFS(B3:AM3, "R", [B3:AM3, "RS"], [B3:AM3, "$"])

The error keeps popping up at the "R" and I have tried it without the quotes
and I get the same error.

--
Jennifer D.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default COUNTIFS formula question

thank you for your feedback, Have a great weekend

"Yogachick" wrote:

Eduardo - I wanted to calculate all three and this worked like a charm.

Thank you so much - have a great weekend.
--
Jennifer D.


"Eduardo" wrote:

try

=SUMPRODUCT((B3:AM3="R")+(B3:AM3="RS")+(B3:AM3="$" ))

"Yogachick" wrote:

I have a spreadsheet that has symbols representing status. I have 3 letter
variables that I want to calculate over a range of columns. The 3 symbols
are R, RS and $. Each of them would represent the number 1. I have gone
into the help and tried to enter the COUNTIFS formula as they say I should
and I keep getting an error that it is invalid. Here is the formula that I
am entering:

=COUNTIFS(B3:AM3, "R", [B3:AM3, "RS"], [B3:AM3, "$"])

The error keeps popping up at the "R" and I have tried it without the quotes
and I get the same error.

--
Jennifer D.



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
Need Countifs Formula Help ottodesque Excel Worksheet Functions 3 May 26th 09 07:15 PM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
Question about COUNTIFS jade Excel Worksheet Functions 0 January 23rd 08 12:55 AM
COUNTIFS Formula Problem Jim Excel Worksheet Functions 6 November 20th 07 04:39 PM
Excel CountIfs() and SumIfs() question Harlan Grove Excel Worksheet Functions 1 September 18th 07 12:12 AM


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