Forum Discussion

AJMack82's avatar
AJMack82
Copper Contributor
Jun 04, 2019
Solved

Subtract a numeric value from the last populated numeric cell in a colum if another cell has a text

  In the attached time sheet, I am trying to work a formula that will subtract the numeric value of Column B from the last numeric Value in column I where column H as "H" populated.   =IF(H3="H",$...
  • SergeiBaklan's avatar
    Jun 04, 2019

    AJMack82 , that could be

    =IF($H4="H",$I$3-SUMIF($H$4:$H4,"H",$B$4:B4),"")

    or even better

    =IF($H4="H",$I$3-SUMIF($H$4:$H4,"H",$B$4:B4),0)

    with custom format [h]:mm;;

     

     

Resources