• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula Referring to value in a data validation cell

turoksj

New Member
I am attempting to construct a formula that refers to the value in a cell that is formatted with data validation and am not certain how to properly refer to the value. For example, if one of the values in the data validation is "core" and I want to add the values in a range based on whether or not the value in the data validation range is "core" i am using the following array formula =IF($L$12:$L$108="core",$I$12:$I$108). However, it does not appear to be working and is giving me a value of zero when in fact I know there are values that fit the criteria and therefore should be greater than zero. The data validation is entered as a range (e.g., =$w$4:$w$7). Thank you in advance for your assistance.
 
The data validation doesn't really play a part in the sum formula, it's just controlling the inputs. Formula to add the values is:

=SUMIF($L$12:$L$108,"core",$I$12:$I$108)
 
Back
Top