title: IF statements combining multiple columns
body: <p>I am using excel 2010 and looking to use IF statements to add multiple columns that have both letters and numbers. I have come as far as to get all the coding in so that when one of each condition is presented they total correctly.</p>
  
  <p>The problem I am having is if there is more than one of the same condition.</p>
  
  <p>For example the IF statement I am using is: <code>=IF(ISNA(MATCH("1P",C7:CO7,0)),0,1)+IF(ISNA(MATCH("2P",C7:CO7,0)),0,2)</code> and so on.</p>
  
  <p>Obviously between cells C7 and CO7 there are many cells and if more than one cell has 1P or 2P in it the additional cells are not being added and only one. How can I get my formula to recognize the condition in more than one cell?</p>
  
  <p>Thanks </p>