+ Reply to Thread
Results 1 to 17 of 17

How to auto calculate value based on different sheets

  1. #1
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Question How to auto calculate value based on different sheets

    Good day, I am very new to advanced excel and this is my first post and I hope I can get the answer soon. Thank you in advance.

    I have two sheets in one excel 2007 file:

    sheet1: used to calculate interim result based on a cell say D1 and the result shows in D2

    sheet2: has a column E that will feed the value to sheet1's D1

    I need the excel to calculate the final result for all the datafeed in column E, sheet2, and shows result in column F, sheet2

    Is this possible?

    Thank you very much.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    Hi and welcome to the forum

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    Thanks for the remind, here is the excel file, Mgt is sheet 1 and ROI is sheet 2.
    Sheet Mgt: D11 is calculated based on D6 (off course many other fields in the sheet)
    D6 will be feeded from sheet ROI H3
    ROI I3 is copied from Mgt D11

    For each cell in H column in ROI, I need the cell in I column be calculated automatically.

    I hope this is clear but I would explain more if there is a need.

    Thank you very much.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    do you mean something like this?

    =ROUND(-PMT(ARMcalculator!$D$8/12,term*12,G3),2)
    entered in sheet2 I3, copied down

  5. #5
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    Thank you very much for your quick solution, I guess you are very close to it now, can you make the change directly on the file and post it back here? I think I input a fix reference in Mgt!D6 and you referenced in your formula a sheet that doesn't exist.

    Thank you.

  6. #6
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    Or are you using the Mgt sheet at all?

  7. #7
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    All I need is to calculate mortgage monthly payment automatically based on the loan for data feeded in sheet ROI, I am not sure if you have better solution that do not need the sheet Mgt but any better solution is surely welcome

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    My understanding was that you wanted to replicate the calc from sheet1 on sheet2?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    =ROUND(-PMT(ARMcalculator!$D$8/12,term*12,G3),2)

    Thanks.
    Last edited by mdivk; 05-04-2013 at 06:51 PM.

  10. #10
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    Quote Originally Posted by FDibbins View Post
    My understanding was that you wanted to replicate the calc from sheet1 on sheet2?
    Yes, I did want to calc something based on the two sheets.

    Another question here:
    ROI!G3 = K3*D3

    If I drag it for the whole column of G3, I got G4 = K4*G4 but it works only if K4 exists

    In my sheet, K4 was manually typed in because K3 = =CHOOSE(L9,0.35,0.5), L9 references to an option control on the top of the sheet: 35% or 50%

    If I copy down K3 to K4, it gets =CHOOSE(L10,0.35,0.5) but L10 doesn't exist

    Can you tell me how to fix this problem?

    Thanks.
    Last edited by mdivk; 05-04-2013 at 06:53 PM.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    there is no mgt sheet, the file you uploaded has 2 worksheets - ARMcalculator and ROI

    I used the formula from ARMcalculator D11, and adjusted it so that you can use it in ROI I3 down

  12. #12
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    Quote Originally Posted by FDibbins View Post
    there is no mgt sheet, the file you uploaded has 2 worksheets - ARMcalculator and ROI

    I used the formula from ARMcalculator D11, and adjusted it so that you can use it in ROI I3 down
    OK, maybe I changed it after I uploaded.

    Anyway, thank you very much for your kind help, I really appreciate it.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    so does this resolve your question?

  14. #14
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    it resolved my main issue, the other question remains:

    Another question here:
    ROI!G3 = K3*D3

    If I drag it for the whole column of G3, I got G4 = K4*G4 but it works only if K4 exists

    In my sheet, K4 was manually typed in because K3 = =CHOOSE(L9,0.35,0.5), L9 references to an option control on the top of the sheet: 35% or 50%

    If I copy down K3 to K4, it gets =CHOOSE(L10,0.35,0.5) but L10 doesn't exist

    Can you tell me how to fix this problem?

    Thanks.

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to auto calculate value based on different sheets

    L9 contains a value of 1, there is no reference there...unless you changed things again?

  16. #16
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    You can see there is an option control on first row of sheet ROI, L9 is in light color and links to the option control. if you select 50%, L9's value will change from 1 to 2

    I hope this clarifies.

    Thank you again for your kind help.

  17. #17
    Registered User
    Join Date
    05-04-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: How to auto calculate value based on different sheets

    I figured it out now: the answer is very simple, I only need to make changes like A1 to $A$1 then A1 won't be auto changed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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