Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
for worksheet 1. Then, on worksheet 1, I am using the sum function to add the numbers together. However, there are several cells on worksheet 1 that have #n/a because there is no information on worksheet 2 to pull from. This causes an issue with the sum function. Is there a way to have these cells change from #n/a to zero or null? |
#2
![]() |
|||
|
|||
![]()
Yep -
=IF(ISERROR(VLOOKUP(...)),0,VLOOKUP(...)) -- Regards, db "Jess" wrote: I have 2 worksheets and I am using the vlookup to pull data from worksheet 2 for worksheet 1. Then, on worksheet 1, I am using the sum function to add the numbers together. However, there are several cells on worksheet 1 that have #n/a because there is no information on worksheet 2 to pull from. This causes an issue with the sum function. Is there a way to have these cells change from #n/a to zero or null? |
#3
![]() |
|||
|
|||
![]()
try something like this.... I use this one not sure it will work in a
vlookup though =IF(N(F13),H13-H12,0) |
#4
![]() |
|||
|
|||
![]()
=SUMIF(Range,"<#N/A")
Jess wrote: I have 2 worksheets and I am using the vlookup to pull data from worksheet 2 for worksheet 1. Then, on worksheet 1, I am using the sum function to add the numbers together. However, there are several cells on worksheet 1 that have #n/a because there is no information on worksheet 2 to pull from. This causes an issue with the sum function. Is there a way to have these cells change from #n/a to zero or null? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i make a sum formula ignore #div/0! errors in the range | Excel Worksheet Functions | |||
VLookup Errors | Excel Worksheet Functions | |||
errors using Vlookup | Excel Worksheet Functions | |||
Can I have spell check ignore errors and alert me to real words? | Excel Discussion (Misc queries) | |||
Countif to ignore any errors | Excel Worksheet Functions |