答案1
尝试这个:
来自单元格的公式O3:O6
{=SUM((D2:L14=O2)*1)}
{=SUM(ROW(D2:L14)*(D2:L14=O2))}
{=SUM(COLUMN(D2:L14)*(D2:L14=O2))}
=IF(O3=1,ADDRESS(O4,O5,1),"Multiple occurences")
中的公式{}
是数组公式。
单元格中有一体化公式O7
:
{=IF(SUM((D2:L14=O2)*1)=1,ADDRESS(SUM(ROW(D2:L14)*(D2:L14=O2)),SUM(COLUMN(D2:L14)*(D2:L14=O2)),1),"Multiple occurences")}