RE: Can Excel return multiple correct answers?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This is huge. Thanks to you and Pete.

It occurs to me that that one of my criteria is not as static as I
portrayed. The two criteria are Name and Date.

The table of possible answers obviously includes name and date (as well as 3
other data items on the same row that need to be returned), BUT a correct
return should include any row of data in the Table where there is a name
match and a date that is plus/minus 14 days of the criteria date.

I'll keep reading, but do you know if I can use an IF statement somehow? So
if my criterion date is Jan 01, 2008, which is 39448, any date in the table
of possible answers between 39434 and 39462 is a correct answer. As long as
there is a name match, of course.

"Jim" wrote:

That's pretty much the way it works. Start simple. Copy a column heading
from your data to a cell off to the right of the data. Enter your criteria
in the cell below the heading. These two cells are your criteria range.
Then do Data>Filter>advanced and enter your data range and criteria range.
Excel will return all the records in the data that match your criteria.
After you get that down, you can add additional field headings and expand
your criteria.

It's a very strong feature.

HTH
Jim

"sam" wrote:

Hey Jim –

Wanted to get back and acknowledge your advice; been sitting here reading.
This is really interesting.

If I’m reading the 2000 manual correct, it looks like I can have multiple
unique 2-criteria data sets instead of just one, static 2-criteria data set.

And that’s by putting the criteria on the SAME row? And then I can have a
bunch of those unique data sets going down the two columns?

Really appreciate your help so far.

sam


"Jim" wrote:

Check out data>filter>advanced.

HTH

"sam" wrote:

Good morning.

In all my years, I’ve not come across this. Searched the Board; there’s a
post suggesting drop-down lists, but that would require too much ongoing
manual input (I think).

1) I have 2 criteria that must be met
2) I have a table of data that includes many rows of data that will meet the
criteria, many that will not.

How do I get Excel to extract all correct answers? The problem, as I see it,
is that I input my request for this in one cell, thus limiting myself to one
answer. I’m not so sure the answer is to copy that static criteria down a
bunch in one column, and then do a V-Lookup, because there are multiple
unique 2-criteria data sets with corresponding multiple possible returns.
That means I’d have to copy a bunch of different 2-criteria data sets and
V-Lookups (hundreds).

Do I finally have a reason to learn Access? I have Excel 00, 03, and 07.

I sense I’m gonna learn something new today. Thanks!

.



Relevant Pages

  • Re: Can Excel return multiple correct answers?
    ... If I'm reading the 2000 manual correct, it looks like I can have multiple ... And that's by putting the criteria on the SAME row? ... bunch in one column, and then do a V-Lookup, because there are multiple ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Lookup Data in two seperate Spreadsheets
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... Just as VLOOKUP will give you the FIRST value it finds that meets it's ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Wild Card Vlookups
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.misc)
  • Re: Sorting into different worksheets from a unique value
    ... rewrote the code and posted it at the bottom. ... don't get a headache from watching the screens bounce back and forth. ... criteria. ... this IF function determines if there is something in cell A2. ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Can Excel return multiple correct answers?
    ... from your data to a cell off to the right of the data. ... in the cell below the heading. ... These two cells are your criteria range. ... bunch in one column, and then do a V-Lookup, because there are multiple ...
    (microsoft.public.excel.worksheet.functions)