23.08.2013 Views

What is VLOOKUP?

What is VLOOKUP?

What is VLOOKUP?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Formula used in Database<br />

A modified <strong>VLOOKUP</strong> formula must be used in order to anticipate certain situations where the<br />

values would be #N/A.<br />

The primary situation <strong>is</strong> when we have a data code but the database table doesn’t.<br />

For example, we have PIN Code 665 but there are no costs associated with it. Since there<br />

<strong>is</strong> no cost, the CEC reports may not carry the line item.<br />

The #N/A Value will prevent further mathematical manipulations.<br />

Our CODB has PIN Code 665.<br />

However, th<strong>is</strong> code <strong>is</strong>n’t in the<br />

FoxPro Data Table.<br />

Th<strong>is</strong> results in the #N/A.<br />

#N/A prevents us from<br />

summing the Salaries.<br />

To avoid th<strong>is</strong> problem (#N/A), we embed the <strong>VLOOKUP</strong> formula into an IF Statement.<br />

E:\FY2009-10 CODB final package\<strong>VLOOKUP</strong> (2).doc 4 of 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!