Question : Formula to calculate due dates

Good day and Happy Holidays!! I need a little bit of help with some formulas.  I need a formula that can turn true or false (as 1, 0) if the number is less than 7 but I dont want it to count the negative numbers.
I tried this unsuccessfully:
=COUNTIF(G5,"<7, >0")           In where G5 = -22
=IF(G6<7>0,1,0)                 In where G6 = 1
This is for a spreadsheet I created to keep track of due dates. The G column are Days Past Due (which I got from this formula: =NETWORKDAYS(H6,TODAY())  H6 = any due date, in this case 1/7/10).
 
Thanks, dcantel1

Answer : Formula to calculate due dates

Change the COUNTIF to >7
=COUNTIF(G5,">7")
Random Solutions  
 
programming4us programming4us