+ Reply to Thread
Results 1 to 13 of 13

Enter a value in one cell, the other cells update

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Enter a value in one cell, the other cells update

    Please open attachment.Excel Help.pdf
    I need to enter a value in B6 and then A1:A4 update based on the value in B6
    the values in A1:A4 will be different based on the number of drawers.
    I know this is vague. Basically in need to enter a number in B6 and the other cells calculate.

  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
    53,048

    Re: Enter a value in one cell, the other cells update

    if you have the excel file, why do you upload a pdf instead? pdf's are pretty much impossible to edit, and I doubt any1 would want to retype your data for you.

    Please upload a sample workbook, thanks
    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
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,719

    Re: Enter a value in one cell, the other cells update

    What is the logic for the cells A1:A4 to calculate to? In your current example, the sum of A1:A4 equals 29.25 and not 30.25 as shown in your picture. What relationship do you want the cells to have? Tell us in simple english how this is to happen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Enter a value in one cell, the other cells update

    Quote Originally Posted by FDibbins View Post
    if you have the excel file, why do you upload a pdf instead? pdf's are pretty much impossible to edit, and I doubt any1 would want to retype your data for you.

    Please upload a sample workbook, thanks
    I want to create a workbook that will calculate the size of the drawer fronts based on the overall height of the cabinet (30.25 in this example) and the quanity of drawer fronts (4 in this example). The reveals will always be .25 as shown in pdf. but the amount of reveals are based on the amount of drawer fronts.

    The value in B6 is different every time and the amount of drawer fronts are different, could be 2,3 or 4 drawer fronts.

    Thank You
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Enter a value in one cell, the other cells update

    Quote Originally Posted by alansidman View Post
    What is the logic for the cells A1:A4 to calculate to? In your current example, the sum of A1:A4 equals 29.25 and not 30.25 as shown in your picture. What relationship do you want the cells to have? Tell us in simple english how this is to happen.
    I want to have A1,A2,A3&A4 plus the .25 reveals in between the drawer fronts to = the overall height of the cabinet (B6)
    the overall cabinet height changes and the quantity of the drawer fronts change.

    Could be I need a another cell with the quantity of drawer fronts in it and do the calulations with the overall height of the cabinet????

    Thank You

  6. #6
    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
    53,048

    Re: Enter a value in one cell, the other cells update

    ok thanks, that makes more sense now.

    a few questions...
    will you always have the same number of reveals as drawers? (ie the bottom drawer does not have a bottom reveal)
    what (if anything) determines the height of the drawers?

  7. #7
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Enter a value in one cell, the other cells update

    The bottom drawer will never have a bottom reveal. The top drawer will always have a reveal above it of .25. The drawer sizes are based on the architects drawings. Could be 2,3, or 4 drawers per cabinet.

    If I could enter the cabinet height and the amount of drawers and it would calculate the drawer sizes, that would be great. The problem is many times the drawers are different sizes, say on a 3 drawer cabinet the top drawer could be 5 and the other 2 are equal, or they could all be different.

    Thanks For your help

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,719

    Re: Enter a value in one cell, the other cells update

    I think the missing piece now is what is the ratio for 4 drawers and what is the ratio for 3 drawers. Without you establishing a ratio, I don't see how you determine what the heights will be. In your current configuration shown in the pdf. Why is it 5, 5, 9.125 and 9.125 instead of 6, 6, 8.125, 8.125. We need to be able to give Excel some logic and you hold that key. Will it always hold the ratio shown in the pdf?

  9. #9
    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
    53,048

    Re: Enter a value in one cell, the other cells update

    The problem is many times the drawers are different sizes, say on a 3 drawer cabinet the top drawer could be 5 and the other 2 are equal, or they could all be different.
    Im afraid that if you dont know what height the drawers will be, excel will not be able to know that either. excel is awesome at calculating stuff, but it MUST have rules and logic to base its calcs on.

    let's put it this way. if you did not know the draw heights, or even the ratio of drawer heights, or the qty of drawers, how would you go about solving this manually?

  10. #10
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Enter a value in one cell, the other cells update

    Quote Originally Posted by FDibbins View Post
    Im afraid that if you dont know what height the drawers will be, excel will not be able to know that either. excel is awesome at calculating stuff, but it MUST have rules and logic to base its calcs on.

    let's put it this way. if you did not know the draw heights, or even the ratio of drawer heights, or the qty of drawers, how would you go about solving this manually?
    I would know what the top drw. height would be, but it is different on every project and I would need to enter a number say 6 for the top height and would like to have excel figure the rest for a 2 drawer bank, 3 drw. bank and a 4 drw. bank of drawers.

    Do I need to create a worksheet for each one of the banks of drawers and then I can get help with the formulas?

    Thanks

  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
    53,048

    Re: Enter a value in one cell, the other cells update

    I still dont see how you can calc this. you have 1 value (that changes) and you want to calc 2 (or 3 or 4) unknown variables from that.

    maybe some-one with thicker glasses than me can see a way around this 1, I will take it to the rest of the guru's

  12. #12
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,953

    Re: Enter a value in one cell, the other cells update

    STU22,
    Rule #12. Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.
    Ben Van Johnson

  13. #13
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Enter a value in one cell, the other cells update

    you said that all the drawers could be different heights-how would you calculate the heights in that case? if you need only the top drawer variable and the rest equal that's not too difficult
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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