View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Pranav Vaidya Pranav Vaidya is offline
external usenet poster
 
Posts: 180
Default how do I sum a column that has #NA as an answer to a lookup?

Hi Shreman,

Change your vlookup as-

=IF(ISERROR(<vlookup),0,<vlookup)

this will replace all the #N/A with 0 and your sum will work.
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"sherman" wrote:

I am trying to add a column that has #NA as a result of using the Vlookup
function. I would like to add up the column that does not have #NA as an
answer.