1. ## If formulas

I want to find the sum of several columns based on the criteria in two other columns. I have this formula that returns the sum of two columns, based on two criteria but want to include two more columns in the sum.

=SUM(IF('Entry Sheet'!\$E\$18:\$E\$517='Entry Sheet'!W52,IF('Entry Sheet'!\$F\$18:\$F\$517=\$N\$9,IF('Entry Sheet'!\$M\$18:\$M\$517>0,'Entry Sheet'!\$M\$18:\$M\$517),0),0),0

Basically, it is saying If column E on an entry sheet = a certain code in column F (F holds a formula pointing to W code held on another page) and if the value of column N and Column M is >0, then put the sum of columns N and M together the second page in column D. This long formula sits in column D on the second page.

I want to include two more columns K and L into the sum. I've tried all kinds of things and not getting anywhere.

2. This question has been posted in at least one other forum.

Do not post any further responses in this thread until a link has been provided to these cross posts.

Whilst we would rather you didn't cross-post, we know that there may be a valid reason for doing so. All we ask is that you provide the links in your original post to your question in the other forum(s). Read this to understand why.

This forum is full of volunteers that give up their own time to help others, something that should be respected and not taken for granted. It’s never nice for someone to find out that a problem they have spent time solving for you has already been answered somewhere else without them knowing, and so we ask you to make it clear that you have also asked elsewhere.
Please provide the link(s). If you are unable to do so, tell us where else you have posted this query.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•