Counta / Countif Problem - PLEASE HELP

Ritz

Board Regular
Joined
Sep 22, 2004
Messages
90
I have manual entry cells A80:A90. I am trying to write a formula that says if all of the cells are blank, then the value in A91 is blank -- if however there are "Yes" values in cells A80:A90, the take the total number of "Yes"*500. In other words, they get $500 for each "Yes."

The formula I wrote was (but it always returns a blank cell):

=if(counta(A80:A90=0),"",countif(A80:A90,"Yes")*500)

PLEASE HELP
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You are a GOD-SEND! You've replied to my requests before and you're always spot-on. I do have a question though, why did the original IF/THEN formual that I was working with not work? Using the two independently got the results I wanted, they just didn't seem to work together. . .
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top