+ Reply to Thread
Results 1 to 4 of 4

Combination of numbers using simple aritmetic operations to get some number as solution

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    asdasd
    MS-Off Ver
    Excel 2010
    Posts
    8

    Combination of numbers using simple aritmetic operations to get some number as solution

    i have randomly given 6 number i need to find combination to get some number in this example 104
    i can use next operators + - / * ) (
    i dont must to use all numbers

    5
    6
    4
    5
    2
    3

    need to get 104
    solution for this example 5*5*(6-2)+4=104

    How to do that in excel?
    Thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Combination of numbers using simple aritmetic operations to get some number as soluti

    It's not simple arithmetic, You could try using Solver.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    01-21-2011
    Location
    London,UK
    MS-Off Ver
    Excel 2007
    Posts
    241

    Re: Combination of numbers using simple aritmetic operations to get some number as soluti

    Hi net.rider,
    Try this vb code by Wonderful"PGC1"
    and it use all available numbers;
    Please Login or Register  to view this content.
    I hope this is what you're looking for.
    Please Login or Register  to view this content.
    Regards
    Last edited by sem; 04-24-2012 at 01:18 PM.

  4. #4
    Registered User
    Join Date
    04-24-2012
    Location
    asdasd
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Combination of numbers using simple aritmetic operations to get some number as soluti

    Thank you very much sem, you save me a lot of work

+ 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