cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
krimol91 New Member
New Member

Countrows - earlier date

Hi,

 

I have column "Test" and column "Completed" and I want to add column "Test left".

 

Forumla for Test left: =COUNTIF($G$4:$G$11;">"&G4).   
 $G$4:$G$11 = Completed Column, G4 = first column under Completed

 

 

Capture.PNG

 

 

 

 

 

Thanks

 

 

 

1 REPLY 1
Super User
Super User

Re: Countrows - earlier date

try this syntax

Column = 
VAR __CurrentDate = Table1[Completed]
VAR __TableFiltered = FILTER(Table1, Table1[Completed]>__CurrentDate)
RETURN
COUNTROWS(__TableFiltered)

it returns null instead of 0 so you may want to add +0 at the end if that makes difference for you