View Single Post
 
Old 07-15-2012, 09:03 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Well, one usually uses an IF function to solve this kind of problems, which is perfectly all right.
I just decided to use another approach
(YEAR($B6)=E$2) will return TRUE or FALSE (must be between parenthesis. The multiplication or any other arithmetic operator will coerce these values to 1 or 0, thus returning the value needed or a 0.
To see a formula at work ,use "evaluate formula" under the formula ribbon
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote