Is Holding Period a named range? I can't tell if you're using the right function properly either based upon what you've attached. Did you also mean to use RIGHT on the Holding_period range?
We would need a sample workbook with more information to give you a better answer...
Going for Guru! Click the Star to the bottom left of this post if I helped!
Probably because RIGHT returns a string of '5' and your Holding_Period is an integer. Try:
=IF(--RIGHT(G1)=Holding_Period,SUM(G19:G22),G14)
Pauley
--------
If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).
That did it Pauley. I don't understand what the --'s did, could you tell me?
Thanks a million.
If you do a mathematical operator on a text string that CAN be a number, then Excel changes the string to a number. The '--' is a double negation, so it returns the appropriate number. You could have also used '1*' or '0+' but the '--' seems to be the favored method.
I see. It's similar to a problem I run into with another program I use often that won't calculate inconsistent units. In that case I divide by 1 of the same unit to achieve the calculation. Thanks again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks