vlookup across multiple files returning #N/A

G

Guest

I have 4 spreadsheets, each listing different accounts for the 4 qtr of the
year. I'm trying to roll them up into one spreadsheet, and I figure vlookup
is the easiest way after i do subtotals for the different accounts in each
qtr. So i basically have this format:

=vlookup(1st Qtr)+vlookup(2nd Qtr)....(4th Qtr)

Syntax is returning correct values except when there is no value in one fo
the qtrs, it makes the whole thing kick out the dreaded #N/A.

Any thought on how to get aorund this? Would I have to enclose each vlookup
in an IF(ISNA) loop?

Thanks in advance.

-bob
 
G

Guest

=IF(ISNA(your lookup formula1),0,your lookup formula1)+IF(ISNA(your lookup
formula2),0,your lookup formula2) and so on...
 
G

Guest

Yes, you'd need to check for NA for each vlookup. The reason is that NA
added to a number is NA, so you've got to get rid of them all if you want to
add up the results.
 
G

Guest

Just as a design issue, you may find it easier to have four columns in your
summary sheet and then add up those. It will show where errors are and then
you can hide the columns if you don't want to see them after.

Otherwise if yiu just do a sum over the cells then you really don't know if
there are problems with the data.

Another way to do it and remove a lot of external vlookups is to copy and
paste the qtr sheets into youe summary book and then just do sums if the
format is the same.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top