help

  • Thread starter Thread starter kiran
  • Start date Start date
K

kiran

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(AND(S152="IncidentMedium",O152<=24),"Pass",IF(AND(S152="IncidentHigh",O152<=8),"Pass",IF(AND(S152="IncidentUrgent",O152<=4),"Pass",IF(AND(S152="RequestLow",O152<=600),"Pass",IF(AND(S152="RequestMedium",O152<=120),"Pass",IF(AND(S152="RequestHigh",O152<=40),"Pass")))))))

TIA
 
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","FAIL")).
 
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
 
Well, replace 'TABLE' with the reference to that two-column table you've
built, eg Sheet2!$A$1:$B$8
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top