Need help with vb to code automate excel formulas
I have a sheet named "IHS-AUTO" and currently have standard excel formulas doing the following calculations on the sheet, however when the sheet is updated I do not know where the last table entry will reside. Need vb code to perform the calculations to the last table entry.
the first table entry will always be in cell A11:G11, the next record would be A12:G12, and so on. As mentioned above I would not know where the last entry would be when the table gets updated.
Would like vb code to perform the following calculations on each line to the last record of the table
Column H - =IF($G11="","",$F11-$G11)
Column I - =IF(I10="Delivered","",H11-H10)
Column J - =IF(MONTH(A12)=12,SUM($I1:$I12),"")
I have a sheet named "IHS-AUTO" and currently have standard excel formulas doing the following calculations on the sheet, however when the sheet is updated I do not know where the last table entry will reside. Need vb code to perform the calculations to the last table entry.
the first table entry will always be in cell A11:G11, the next record would be A12:G12, and so on. As mentioned above I would not know where the last entry would be when the table gets updated.
Would like vb code to perform the following calculations on each line to the last record of the table
Column H - =IF($G11="","",$F11-$G11)
Column I - =IF(I10="Delivered","",H11-H10)
Column J - =IF(MONTH(A12)=12,SUM($I1:$I12),"")