IFERROR(VLOOKUP) causing SUM to not work

radley1

New Member
Joined
Feb 17, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi all
I am pulling data from multiple tabs to provide sales information for each week on a collated tab.

I am using the VLOOKUP formula to pull the sales from each tab.
I then was using the IFERROR function to remove the annoying #N/A that is being thrown on quite a lot.

=IFERROR(VLOOKUP(A2,'2023.01.09'!$A$2:C3644,3,FALSE),IF(B2="",""))

When using the above it did give me the circular referees warning message - not sure why.

This worked well, however when I then came to SUM together rows, if the row had a IFERROR in it it would stop all the data from summing.

What is the best formula to use with VLOOKUP to pull data but to not get bogged down with the #N/A's. Prefereably the #N/A's would either be a zero or blank (and capable of being used in a SUM).

Thanks

1678293942053.png
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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