Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default Nested If function

I need Nested IF Function in excel cell for the below query

I have four columns (Age,Freq, Day,Month) and the condition is as follows

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is current or
previous month then the result should be "gradeA"

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is Not current
or previous month then the result should be "gradeB"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is current or
previous month then the result should be "gradeF"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is Not current
or previous month then the result should be "gradeD"

If Age is 31-60 and Freq is Queratly and Day is <121 and Month is current
months(example:from current month take three months backward oct,sep,Aug are
considered as current month) then the result should be "gradeH"

If Age is 31-60 and Freq is Queratly and Day is 121 and Month is Not
current months then the result should be "gradeK"

Queartly always considered as three months from current month
Annually always considered as 12 months from current month

If Age is 61-90 and Freq is Annually and Day is <180 and Month is current
months then the result should be "grade Annual"

ELSE : FALSE
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default Nested If function

Example of table is as shown below

Age Freq Day Month
0-30 Monthly 60 Oct-08 gradeA
0-30 Monthly 59 Sep-08 gradeA
0-30 Monthly 58 Jan-08 GradeB
1-30 Monthly 61 Oct-08 GradeF
1-30 Monthly 63 Jan-08 GradeD
31-60 Queratly 120 Aug-08 GradeH
31-60 Queratly 119 Sep-08 GradeH
31-60 Queratly 123 Jan-08 GradeK
31-60 Queratly 120 Jan-08 GradeL
61-90 Annually 180 Oct-08 Grade Annual


"Ranjit kurian" wrote:

I need Nested IF Function in excel cell for the below query

I have four columns (Age,Freq, Day,Month) and the condition is as follows

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is current or
previous month then the result should be "gradeA"

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is Not current
or previous month then the result should be "gradeB"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is current or
previous month then the result should be "gradeF"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is Not current
or previous month then the result should be "gradeD"

If Age is 31-60 and Freq is Queratly and Day is <121 and Month is current
months(example:from current month take three months backward oct,sep,Aug are
considered as current month) then the result should be "gradeH"

If Age is 31-60 and Freq is Queratly and Day is 121 and Month is Not
current months then the result should be "gradeK"

Queartly always considered as three months from current month
Annually always considered as 12 months from current month

If Age is 61-90 and Freq is Annually and Day is <180 and Month is current
months then the result should be "grade Annual"

ELSE : FALSE

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default Nested If function

hoping this will work

=IF(A1="0-30",IF(B1="Monthly",IF(C1<60,IF(D1<TODAY, "Grade A", "FALSE"))))

change the conditions for others.


"Ranjit kurian" wrote:

Example of table is as shown below

Age Freq Day Month
0-30 Monthly 60 Oct-08 gradeA
0-30 Monthly 59 Sep-08 gradeA
0-30 Monthly 58 Jan-08 GradeB
1-30 Monthly 61 Oct-08 GradeF
1-30 Monthly 63 Jan-08 GradeD
31-60 Queratly 120 Aug-08 GradeH
31-60 Queratly 119 Sep-08 GradeH
31-60 Queratly 123 Jan-08 GradeK
31-60 Queratly 120 Jan-08 GradeL
61-90 Annually 180 Oct-08 Grade Annual


"Ranjit kurian" wrote:

I need Nested IF Function in excel cell for the below query

I have four columns (Age,Freq, Day,Month) and the condition is as follows

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is current or
previous month then the result should be "gradeA"

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is Not current
or previous month then the result should be "gradeB"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is current or
previous month then the result should be "gradeF"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is Not current
or previous month then the result should be "gradeD"

If Age is 31-60 and Freq is Queratly and Day is <121 and Month is current
months(example:from current month take three months backward oct,sep,Aug are
considered as current month) then the result should be "gradeH"

If Age is 31-60 and Freq is Queratly and Day is 121 and Month is Not
current months then the result should be "gradeK"

Queartly always considered as three months from current month
Annually always considered as 12 months from current month

If Age is 61-90 and Freq is Annually and Day is <180 and Month is current
months then the result should be "grade Annual"

ELSE : FALSE

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default Nested If function

missing this Today()

should be like this

=IF(A1="0-30",IF(B1="Monthly",IF(C1<60,IF(D1<TODAY(), "Grade A", "FALSE"))))

change the conditions for others.


"Ranjit kurian" wrote:

Example of table is as shown below

Age Freq Day Month
0-30 Monthly 60 Oct-08 gradeA
0-30 Monthly 59 Sep-08 gradeA
0-30 Monthly 58 Jan-08 GradeB
1-30 Monthly 61 Oct-08 GradeF
1-30 Monthly 63 Jan-08 GradeD
31-60 Queratly 120 Aug-08 GradeH
31-60 Queratly 119 Sep-08 GradeH
31-60 Queratly 123 Jan-08 GradeK
31-60 Queratly 120 Jan-08 GradeL
61-90 Annually 180 Oct-08 Grade Annual


"Ranjit kurian" wrote:

I need Nested IF Function in excel cell for the below query

I have four columns (Age,Freq, Day,Month) and the condition is as follows

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is current or
previous month then the result should be "gradeA"

If Age is 0-30 and Freq is Monthly and Day is <61 and Month is Not current
or previous month then the result should be "gradeB"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is current or
previous month then the result should be "gradeF"

If Age is 1-30 and Freq is Monthly and Day is 61 and Month is Not current
or previous month then the result should be "gradeD"

If Age is 31-60 and Freq is Queratly and Day is <121 and Month is current
months(example:from current month take three months backward oct,sep,Aug are
considered as current month) then the result should be "gradeH"

If Age is 31-60 and Freq is Queratly and Day is 121 and Month is Not
current months then the result should be "gradeK"

Queartly always considered as three months from current month
Annually always considered as 12 months from current month

If Age is 61-90 and Freq is Annually and Day is <180 and Month is current
months then the result should be "grade Annual"

ELSE : FALSE

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
Help with nested function q3pd Excel Worksheet Functions 10 April 5th 07 07:41 AM
can you nested sum and round function within if function? anna Excel Worksheet Functions 4 May 27th 06 06:06 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Nested Function GAIL HORVATH Excel Worksheet Functions 3 May 25th 05 03:57 AM
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 08:57 AM.

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"