Hi,
When i try to include a sum as part of a logical test I get a VALUE! error. Please can you help?
The code I have been using is:
If i add a "+" sign between every value in column "B" it works fine, but when I use ":" to add the range it returns the error.=IF(B2:B4=3,"yes","no")
Thanks
Mike
You must encase the range within the SUM function
=IF(SUM(B2:B4)=3,"yes","no")
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
That's great, thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks