Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
help
Hi All,
I want to record a macro which is more than 255 characters, kindly help, my formula is as follwos =IF(AND(S152="IncidentLow",O152<=168),"Pass",IF(AN D(S152="IncidentMedium",O152<=24),"Pass",IF(AND(S1 52="IncidentHigh",O152<=8),"Pass",IF(AND(S152="Inc identUrgent",O152<=4),"Pass",IF(AND(S152="RequestL ow",O152<=600),"Pass",IF(AND(S152="RequestMedium", O152<=120),"Pass",IF(AND(S152="RequestHigh",O152<= 40),"Pass"))))))) TIA |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
help
How about creating a lookup table, where the first column is the activity
type and the second column the acceptable response time. Then your formula becomes =if(isna(vlookup(s152,TABLE,2,0)),"invalid type",if(o152<=vlookup(s152,TABLE,2,0),"PASS","FAI L")). "kiran" wrote: Hi All, I want to record a macro which is more than 255 characters, kindly help, my formula is as follwos =IF(AND(S152="IncidentLow",O152<=168),"Pass",IF(AN D(S152="IncidentMedium",O152<=24),"Pass",IF(AND(S1 52="IncidentHigh",O152<=8),"Pass",IF(AND(S152="Inc identUrgent",O152<=4),"Pass",IF(AND(S152="RequestL ow",O152<=600),"Pass",IF(AND(S152="RequestMedium", O152<=120),"Pass",IF(AND(S152="RequestHigh",O152<= 40),"Pass"))))))) TIA |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
help
Hi bpeltzer,
Thanks for your replay, well sorry to ask u i am new to coding i tryed but getting error can you breef me in steps TIA "bpeltzer" wrote: How about creating a lookup table, where the first column is the activity type and the second column the acceptable response time. Then your formula becomes =if(isna(vlookup(s152,TABLE,2,0)),"invalid type",if(o152<=vlookup(s152,TABLE,2,0),"PASS","FAI L")). "kiran" wrote: Hi All, I want to record a macro which is more than 255 characters, kindly help, my formula is as follwos =IF(AND(S152="IncidentLow",O152<=168),"Pass",IF(AN D(S152="IncidentMedium",O152<=24),"Pass",IF(AND(S1 52="IncidentHigh",O152<=8),"Pass",IF(AND(S152="Inc identUrgent",O152<=4),"Pass",IF(AND(S152="RequestL ow",O152<=600),"Pass",IF(AND(S152="RequestMedium", O152<=120),"Pass",IF(AND(S152="RequestHigh",O152<= 40),"Pass"))))))) TIA |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
help
Well, replace 'TABLE' with the reference to that two-column table you've
built, eg Sheet2!$A$1:$B$8 "kiran" wrote: Hi bpeltzer, Thanks for your replay, well sorry to ask u i am new to coding i tryed but getting error can you breef me in steps TIA "bpeltzer" wrote: How about creating a lookup table, where the first column is the activity type and the second column the acceptable response time. Then your formula becomes =if(isna(vlookup(s152,TABLE,2,0)),"invalid type",if(o152<=vlookup(s152,TABLE,2,0),"PASS","FAI L")). "kiran" wrote: Hi All, I want to record a macro which is more than 255 characters, kindly help, my formula is as follwos =IF(AND(S152="IncidentLow",O152<=168),"Pass",IF(AN D(S152="IncidentMedium",O152<=24),"Pass",IF(AND(S1 52="IncidentHigh",O152<=8),"Pass",IF(AND(S152="Inc identUrgent",O152<=4),"Pass",IF(AND(S152="RequestL ow",O152<=600),"Pass",IF(AND(S152="RequestMedium", O152<=120),"Pass",IF(AND(S152="RequestHigh",O152<= 40),"Pass"))))))) TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|