I thought I knew how to do this in Excel, but apparently not.
All I'm trying to do is write a simple (or at least it seems like it
should be simple to me) "If/Then" statement in Excel.
Here's what I'm working with.
I have two columns of data, lets call them column D and column F.
Column D has about 600 different values in it. Column F has about
3000 or so. I want to test each of the values in column F to see if
any of them are contained in column D.
Since I need to hold the range constant, I thought the forumula
was ...
=IF(F9=($D$9:$D$608),"true","false")
I thought the above statement would have Excel syntax something
along the lines of the following statement: "If the value of cell F9
is found in any of the cells between cells D9 and D608, then
say "true" and if not, say "false"."
Apparently not so.
What I'm trying to do in the forumla above is to see if the value in
cell F9 is the same as any of the values in the range of cells from
D9 through D608. Then I want to use the same forumla to test cell
F10 against cells D9 through D608, then cell F11 against D9 through
D608 and so forth.
I have some kind of a minor error in syntax in the formula, since
the formula is only testing cell F9 against cell D9.
I thought I'd specified the range correctly, and have
looked in the Help section, to no avail. I'm using an older version
of Excel (from Office 97).
Someone else told me I need to use an Array formula instead of an
If/Then statement to perform the above function. I'm not familiar
with Array formulas, or Lookup tables either for that matter, though
I'm sure there has to be an application in Excel that will do what I
want it to.
I'd just like to have a solution to what seems to me like it should
be a simple problem.
Any ideas?