#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default IF Function

Hi
i have a credit control spreadsheet containing credit limit columns from
which i am working out credit terms. i have inserted a column into which i
was entering an IF funcition:
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000 ,1000000)))))))))))
However excel will not except the function arguments from 250 onwards, can
anyone tell me why? or is there an easier way of doing this?!
--
Lois
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default IF Function

Only upto 7 IF conditions is allowed/ Try the below...

=IF(D8=0,0,LOOKUP(D8-1,{0,5,10,20,50,100,150,250,500,750,1000000},{5,10 ,20,50,100,150,250,500,750,1000000}))
--
If this post helps click Yes
---------------
Jacob Skaria


"Lois" wrote:

Hi
i have a credit control spreadsheet containing credit limit columns from
which i am working out credit terms. i have inserted a column into which i
was entering an IF funcition:
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000 ,1000000)))))))))))
However excel will not except the function arguments from 250 onwards, can
anyone tell me why? or is there an easier way of doing this?!
--
Lois

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IF Function

Easiest way would be to split the formula across 2 cells I think;

Have
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,A1))))))))
In one cell, and
=IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000,1000 000)))
In A1 or where ever you want.

"Lois" wrote in message
...
Hi
i have a credit control spreadsheet containing credit limit columns from
which i am working out credit terms. i have inserted a column into which
i
was entering an IF funcition:
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000 ,1000000)))))))))))
However excel will not except the function arguments from 250 onwards, can
anyone tell me why? or is there an easier way of doing this?!
--
Lois


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default IF Function

yes, this works, Thank-You!
--
Lois


"Jacob Skaria" wrote:

Only upto 7 IF conditions is allowed/ Try the below...

=IF(D8=0,0,LOOKUP(D8-1,{0,5,10,20,50,100,150,250,500,750,1000000},{5,10 ,20,50,100,150,250,500,750,1000000}))
--
If this post helps click Yes
---------------
Jacob Skaria


"Lois" wrote:

Hi
i have a credit control spreadsheet containing credit limit columns from
which i am working out credit terms. i have inserted a column into which i
was entering an IF funcition:
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000 ,1000000)))))))))))
However excel will not except the function arguments from 250 onwards, can
anyone tell me why? or is there an easier way of doing this?!
--
Lois

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default IF Function

Cheers.. 2007 version allows more than 7..

If this post helps click Yes
---------------
Jacob Skaria


"Lois" wrote:

yes, this works, Thank-You!
--
Lois


"Jacob Skaria" wrote:

Only upto 7 IF conditions is allowed/ Try the below...

=IF(D8=0,0,LOOKUP(D8-1,{0,5,10,20,50,100,150,250,500,750,1000000},{5,10 ,20,50,100,150,250,500,750,1000000}))
--
If this post helps click Yes
---------------
Jacob Skaria


"Lois" wrote:

Hi
i have a credit control spreadsheet containing credit limit columns from
which i am working out credit terms. i have inserted a column into which i
was entering an IF funcition:
=IF(D8=0,0,IF(D8<=5,5,IF(D8<=10,10,IF(D8<=20,20,IF (D8<=50,50,IF(D8<=100,100,IF(D8<=150,150,IF(D8<=25 0,250,IF(D8<=500,500,IF(D8<=750,750,IF(D8<=1000000 ,1000000)))))))))))
However excel will not except the function arguments from 250 onwards, can
anyone tell me why? or is there an easier way of doing this?!
--
Lois

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
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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