+ Reply to Thread
Results 1 to 13 of 13

Excel 2007 : Finding Values from the Total Sum

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Finding Values from the Total Sum

    Hi,

    I have 3 X 3 blank table but i have the total for the columns & Rows. The numbers in the table will be 1 or 0.

    What formula should i use it to auto-fill the data ?

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

    Re: Finding Values from the Total Sum

    This looks like a game for a homework problem.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    Quote Originally Posted by protonLeah View Post
    This looks like a game for a homework problem.
    Its a game but not a homework problem. :-) Simple Sudoku

  4. #4
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    is it that hard?

  5. #5
    Forum Contributor SCLai's Avatar
    Join Date
    08-18-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Finding Values from the Total Sum

    Sorry but I don't really get what you mean... Can you please provide a sample layout of what you are looking for and which part you would like to automate?

  6. #6
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    untitled.JPG

    Hope this helps.

  7. #7
    Forum Contributor SCLai's Avatar
    Join Date
    08-18-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Finding Values from the Total Sum

    I'm not sure if this works for all inputs correctly...
    Please do tell me should there be any error / not working accordingly to what you wanted it to.

    SC


    Edit: Sorry this is a bit late but... welcome to the forums
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    Thanks. It works if the total is 3. I get a circular error then it stops working.

  9. #9
    Forum Contributor SCLai's Avatar
    Join Date
    08-18-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Finding Values from the Total Sum

    Oh for the circular.. please set Iteration to... maybe 10?
    Tools > Options > Calculations tab > Iteration check box & value to 10

    Edit: Sorry, also pls change formula in Cell E9 to
    =IF(OR(H9=3,E10=3),1,IF(AND(F9+G9<H9,E7+E8<E10),1,0))
    Last edited by SCLai; 05-09-2012 at 01:33 AM.
    Do give a * (bottom left) if the post helped!

  10. #10
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    Thanks a lot. It works perfectly.

    What if the table was 5 X 3 ? I dont need 5 X 3 table but want to know the answer.
    Last edited by sandy12321; 05-09-2012 at 01:50 AM.

  11. #11
    Forum Contributor SCLai's Avatar
    Join Date
    08-18-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: Finding Values from the Total Sum

    Oh just in case you missed out my edit in the last post, please change formula in Cell E9 to
    =IF(OR(H9=3,E10=3),1,IF(AND(F9+G9<H9,E7+E8<E10),1,0))

    Please do mark post as Sloved if that is all

    And you are welcomed! Glad to be of help



    Edit:
    Quote Originally Posted by sandy12321 View Post
    Thanks a lot. It works perfectly.

    What if the table was 5 X 3 ? I dont need 5 X 3 table but want to know the answer.
    Oh.. Just need to expand the formula abit after adding the additional 6 cells
    Please refer to attached:
    Attached Files Attached Files
    Last edited by SCLai; 05-09-2012 at 02:11 AM.

  12. #12
    Registered User
    Join Date
    01-12-2012
    Location
    India
    MS-Off Ver
    2010
    Posts
    7

    Re: Finding Values from the Total Sum

    Quote Originally Posted by SCLai View Post


    Oh.. Just need to expand the formula abit after adding the additional 6 cells
    Please refer to attached:
    Thanks once again.


    My friend did it today using excel solver...I think that was much easier

  13. #13
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: Finding Values from the Total Sum

    Sorry

    Posting in wrong thread

    Alf
    Last edited by Alf; 05-09-2012 at 03:05 PM.

+ 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