I'm showing 4 columns in two rows. columnO is amount accruing to Ari. columnP is amount accruing to Jorge.
Row1:In columnH I have a number. In columnK are two names (Jorge and Ari). ColumnO (manually entered) displays ColumnHvalue/2 when both names are present. ColumnP (manually entered) also displays Column1Hvalue/2 when both names are present.
Row2:In columnH I have a number. In columnK there is one name (Jorge). columnO (manually entered) displays 0 if Ari's name is not present. ColumnP (manually entered) displays columnHvalue if Ari's name is not present.
Row3:In columnH I have a number. In columnK there is one name (Ari). columnO (manually entered) displays columnHvalue if Jorge's name is not present. columnP (manually entered) displays 0 if Jorge's name is not present.
I need a single formula for columns O and P that will make the correct values appear in the corresponding cells. I tried out a few different ideas but none of them worked and I didn't understand what I was doing well enough to describe any of it here. All help much appreciated.
