I need help with the formula in column K in the attached workbook.
It contains a database of companies that were included in an SEC filing submitted by an investment firm. The database contains 522 records in rows 6 – 528 and columns A thru K.
The 522 records are comprised of 336 companies.
Each company is listed either one, two, or three times – depending on whether the investment firm has invested in the Puts, the Calls, or the Stock.
All combinations are included – Puts Only (1 record), Calls Only (1 record), Stock Only (1 record), Puts + Calls (2 records), Puts + Stock (2 records), Calls + Stock (2 records), Puts + Calls + Stock (3 records).
Column G lists whether or not the investment was in the Stock Only (”O” for Only) or a combination (“C”) of the Stock plus either the Puts, Calls, or both. In other words, “C” includes Puts + Stock (2 records), Calls + Stock (2 records), and Puts + Calls + Stock (3 records).
Column H denotes investments in Puts Only, and column I denotes investments in Calls Only.
I need column K to denote (by a two letter symbol “PC”) investments made ONLY in the Puts and/or the Calls – i.e. including the Puts Only (1 record), Calls Only (1 record), or Puts + Calls (2 records).
I tried a formula with AND, OR, and COUNTIF functions – to no avail. Please help!
Bookmarks