• 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.

Compound If Statement

rsomist

Member
I have a worksheet that I'm trying to get two IF functions developed based on criteria in other columns. I have been playing around with compounding the IF function with the Frequency and Sumproduct functions and keep coming up wrong and was looking to see if I could get some additional help.

Here's what I'm trying to accomplish and will attach file.

In column H - If the G column has a value of "I", then for every same value range in column F, I need a sum of column E filtering out any unique values from column B. In cell J2 I have a formula that shows all of the cells needed to get the answer - I'm just not sure how to get that in a function.

I also need a function in column I that says - If the G column has a value of "O", then for every same value range in column F, sum the values in column E filtering out any unique values from column A. In cell J20, I have another formula that shows all of the cells that are being added up to get the expected answer.

Thank you!
 

Attachments

Back
Top