#1   Report Post  
Posted to microsoft.public.excel.misc
Sue Sue is offline
external usenet poster
 
Posts: 285
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutliple Criteria Count function [email protected] Excel Worksheet Functions 1 September 7th 07 10:30 AM
Formula reflecting mutliple results Aline Yiu Excel Discussion (Misc queries) 4 August 28th 07 10:43 PM
ranking by mutliple categories dbr Excel Worksheet Functions 2 January 27th 07 01:22 AM
Pivot table using mutliple worksheets sherobot Excel Discussion (Misc queries) 2 February 23rd 06 05:38 PM
How do I put mutliple amortization templates in same file Travis Ritchie Charts and Charting in Excel 0 June 29th 05 03:55 PM


All times are GMT +1. The time now is 01:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"