help with formula while ignoring value errors

Copper Contributor
Hi all. New user and self taught excel user so bare with me...

I've created a table consisting of 2 list columns, one with names and another with hours, and a third column that will automatically populate with a money value when a something in the hours column is selected.

Alex - 2 hours - £30.00

What I am trying to do is create a second table beside it showing how much each person has made in money but the issue I'm having... sometimes in the first table a person will be selected from the drop down list but may not have any hours selected, meaning the money column will show #N/A.

I've experimented with SUMIFS, COUNTIF and AGGREGATE but can't get it to work. Could it be due to the people's names are from a list?

I just need to tally the total that, lets say, Alex has made but at the same time ignore the value errors.

Any help or any formulas would be much appreciated, and I apologise for my "new guy" attempt at explaining it :)

Many thanks.
2 Replies

@kmg2712 

 

You could try surrounding whatever formula you have that is working when there are no #N/A errors....surround that existing formula with the IFERROR function. It will end up looking something like this:

=IFERROR(whatever_you_have_already),0)

That should put a zero in instead of #N/A

If you'd rather a blank space, then

=IFERROR(whatever_you_have_already),"")

 

If that doesn't make sense, or doesn't work, perhaps you could post a copy of your sheet, just devoid of real names or any other confidential info.

That worked. Thanks a lot!