COUNTIFS formula question

Y

Yogachick

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.
 
Y

Yogachick

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

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


Eduardo said:
try

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

Yogachick said:
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.
 
E

Eduardo

thank you for your feedback, Have a great weekend

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

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


Eduardo said:
try

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

Yogachick said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top