![]() |
Help with a formula
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 |
Help with a formula
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... -- Can I run that on my trusty ol' Commodore 64...? ;-) "VexedV" skrev: 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 |
Help with a formula
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 On Mon, 28 Apr 2008 17:58:00 -0700, VexedV wrote: 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 |
Help with a formula
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 "Gord Dibben" wrote: 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 On Mon, 28 Apr 2008 17:58:00 -0700, VexedV wrote: 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 |
All times are GMT +1. The time now is 08:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com