LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alan Davies
 
Posts: n/a
Default VLOOKUP not returning correct answer

I've a spreadseeht that calcualtes commission payments based on different
products
It uses validated lists for some data entry and then looksup the commission
value as follows:

Layout is as follows:
Column I - Product List
Column J - quantity of products
Column R currently is where I want the calcualtion to delvier the value.
Lists are PRODUCT and PRODS

If use the following formula:
=VLOOKUP(I3,prods,2,0)*J3
I get an #N/A error - which then means that the column won't total to let me
know how much i've made!

If I use:
=VLOOKUP(I3,prods,2,TRUE)*J3
all the products of a certain type return values based on one cell only. (5
products have similiar but differnt names, and different values in column 2,
yet the only number that is calculated comes from teh third product only)

If I use:
=VLOOKUP(I3,prods,2,FALSE)*J3
most cells then produce a #N/A answer, which ought to be a 0, and the cells
that should return a value actually return the correct value based on the
lookup table.

How can I get the answer I want which includes no #N/A and the right value
based on column 2 of the prods table?

TIA


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MAX Function not returning correct value Phil Excel Worksheet Functions 4 April 28th 06 10:14 PM
My Excel formala is not returning the correct value boothguy Excel Worksheet Functions 3 April 27th 06 08:56 PM
vlookup: I have to double click each cell to get correct results? gillyd Excel Worksheet Functions 2 January 24th 06 01:06 PM
VLOOKUP not returning correct value leigh Excel Worksheet Functions 6 October 13th 05 12:22 PM
Formula window displays correct answer while cell displays incorre MMV Excel Worksheet Functions 3 November 10th 04 09:28 PM


All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"