Hello!
I need help with what will probably be a very simple forumla for most of you. Here is the problem:
I have a dropdown box with approximately twenty codes meaningful to my company in it, i.e., D01, D02, D08, D09, D10, D99, etc. The final code is NA, and is to be selected when there is no need for this particular type of code.
I have written this formula for cell J4:
=IF(OR(C4="D01",C4="D08")*AND(I4<50),I4,50)
It works perfectly for Codes D01 and D08, for which the value in Column I can be anything greater than 1.0 (no high limit), and which can be matched by the company at an even dollar amount up to 50.00 -- that is the limit of the match. So, if code D01=1.00, cell J4 will return 1.00; if D4=40.00, J4 will return 40.00; if D4=60.00, J4 will return 50.00.
This is what I need to add to this formula: if C4=D02, D09, D10, D99, NA or any of the codes in the dropdown list OTHER than D01 or D08, J4 should return no value, or blank -- in other words, the only codes with a company match are D01 and D08.
I've tried everything I know how to do, and keep ending up with J4=50.00 for all codes. Any help would be most appreciated!
Thank you,
Kim in Tennessee
I need help with what will probably be a very simple forumla for most of you. Here is the problem:
I have a dropdown box with approximately twenty codes meaningful to my company in it, i.e., D01, D02, D08, D09, D10, D99, etc. The final code is NA, and is to be selected when there is no need for this particular type of code.
I have written this formula for cell J4:
=IF(OR(C4="D01",C4="D08")*AND(I4<50),I4,50)
It works perfectly for Codes D01 and D08, for which the value in Column I can be anything greater than 1.0 (no high limit), and which can be matched by the company at an even dollar amount up to 50.00 -- that is the limit of the match. So, if code D01=1.00, cell J4 will return 1.00; if D4=40.00, J4 will return 40.00; if D4=60.00, J4 will return 50.00.
This is what I need to add to this formula: if C4=D02, D09, D10, D99, NA or any of the codes in the dropdown list OTHER than D01 or D08, J4 should return no value, or blank -- in other words, the only codes with a company match are D01 and D08.
I've tried everything I know how to do, and keep ending up with J4=50.00 for all codes. Any help would be most appreciated!
Thank you,
Kim in Tennessee