Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default vlookup across multiple files returning #N/A

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default vlookup across multiple files returning #N/A

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


"Reebis" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default vlookup across multiple files returning #N/A

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.

"Reebis" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default vlookup across multiple files returning #N/A

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.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"bpeltzer" wrote:

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.

"Reebis" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort multiple columns with multiple formulas without returning #R bellsjrb Excel Worksheet Functions 0 July 14th 06 10:01 AM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
Using VLOOKUP across multiple files Dave T at home Excel Worksheet Functions 1 November 3rd 05 02:04 PM
vlookup returning multiple values soph Excel Worksheet Functions 2 October 14th 05 05:17 AM
Vlookup returning #N/A ww Excel Worksheet Functions 2 March 23rd 05 12:24 AM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"