Sumif on Formula instead of Value
I don't believe Excel has any built-in functions that scan cell formula
structures.
For that functionality you'd likely need a VBA solution.
***********
Regards,
Ron
XL2002, WinXP
"adodson" wrote:
Sorry, I wasn't clear -- CEILING refers to the function inside Excel to round
to a given number.
An example of a cell I would want it to sum is:
=CEILING(A24,5)
"Ron Coderre" wrote:
If CEILING is a range name for a single value, try this:
=SUMIF(range1,CEILING,range2)
That will sum the range2 items where the range1 items equal the value of
CEILING.
Does that help?
***********
Regards,
Ron
XL2002, WinXP
"adodson" wrote:
What I'm looking for is a way to sum the cells that contain =Ceiling.
I've tried SUMIF(range,"*CEILING*",range) but the formula returns 0. I'm
guessing it has to do with the fact that it is looking at the resulting value
of the cell instead of the formula.
Does anybody know if there is a way to have it search the formula?
Thanks in advance.
|