I've got a for loop working perfect with a limit of 5. Then I throw in the if statement to filter those entries that correspond with a global variable I have set. The problem is the if statement is after the for loop with the limit and only doing it's thing to the 5 entries and not all of the entries.\
I want to use the if statement on all the entries to return the ones I want, then limit it to 5. In another DIV I have and offset(5), so the rest go there. I hope that makes sense.
{% for entry in craft.entries.section('news').order('articleOrder desc').limit(5).find() %}
{% if entry.currentYear2 == currentEdition.currentYear2 and currentEdition.currentMonth2 in entry.currentMonth2 %}
<h2>{{ entry.title }}</h2>
<p>{{ entry.body }}</p>
{% endif %}
{% endfor %}