Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default problem with LOOKUP function

There is a problem with the Excel LOOKUP function that I would like to have
fixed. It doesn't appear to work with real numbers correctly. I set up a
column of fractional numbers and and used LOOKUP to find the MAX value of the
list. It works occasionally and only for certain positions in the table. I
wish I could attach my sheet but I think it is easy to understand what I have
done.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default problem with LOOKUP function

The function to find the maximum value in a range such as A1:A100 is
=MAX(A1:A100)
What did you use?
By the way, this is a peer-to-peer site. Microsoft employees do not read
these messages
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Boston_north" wrote in message
...
There is a problem with the Excel LOOKUP function that I would like to
have
fixed. It doesn't appear to work with real numbers correctly. I set up a
column of fractional numbers and and used LOOKUP to find the MAX value of
the
list. It works occasionally and only for certain positions in the table.
I
wish I could attach my sheet but I think it is easy to understand what I
have
done.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default problem with LOOKUP function

Here is the solution. When you are formating a cell for a fraction the value
you are seeing is not the true value that excel has stored in the worksheet.
It is only what you are seeing. for example 1/3 doesn't equal
..333333333333333 because of rounding errors. You need to look upo the value
EXACTLY the same way it is stored in excel down to the last decimal place.
You can either enter the fraction in thelook up using 1/3 (not
..3333333333333) or use the format statement to give the same formating as the
cell.

For one digit
=vllookup(Text(A1,"# ?/?"),B1:B100)

for two digits

=vllookup(Text(A1,"# ??/??"),B1:B100)

for halves

=vllookup(Text(A1,"# ?/2"),B1:B100)

for quarters
=vllookup(Text(A1,"# ?/4"),B1:B100)

for sixtenths
=vllookup(Text(A1,"# ??/16"),B1:B100)


"Boston_north" wrote:

There is a problem with the Excel LOOKUP function that I would like to have
fixed. It doesn't appear to work with real numbers correctly. I set up a
column of fractional numbers and and used LOOKUP to find the MAX value of the
list. It works occasionally and only for certain positions in the table. I
wish I could attach my sheet but I think it is easy to understand what I have
done.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc

Reply
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
Problem with LOOKUP function J Excel Worksheet Functions 5 March 30th 07 07:08 PM
LOOKUP function Problem justme Excel Worksheet Functions 2 December 13th 06 04:40 AM
LOOKUP function problem? DORI Excel Worksheet Functions 0 November 27th 05 11:45 PM
problem lookup function bill gras Excel Worksheet Functions 2 June 22nd 05 03:57 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM


All times are GMT +1. The time now is 08:53 AM.

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"