I have a sheet (LC AVERAGE) that has a list of names and a column of values. I am looking to display the values on an OVERVIEW sheet that I have, but there are more names on the OVERVIEW sheet than on the LC AVERAGE sheet. I tried IFERROR
and IF
, but am getting 0
in cells where the name doesn't match, which is affecting other formulas on the OVERVIEW page.
=IFERROR((SUMIF('LC AVERAGE'!$A:$A,OVERVIEW!$B8,'LC AVERAGE'!$Z:$Z)),"--")
I basically need it to display the value in LC AVERAGE'!$Z:$Z on the overview page if the names in 'LC AVERAGE'!$A:$A match the names on OVERVIEW!$B8 (B column), and if the name doesn't exist, display --
.
I think the issue is that it isn't counted as an error in Excel if the name simply isn't there, but I've searched and I can't get this to work.
Any thoughts?
Am not sure if there's a better way of getting the same thing, but here's something:
Where the data is in
Am just checking for the value in the data set using
MATCH
before it sums up the result.