+ Reply to Thread
Results 1 to 6 of 6

I have a column total that should be adjusted by (a cell total multiplied by another cell)

  1. #1
    Registered User
    Join Date
    04-17-2024
    Location
    Wichita, Kansas
    MS-Off Ver
    Version 2403
    Posts
    3

    I have a column total that should be adjusted by (a cell total multiplied by another cell)

    I'm not sure how to describe this issue in an elegant way so it is easily understandable. My Excel experience is limited...

    Our operation raises cattle for market and there are many factors we need to track to prove profit or loss. I have a Total Weight for cattle on hand (Cell G45) and I need to subtract the weight of the cattle that die from G45. Column S has the number of cattle that have died and Column I has the avg weight when they were purchased. We use FIFO accounting...

    My goal is to scan Column S for a value and then multiply that cell value, where one exists, by the corresponding avg weight cell value in Column I and then subtract THAT value from the total weight in cell G45. Cell 45 is (=sumG42+G43). So, in the spreadsheet I've uploaded there are current death values in cell S35 and the corresponding weight value sits in cell I35. S35 should be multiplied by I35 to get the weight value to subtract from the total but the equation I need should take into account possible future deaths which may be represented in entirely different cells in S35.

    Any help is appreciated!
    Attached Files Attached Files
    Last edited by sanda_dennisp; 04-17-2024 at 06:57 PM. Reason: Additional Information - hopefully helpfull

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,834

    Re: I have a column total that should be adjusted by (a cell total multiplied by another c

    Not sure I understand, but maybe try this equation and you can let us know what's wrong with it:

    =SUM(G40+G41)-SUMPRODUCT(I5:I38,S5:S38)

    If this is incorrect, tell us what your expected result is.

  3. #3
    Registered User
    Join Date
    04-17-2024
    Location
    Wichita, Kansas
    MS-Off Ver
    Version 2403
    Posts
    3

    Re: I have a column total that should be adjusted by (a cell total multiplied by another c

    Your equation was simple and worked nicely...

    Is there a way to include the variable male, "ML" or female, "FM" found in column B and subtract IF either one of those variables matches the corresponding information for deaths in column S?

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,834

    Re: I have a column total that should be adjusted by (a cell total multiplied by another c

    If I understand you correctly, this would give you for Males:

    =SUM(G40+G41)-SUMPRODUCT(I5:I38,S5:S38,--(B5:B38="ML"))

    (Replace the "ML" with "FM" for females)

  5. #5
    Registered User
    Join Date
    04-17-2024
    Location
    Wichita, Kansas
    MS-Off Ver
    Version 2403
    Posts
    3

    Re: I have a column total that should be adjusted by (a cell total multiplied by another c

    That's perfect! Thank you SO much for the help!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: I have a column total that should be adjusted by (a cell total multiplied by another c

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to Total the Sum of One Column multiplied by another...Row by Row...
    By WaylettChris in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2018, 08:44 AM
  2. [SOLVED] Macro to Total a Column Up 15 cells and place total in cell of last row
    By guitarsweety in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2014, 05:25 PM
  3. [SOLVED] need vba help to sum the overall total ,>2 days total & change cell values
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-17-2014, 01:55 PM
  4. Search Column for Cell Value then Display Total Rows in Another Cell
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2014, 02:56 PM
  5. Need a macro to total different lines and move total to new cell
    By cmefix in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2012, 02:08 PM
  6. Adjusted total based on importance of ranking score
    By Jared777 in forum Excel General
    Replies: 1
    Last Post: 07-28-2010, 08:39 PM
  7. total to date field adjusted multiple times
    By debrant in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-06-2009, 11:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1