hello every one
please i want to correct this formula ,to calculate the last balance for Certain Items ,if this item Duplicate (More than One)as you see in Photo and File
please i want to correct this formula ,to calculate the last balance for Certain Items ,if this item Duplicate (More than One)as you see in Photo and File
Code:
=IF(COUNTIF($C$2:$C2,$C2)>1,LOOKUP(2,1/((Store!$A$2:$A$28=C2)),$F$2:$F$1400),SUMIF(Store!$A:$A,$C2,Store!$B:$B))