ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   help (https://www.excelbanter.com/excel-discussion-misc-queries/185337-help.html)

kiran

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

bpeltzer

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


kiran

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


bpeltzer

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



All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com