Help with a formula

V

VexedV

I need some assistance with a formula that I have been working on. Here is
the formula:

=COUNTIF(Agent1!D28,"100")

I have gotten the formula above to work when the number "100" was manually
entered into the cell.

The problem that I am having now is that I have a formula in cell D28
(=C28/B28) so my count does not recognize it as the number 100 even though
the cell displays 100%

Not sure if the problem is with the cell contents being a formula or if it
does not recognize 100% as the number 100.

Any help would be greatly appreciated.
V
 
P

Peo

If what you are searching for, is a number in the percent formula, remember
that 100% is treated as the number 1 (and 50% is 0.5 etc.), so it might be
that you should look for the number 1 rather than for 100...
 
G

Gord Dibben

In addition to Peo's suggestion, maybe =C28/B28 is .99876 but formatted to 0
decimals.

You would not find a "100" in there.


Gord Dibben MS Excel MVP
 
V

VexedV

Thanks for your assistance. My inexperience is showing.

I finally figued out that I should use one of the factors in the equation
for the count, instead of the result. if the number 9 in row B = 100% ...
then count the "9"s in row B. (doh...)

Thanks again,
V
 

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