Logic Problem

  • Thread starter JOn Kunces via OfficeKB.com
  • Start date
J

JOn Kunces via OfficeKB.com

I have a problem that has taken me many attempt to solve, all fruitless. I
have a long list of data and want to insert a reason code based on some
criteria.
In colounm Q there have been reasons imputed by others. In colounm R2 i
would liek a astatement to say "if the value of p2 is between -.04 and .
04and Q2 is blank, return the value 13, otherwise return what is in Q2. but
if colounm C2 is blank or has the letters "HPC" i also want to return a 13.
PLease help me on this thanks alot
 
D

Dave O

What's the relationship between P2, Q2, and C2? Individually, the
logic flow for the first half of your request is easy enough, and so is
the part pertaining to C2. The question becomes: in dealing with P2
and Q2, at what point or under what circumstances should we generate a
result that considers C2?
 
J

JOn Kunces via OfficeKB.com

Thanks for your help but i need to rethink the criteria b/c too often it will
wrongly put in an incorrect code. I need to rework the whole process inwhich
i go about this tast as there are no similar relationships between many of
the cells due to the nature of the entries. thanks for your help though. U
made me catch my own error before ive wasted too much time
 
Top