+ Reply to Thread
Results 1 to 3 of 3

How to find a needle in a haystack?

Hybrid View

Guest How to find a needle in a... 02-04-2005, 01:06 AM
Guest Re: How to find a needle in a... 02-04-2005, 01:06 AM
AlfD Hi! There's a nice short VBA... 02-04-2005, 10:34 AM
  1. #1
    ScottJSP
    Guest

    How to find a needle in a haystack?

    Here's my situation. I am an accountant. It is common for me to have a
    column of numbers (typically amounts including dollars and cents). These
    numbers might be a listing of expenses in an account so they are more or less
    random. Frequently, I want to know whether adding two or more of these
    numbers in this column will add up to a given amount. Is there an easy way
    to get excel to determine whether adding some combination of one or more
    numbers in a list will add up to some given amount?

    Thanks in advance for any help you may give.



  2. #2
    Alan
    Guest

    Re: How to find a needle in a haystack?

    "ScottJSP" <ScottJSP@discussions.microsoft.com> wrote in message
    news:F935F8DE-23D9-45FF-B4B2-5AEA7682106A@microsoft.com...
    >
    >> Here's my situation. I am an accountant. It is common for me to
    >> have a column of numbers (typically amounts including dollars and
    >> cents). These numbers might be a listing of expenses in an account
    >> so they are more or less random. Frequently, I want to know

    whether
    >> adding two or more of these numbers in this column will add up to a
    >> given amount. Is there an easy way to get excel to determine
    >> whether adding some combination of one or more numbers in a list
    >> will add up to some given amount?
    >>
    >> Thanks in advance for any help you may give.
    >>
    >>


    See here:


    http://groups-beta.google.com/group/...cbf157bd1c80aa





  3. #3
    Forum Contributor
    Join Date
    01-11-2004
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    388
    Hi!
    There's a nice short VBA routine at this address:

    http://groups-beta.google.com/group/...f2aa63258093c7

    I also came upon a (much longer) generalised routine a little while ago and, while I have a copy of it, I can't remember where I got it from. It was possibly the winner of a competition to do just "that" and it might have been associated with Mr Excel. Can anyone add to that?

    Alf

+ 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