SUMIFS returning #N/A

chive90

Board Regular
Joined
May 3, 2023
Messages
56
Office Version
  1. 2016
I'm trying to sum Column D on Sheet2 but only where Column E and Column F meet certain requirements.

Column E contains an IF ISNA VLOOKUP, where, if found, the output is Yes, otherwise it is left blank.
Column F contains free text of 'IN' or 'OUT'.

My formula is currently: =SUMIFS('Sheet2'!D:D,'Sheet2'!E:E,"Yes",'Sheet2'!F:F,"IN")

However, in cell C10 on Sheet1 where I am entering the formula, it is returning #N/A

Does this have anything to do with the fact that I am using a IF ISNA VLOOKUP formula to count the number of 'Yes' entries, and SUMIFS won't count text that is part of a formula output? If so, how can I get around this as the VLOOKUP is critical to use as more entries are added.

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Are you able to share the data with XL2BB?

Do you have any errors in columns D, E or F?
 
Upvote 0
Check that you don't have #N/A errors in column D
 
Upvote 0
Solution
Check that you don't have #N/A errors in column D

Are you able to share the data with XL2BB?

Do you have any errors in columns D, E or F?


You both got it. Sorry amateur mistake on my part. D had a handful of N/A's so I've added in an additional criteria of "<>#N/A" and now working ok.
Cheers for the quick replies.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top