ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   mutliple conditions (https://www.excelbanter.com/excel-discussion-misc-queries/186011-mutliple-conditions.html)

Sue

mutliple conditions
 
Need to add to this formula to first check the value in cell(h3) if it is a
credit do not use the formula below and return the value in H3, if the value
is greater than 0 use this formula

=IF($Q$2=($G3+1),IF($Q$2<=($G3+30),$H3,""),"")

Q2 is a user entered date and g3 is the invoice date, H3 is the invoice
amount.

Brad

mutliple conditions
 
assume credits are negative
=if(h3<0,h3,if(and($Q$2=$G3+1,$Q$2<=$G3+30),h3,"" ))

Or

if(or(h3<0,and($Q$2=$G3+1,$Q$2<=$G3+30)),h3,"")

Let me know if that helps....
--
Wag more, bark less


"Sue" wrote:

Need to add to this formula to first check the value in cell(h3) if it is a
credit do not use the formula below and return the value in H3, if the value
is greater than 0 use this formula

=IF($Q$2=($G3+1),IF($Q$2<=($G3+30),$H3,""),"")

Q2 is a user entered date and g3 is the invoice date, H3 is the invoice
amount.



All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com