IF Statement: cell referencing
Hi,
Let's assume you codes and notional values are in Book1 Sheet1 in the range
A1:B4
In book2 cellA1 you enter HB001 and you want to return the value associated
to that in another cell (say) B1. Try this in B1 of book 2
=VLOOKUP(A1,[Book1]Sheet1!$A$1:$B$4,2,FALSE)
Mike
"Mike" wrote:
Hello, I'm using Excel 2003 and need help on an If statement or not sure
whether I should use a Vlook Up table.
I have 2 spreadsheets. The first has a list of housing benefit codes e.g.
HB0001 in column A. The next column along has the nominal values of what
these codes represent e.g. £17.50. In the 2nd spreadsheet I then manually
enter each code that the recipient is entitled to in a column. I want to
create a IF statement on another spreadsheet that will automatically fill in
the nominal value that the code represents. FOr example, I want Excel to
look at the column that has all the codes that I enter and then place the
nominal value in it's place.
Example:
Codes: Nominal Value:
HB0001 £17.50
HB0002 £21.50
HB0003 £24.50
--
Kind regards
Mike
|