#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default 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
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



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