How do I analyse in Excel?

  The_Dancer 16:18 07 Feb 07
Locked

I have a worksheet with three active sheets. I have a small list of data in a column in one sheet, and a huge list of data in a column in another sheet.

I want to find out if any of the data in the small list is currently existent in the large list: e.g. - small list contains unbilled work order numbers, large list contains billed work order numbers, some may be billed that have not left the unbilled column.

Make any sense?

Any ideas?

Been trying formulas for a couple of days now and starting to lose the plot.

  VoG II 16:39 07 Feb 07

Say your small list is Sheet1 and your big list is Sheet2. Order numbers are in column A on both sheets starting at row2.

In Sheet1 B2 (assuming that column B is empty) enter

=VLOOKUP(A2, Sheet2!A2:D100, 2, FALSE)

This will lookup from Column B of Sheet2 and return the corresponding value or #N/A if there is no match.

  VoG II 17:38 07 Feb 07

Forgot to say - copy the formula down as far as needed. Hover the cursor over the bottom right of B2 until the cursor turns into a + then double-click.

Also

=VLOOKUP($A2, Sheet2!$A$2:$D$100, 2, FALSE)

is better.

  The_Dancer 08:41 08 Feb 07

=VLOOKUP($A2, Sheet2!$A$2:$A$7800, 2, FALSE.

I get this result: #REF!

Invalid cell reference error.

  VoG II 10:21 08 Feb 07

The syntax is:

=VLOOKUP(What, Where, TableColumn, True or False)

What = the value to lookup, in this case A1

Where = where to look for the value
in my example this specified a table Sheet2!$A$2:$D$100 which covers four columns. You have only specified one column Sheet2!$A$2:$A$7800 so there is nothing to look up. See also next comment.

TableColumn specifies the column number in your data table (Where) to lookup. In my example this was 2 (which says lookup the value in A1 in Sheet1 in the range Sheet2!$A$2:$D$100 and return the corresponding value from TableColumn 2 - in this case column B. You only specified one column (A) so specifying the 2nd column of your table clearly will not work.

True or False - specifies whether the lookup should return an approximate match (True) or an exact match (False). You need to use False to return an exact match. If you omit the True or False it will default to True - which you do not want.

  The_Dancer 10:31 08 Feb 07

still doesn't seem to work. Do i not need to input an if formula also? just get #n/a now but I know that some of them exist in the large list?

  VoG II 10:34 08 Feb 07

Try creating a simple example like the one I posted click here

and see if you can get that to work. Also see the Help in Excel which gives examples of using VLOOKUP.

  VoG II 10:40 08 Feb 07

Also see click here and turn the sound up to hear the commentary.

This thread is now locked and can not be replied to.

Qualcomm Snapdragon 835 benchmarks: Antutu, Geekbench 4, GFXBench and PCMark results

1995-2015: How technology has changed the world in 20 years

This animated short film tells a moving story of domestic violence for Refuge

New iPad 2017 preview: Apple's affordable but underspecced new iPad may appeal to the education…