Hi there! So I am trying to set up a cell formula that will read information from a row, determine if an employee's name is present, and if so add a value from a third cell. If his name is not present, then 0 will be added to the current cell. Here is what I have come up with so far, which works:
=IF(COUNTIF(D11:I11,"Avery")>0,+K11,W17+0)
Where D11:I11 is the row range, "Avery" is the associates name, +K11 is the value from the third cell, and W17 is current cell with the formula in it.
However, I need to utilize this same formula for 14 total rows, but combine them into the same cell (which I have so far been unable to get to work). So basically I need to combine the following formulae:
=IF(COUNTIF(D11:I11,"Avery")>0,+K11,W17+0)
=IF(COUNTIF(D12:I12,"Avery")>0,+K12,W17+0)
=IF(COUNTIF(D13:I13,"Avery")>0,+K13,W17+0)
=IF(COUNTIF(D14:I14,"Avery")>0,+K14,W17+0)
=IF(COUNTIF(D15:I15,"Avery")>0,+K15,W17+0)
etc...
Is this something that is possible? Thank you!
Bookmarks