MS EXCEL (Math: Product / Addition)

Page 1 of 2 12 LastLast
  1. DW7EZV's Avatar
    Posts : 48
    Microsoft Windows 10 Pro X64 19H2 v1909 Build 18363.778
       #1

    MS EXCEL (Math: Product / Addition)


    MS EXCEL (Math: Product / Addition)-capture.png
    how to make auto calculate

    example, C * B = E (each item) and E = F

    should look like this
    MS EXCEL (Math: Product / Addition)-capture-.png

    please help, thanks!
      My Computers

  2. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #2

    Created an empty row below the column headings and hid it (for calculation of running total in column F).

    Formatted the data in column C as currency (in my case as £)

    Filled in columns A, B, C.

    in the SUBTOTAL column E4 against the first ITEM entered the formula =B4*C4 and <enter>

    in the RUNNING TOTAL column F4 against the first item entered the formula =E4+F3 and <enter>

    select cells E4 and F4, and extend the selection down as required, and press Ctrl+D (copy down)

    MS EXCEL (Math: Product / Addition)-image.png

    Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
      My Computers

  3. AndreTen's Avatar
    Posts : 23,382
    Windows 10 (Pro and Insider Pro)
       #3

    DW7EZV said:
    MS EXCEL (Math: Product / Addition)-capture.png
    how to make auto calculate

    example, C * B = E (each item) and E = F

    should look like this
    MS EXCEL (Math: Product / Addition)-capture-.png

    please help, thanks!
    Start in command row with = and then click on first cell to multiply, press * and click on second cell.


    After this look at Fafhrd's post :) (beats me by seconds ...)
    Attached Thumbnails Attached Thumbnails MS EXCEL (Math: Product / Addition)-2017_09_28_09_42_541.png  
      My Computers

  4. cereberus's Avatar
    Posts : 12,019
    Windows10
       #4

    Fafhrd said:
    Created an empty row below the column headings and hid it (for calculation of running total in column F).

    Formatted the data in column C as currency (in my case as £)

    Filled in columns A, B, C.

    in the SUBTOTAL column E4 against the first ITEM entered the formula =B4*C4 and <enter>

    in the RUNNING TOTAL column F4 against the first item entered the formula =E4+F3 and <enter>

    select cells E4 and F4, and extend the selection down as required, and press Ctrl+D (copy down)

    MS EXCEL (Math: Product / Addition)-image.png

    Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
    You do not need a hidden row - it is overcomplicating things!

    Simply set cell F4 as "=E4"

    Then cell F5 simply uses "=E5 + F4"

    Then copy formula from cell F5 to other cells in F column.
      My Computer

  5. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #5

    Yes! there are many ways to skin a cat @cereberus!

    However my method allows the copy down command to be run on the first row of data, rather than your method, on the second row of data, with different formulae in the first row.
      My Computers

  6. cereberus's Avatar
    Posts : 12,019
    Windows10
       #6

    Fafhrd said:
    Yes! there are many ways to skin a cat @cereberus!

    However my method allows the copy down command to be run on the first row of data, rather than your method, on the second row of data, with different formulae in the first row.
    Sure but (IMO) if you are going to do it your way, it is clearer if you do not hide the row, and simply put 0 in cell F3, and this also allows you to have e.g. an initial one off setup cost included in cell F3.
      My Computer

  7. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #7

    cereberus said:
    Sure but (IMO) if you are going to do it your way, it is clearer if you do not hide the row, and simply put 0 in cell F3, and this also allows you to have e.g. an initial one off setup cost included in cell F3.
    Now that is getting complicated!

    As I said cat skinning can get complicated, and messy, so IMO it's better just to hide it, and if you can avoid inventing numericals where null values (empty cells) can be used instead, it's less work, and less difficult to debug a spreadsheet where formula are consistent in rows and columns where real raw data exist alongside calculated values.
      My Computers

  8. cereberus's Avatar
    Posts : 12,019
    Windows10
       #8

    Fafhrd said:
    Now that is getting complicated!

    As I said cat skinning can get complicated, and messy, so IMO it's better just to hide it, and if you can avoid inventing numericals where null values (empty cells) can be used instead, it's less work, and less difficult to debug a spreadsheet where formula are consistent in rows and columns where real raw data exist alongside calculated values.
    How can leaving a row in empty be more complicated? You do not even need to enter zero, or you can hide display of zero etc.

    The extra about offset costs was just a possible advantage of doing it my way, and not really pertinent to OP's problem.

    The main plus of hiding row here is that it does prevent a user entering an inappropriate figure in that cell, but one should really use cell locking for fixed data and formulae if making a robust spreadsheet..

    To me hiding rows is for when doing lots of intermediate calculations that would make spreadsheet cumbersome.
    I actually tend to use other sheets for intermediate calculations and hide sheet as quicker and eaiser for complicated spreadsheets but that is just my preference.


    Anyway, we will just have to disagree on style - it is up to OP to decide which he prefers.

    .
      My Computer

  9. DW7EZV's Avatar
    Posts : 48
    Microsoft Windows 10 Pro X64 19H2 v1909 Build 18363.778
    Thread Starter
       #9

    Fafhrd said:
    Created an empty row below the column headings and hid it (for calculation of running total in column F).

    Formatted the data in column C as currency (in my case as £)

    Filled in columns A, B, C.

    in the SUBTOTAL column E4 against the first ITEM entered the formula =B4*C4 and <enter>

    in the RUNNING TOTAL column F4 against the first item entered the formula =E4+F3 and <enter>

    select cells E4 and F4, and extend the selection down as required, and press Ctrl+D (copy down)

    MS EXCEL (Math: Product / Addition)-image.png

    Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
    why i input in QTY and PRICE, only the subtotal will auto calculate. not the running total. running total will only work if i ctrl + d. is ther a way to auto calculate? thanks and sorry my english is bad.
    MS EXCEL (Math: Product / Addition)-capture.png
      My Computers

  10. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #10

    If you select cells E4 and F4, and then continue the selection down , for say 100 rows, with <Shift>+<down arrow> keys, then enter <Ctrl>+D to copy down, then the formulae in both E4 and F4 should be copied down in those 100 rows. You only seem to have copied down in the column E. You can check whether there are formulae in a cell by clicking it and checking what is in the cell edit box.
      My Computers


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:18.
Find Us




Windows 10 Forums