Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Lookup Formula not working completely

=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when M11 =
98%.
Help!
--
News Gal
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Lookup Formula not working completely

It's working for me....is M11 formatted as percentage?


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when M11 =
98%.
Help!
--
News Gal



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup Formula not working completely

What do you mean when you say it's not working?

It works for me.

M11 = 0.98

The formula correctly returns $750.00 (as a TEXT value)

--
Biff
Microsoft Excel MVP


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when M11 =
98%.
Help!
--
News Gal



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Lookup Formula not working completely

Yes, M11 is formatted as a percentage. Does that require different set up in
the forumula?
--
News Gal


"Gaurav" wrote:

It's working for me....is M11 formatted as percentage?


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when M11 =
98%.
Help!
--
News Gal




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Lookup Formula not working completely

No, the formatting has no effect on the lookup. He just wanted to ensure you
had 0.98 in the cell, rather than 98.

When you say "it's not working", what result do you get -- 0 or $1000.00?

Regards,
Fred.

"Newsgal" wrote in message
...
Yes, M11 is formatted as a percentage. Does that require different set up
in
the forumula?
--
News Gal


"Gaurav" wrote:

It's working for me....is M11 formatted as percentage?


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when
M11 =
98%.
Help!
--
News Gal







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Lookup Formula not working completely

I get a $0. (If it helps, M11 is formulated as a percent and displays 98.0%.)
--

--
News Gal


"Fred Smith" wrote:

No, the formatting has no effect on the lookup. He just wanted to ensure you
had 0.98 in the cell, rather than 98.

When you say "it's not working", what result do you get -- 0 or $1000.00?

Regards,
Fred.

"Newsgal" wrote in message
...
Yes, M11 is formatted as a percentage. Does that require different set up
in
the forumula?
--
News Gal


"Gaurav" wrote:

It's working for me....is M11 formatted as percentage?


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when
M11 =
98%.
Help!
--
News Gal





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Lookup Formula not working completely

My bet is that M11 is not quite 98.0%. It's, say, 97.9992%. This will format
to one decimal place as 98.0%, but won't meet the lookup criteria.

What happens when you format M11 as General? What do you see then?

Regards,
Fred.

"Newsgal" wrote in message
...
I get a $0. (If it helps, M11 is formulated as a percent and displays
98.0%.)
--

--
News Gal


"Fred Smith" wrote:

No, the formatting has no effect on the lookup. He just wanted to ensure
you
had 0.98 in the cell, rather than 98.

When you say "it's not working", what result do you get -- 0 or $1000.00?

Regards,
Fred.

"Newsgal" wrote in message
...
Yes, M11 is formatted as a percentage. Does that require different set
up
in
the forumula?
--
News Gal


"Gaurav" wrote:

It's working for me....is M11 formatted as percentage?


"Newsgal" wrote in message
...
=LOOKUP(M11,{0,0.98,1},{0,"$750.00","$1000.00"})
This formula works fine if M11=100+%. However, it's not working when
M11 =
98%.
Help!
--
News Gal






  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup Formula not working completely

"Newsgal" wrote:
I get a $0. (If it helps, M11 is formulated as a percent and displays 98.0%.)


You probably have a formula-calculated value in M11 which is returning say:
97.99%. The formatting applied makes it appear as 98.0%, but the underlying
value remains at 97.99%.

Try it like this:
=LOOKUP(ROUND(M11,2),{0,0.98,1},{0,"$750.00","$100 0.00"})
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Lookup Formula not working completely

That was it! Thanks, Max.
--
News Gal


"Max" wrote:

"Newsgal" wrote:
I get a $0. (If it helps, M11 is formulated as a percent and displays 98.0%.)


You probably have a formula-calculated value in M11 which is returning say:
97.99%. The formatting applied makes it appear as 98.0%, but the underlying
value remains at 97.99%.

Try it like this:
=LOOKUP(ROUND(M11,2),{0,0.98,1},{0,"$750.00","$100 0.00"})
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup Formula not working completely

"Newsgal" wrote:
That was it! Thanks, Max.


Welcome. Please press the "Yes" button from where you read this.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

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
V Lookup Not working since change Pammi J Excel Discussion (Misc queries) 3 July 13th 07 11:04 AM
lookup not working nasim Excel Worksheet Functions 1 January 3rd 07 12:43 PM
LOOKUP formula not working right pdgaustintexas Excel Worksheet Functions 5 January 27th 06 03:22 PM
Lookup Not working as expected trumpy81 New Users to Excel 5 June 30th 05 07:41 PM
Completely stumped for formula kirbster1973 Excel Discussion (Misc queries) 3 May 26th 05 08:14 PM


All times are GMT +1. The time now is 06:07 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"