ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Lookup in a list of number with a headline (https://www.excelbanter.com/excel-discussion-misc-queries/38231-lookup-list-number-headline.html)

Traima

Lookup in a list of number with a headline
 
I have several sheets for months that I want to sum up in one sheet. I use
the formula = if(iserror(vlookup..) and so on. The formula is correct except
when the number I want is the first number in the lookup list. (Row 2) The
numbers are NOT in order, not in the monthly sheet or in the summing up, and
the order of customernumber is different in all sheets.

If I try the same in an ordered list, there's not a problem with this.

Ex from the lookuplist:

Column N:
Customer
185449
203920
115109


Karthik

Hi Traima

A vlookup formula has 4 arguments
=vlookup("what", "where", "column no of the desired result in the
lookup table", "what if not found")
It seems that you are not entring the last arguement. Enter the last
argument as False or 0. This will tell the function to lookup for exact
match. If this argument is left (as it is optional), excel will try to
find the closest match... and put that value).

Now try this and let me know if this solves your problem.....

Thanks
Karthik Bhat
Bangalore


Traima

Thanks for your response, but it didn't solve the problem - I've got the
last part of the vlookup-formula like the one you described. Any other
suggestions?

Karthik skrev:

Hi Traima

A vlookup formula has 4 arguments
=vlookup("what", "where", "column no of the desired result in the
lookup table", "what if not found")
It seems that you are not entring the last arguement. Enter the last
argument as False or 0. This will tell the function to lookup for exact
match. If this argument is left (as it is optional), excel will try to
find the closest match... and put that value).

Now try this and let me know if this solves your problem.....

Thanks
Karthik Bhat
Bangalore




All times are GMT +1. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com