Help with sumifs formula between dates

chichaspowa

New Member
Joined
Sep 6, 2010
Messages
46
I am trying to add a column diverse conditions but getting an error when i try set the formula between 2 dates.

I placed the dates on 2 diferent cells on my sheet.

This is the formula, can someone point out if i done something wrong?
=SUMIFS('Plano Geral'!O:O;'Plano Geral'!K:K;A5;'Plano Geral'!M:M;B3;'Plano Geral'!L:L;">='fornecedores na contabilidade'!B4";'Plano Geral'!L:L;"<='fornecedores na contabilidade'!C4")</pre>


Thanks</pre>
 
maybe a little modification.....?

=SUMIFS('Plano Geral'!O:O;'Plano Geral'!K:K;A5;'Plano Geral'!M:M;B3;'Plano Geral'!L:L;">="&'fornecedores na contabilidade'!B4;'Plano Geral'!L:L;"<="&'fornecedores na contabilidade'!C4)
 
Upvote 0
Thanks Weazel,

I managed to figure it out by putting the >= sign on the actual cell. That seemed to help.

Sometimes i cant remember the simplest of things...

Thanks for your help
 
Upvote 0
With these type of formulas (sumif/s, countif/s etc) you can reference a cell directly if that is teh exact value you want to use. However, if you need to look for values less that (or greater than) that cell's contents, you need to wrap the < in "", and combine that with the cell ref using &. Something like...

=SUMIFS('Plano Geral'!O:O;'Plano Geral'!K:K;A5;'Plano Geral'!M:M;B3;'Plano Geral'!L:L;">="&'fornecedores na contabilidade'!B4";'Plano Geral'!L:L;"<="&'fornecedores na contabilidade'!C4")

See the bolded part :)
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top