Forum Discussion

RJ2040's avatar
RJ2040
Copper Contributor
Jun 06, 2023

new to excel

How can I write a formula for line 45 (D:O) - line 46 (D:O)?

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    RJ2040 

    To write a formula that references cells from row 45 to row 46 in columns D to O, you can use the following formula:

    =SUM(D45:O45)-SUM(D46:O46)

    This formula calculates the sum of the values in cells D45 to O45 and subtracts the sum of the values in cells D46 to O46. You can replace the SUM function with any other function or calculation that you need to perform on the range of cells.

    Make sure to adjust the column letters (D and O) and the row numbers (45 and 46) based on your specific range of cells that you want to reference in your formula.

     

    If this is not what you want, please submit more information, here is a link:

    Welcome to your Excel discussion space!

Resources