Re: VLOOKUP #N/A Sometimes but not always
- From: "Niek Otten" <nicolaus@xxxxxxxxx>
- Date: Sat, 17 Sep 2005 23:34:52 +0200
Probably not all C cells are numbers, although they may look like numbers.
You can test this using the USNUMBER() function and you can correct it:
Format a blank cell as Number. Enter 1. Edit>Copy. Select your C cells.
Edit, Paste Special, check Multiply. OK.
--
Kind regards,
Niek Otten
Microsoft MVP - Excel
"dmbRedGetta" <dmbRedGetta@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6F87CCC5-E119-428C-B267-2BE2D8FEBB85@xxxxxxxxxxxxxxxx
> Hey all,
>
> I have an assignment I'm working on for school and I have a formula using
> VLOOKUP. In the assignment, we're looking up a discount rate based on the
> customer's credit score. The credit scores are in the first column and
> the
> discount rates are in the next four columns (the region number - 109
> yields a
> column number of 2 through 5, which explains the $D22-109 part of the
> formula). Here is the formula:
>
> =ROUND(IF($C22=0,0,((VLOOKUP($C22,$A$7:$E$13,$D22-109,TRUE))*$D$16)*$E22),
> 2)
>
> I've gotten it to work using "487" instead of the $C22, so I thought maybe
> the type of data in the cell would make a difference, but that doesn't
> seem
> to change anything. All cells are numbers, so I thought it should work.
> There is no difference (that I can see) from the rows that work and the
> rows
> that don't. Any ideas would be greatly appreciated!
.
- Follow-Ups:
- Re: VLOOKUP #N/A Sometimes but not always
- From: dmbRedGetta
- Re: VLOOKUP #N/A Sometimes but not always
- Prev by Date: Re: blank cell
- Next by Date: Re: Find under date formula?
- Previous by thread: Re: Multiple lookup values in =HLOOKUP
- Next by thread: Re: VLOOKUP #N/A Sometimes but not always
- Index(es):
Relevant Pages
|