VLOOKUP adding a new cell reference - TechRepublic
Question
August 10, 2009 at 04:39 PM
ianmax49

VLOOKUP adding a new cell reference

by ianmax49 . Updated 16 years, 11 months ago

I have three cells in an Excel 2003 worksheet.

The cells are Named:
Cell1 = PERIOD
Cell2 = PREMIUMBASE
Cell3 = INSTALMENT

PERIOD is a drop down list containing a range of dates:

01/07/2009 ? 30/06/2010
01/01/2009 ? 31/12/2009

PREMIUMBASE is a dollar amount which is manually entered

INSTALMENT will calculate a dollar percentage of PREMIUMBASE dependant on which date range is chosen in PERIOD

I have created a VLOOKUP table as:

COLUMN 1 COLUMN 2
01/07/2009 ? 30/06/2010 2.5%
01/01/2009 ? 31/12/2009 3.5%

An example result would be:

PERIOD 01/07/2009 ? 30/06/2010
PREMIUMBASE $1,000.00 (manually entered)
INSTALMENT $25.00 (provided from VLOOKUP table)

The current formula, which is working well, is:

=(PREMIUMBASE1)*VLOOKUP(PERIOD1,INSTALMENT,2)

What I would now like to do is add a fourth cell Named FEE

This cell would consist of a simple YES/NO drop down list.

If YES is chosen in this fourth cell the formula will return the given percentage as per the example above.

If No is chosen in this fourth cell the formula will return $0.00 in INSTALMENT

How can I get this to work correctly as I am at a loss to work it out!!

Any help will be most appreciated.

Regards

Ianmax49

This discussion is locked

All Comments