Dear Yogi, You can also try through UDF Nested_If............ *Function Nested_if(rng As Range) counter = 1 For Each cell In rng If cell.Value > 5 Then counter = counter + 1 End If Next If counter > 2 Then Nested_if = "Good" Else Nested_if = "Poor" End If** End Function * On Sat, Dec 10, 2011 at 4:29 PM, yogiyogi123 <yogiyogi...@gmail.com> wrote:
> HAI ALL .I HAVE SMALL DOUBT IN CONDITIONAL (and) function > > Q1) i have four months > > jan feb mar apr > > 6 1 5 0 > > if any two month get '> 5' then the result is GOOD other wise POOR . > KINDLY RECTIFY THIS PROBLEM. > > THANK Q > > -- > FORUM RULES (934+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > -- Thanks & regards, Noorain Ansari *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/> *http://noorain-ansari.blogspot.com/* <http://noorain-ansari.blogspot.com/> -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
Nested_IF.xlsm
Description: Binary data