Yet another excel question!
November 4, 2008 2:49 PM
Subscribe
I have an Excel question that I'm not sure how to search the archives for.
Apologies if this has been asked/answered before, but I'm not sure how to phrase the search I tried, so I'll ask here again. If I have a list of a whole lot of unique numbers, is there an Excel function or SIMPLE VB statement (I am by no means a guru with VB - it rather terrifies me) that can tell me if any combination of numbers in my list add up to a target value in another cell? For instance, if I have the following in cells A1-A6:
1
2
3
12
97
450.6
and in cell C1 I have 455.6, can I make Excel tell me (via highlighting, or via a Y/N flag in an adjacent column, or something) that the values in my Column A list that add up to the value in C1 are in A2, A3, and A6?
posted by pdb to computers & internet (4 comments total)
posted by GuyZero at 2:55 PM on November 4, 2008