#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default lookup functions

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default lookup functions

See if this formula gives the intended results up to 1000000:

=IF(CEILING(B224/1000,5)<25,25,IF(CEILING(B224/1000,5)<50,50,CEILING(B224/1000,5)))

Hope this helps,

Hutch

"Srinivas" wrote:

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default lookup functions

Thanks for the reply

Actual the scenario is like this from 1 to 25000 - the bank will charge 25
as commision and from 25001 to 50000 - 50 then after 50001 to 55000 - 55 and
55001 to 60000 - 60 ..........etc i want formula up 100000. But if nothing
there like 0 it should display "0"

Thanks
--
srinivas


"Srinivas" wrote:

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default lookup functions

Thank you it helped me but even if nothing is there it is giving 25, if no
amount is there it should display "0"
--
srinivas


"Tom Hutchins" wrote:

See if this formula gives the intended results up to 1000000:

=IF(CEILING(B224/1000,5)<25,25,IF(CEILING(B224/1000,5)<50,50,CEILING(B224/1000,5)))

Hope this helps,

Hutch

"Srinivas" wrote:

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default lookup functions

Okay, here is revised version which will return 0 if B224 is empty or
contains a zero.

=IF(OR(LEN(B224)=0,B224=0),0,IF(CEILING(B224/1000,5)<25,25,IF(CEILING(B224/1000,5)<50,50,CEILING(B224/1000,5))))

Hutch

"Srinivas" wrote:

Thanks for the reply

Actual the scenario is like this from 1 to 25000 - the bank will charge 25
as commision and from 25001 to 50000 - 50 then after 50001 to 55000 - 55 and
55001 to 60000 - 60 ..........etc i want formula up 100000. But if nothing
there like 0 it should display "0"

Thanks
--
srinivas


"Srinivas" wrote:

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default lookup functions

THANKS LOT
--
srinivas


"Tom Hutchins" wrote:

Okay, here is revised version which will return 0 if B224 is empty or
contains a zero.

=IF(OR(LEN(B224)=0,B224=0),0,IF(CEILING(B224/1000,5)<25,25,IF(CEILING(B224/1000,5)<50,50,CEILING(B224/1000,5))))

Hutch

"Srinivas" wrote:

Thanks for the reply

Actual the scenario is like this from 1 to 25000 - the bank will charge 25
as commision and from 25001 to 50000 - 50 then after 50001 to 55000 - 55 and
55001 to 60000 - 60 ..........etc i want formula up 100000. But if nothing
there like 0 it should display "0"

Thanks
--
srinivas


"Srinivas" wrote:

I want help on lookup functions i wrote up to 100000 but i want up to
1000000 how to do this using lookup or any other.

=LOOKUP(B224,{0,25000,50001,55001,60001,65001,7000 1,75001,80001,85001,90001,95001,100001},{"25","50" ,"55","60","65","70","75","80","85","90","95","100 "})
--
srinivas

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
If ,AND, LOOKUP, Functions Lot Doctor Excel Worksheet Functions 1 October 5th 07 06:00 PM
lookup functions jai Setting up and Configuration of Excel 1 April 17th 07 01:02 PM
Lookup functions Fiona Excel Discussion (Misc queries) 1 March 7th 05 09:15 AM
Lookup Functions Sharon Excel Worksheet Functions 6 February 20th 05 05:04 AM
Lookup Functions Imran Excel Worksheet Functions 1 November 5th 04 03:35 PM


All times are GMT +1. The time now is 01:10 PM.

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

About Us

"It's about Microsoft Excel"