Excel IMPORT Issue - NZ Command

S

Schwimms

Hi,

I am having an issue in Excel where when I am trying to IMPORT a query in
from Access and there is the NZ command in that Access query, Excel will not
allow this import.

The NZ command is in the query because I need to sum up a couple rows. This
is what it looks like:

Cum Actuals: NZ([2005], 0)+NZ([2006], 0)+NZ([2007], 0)+NZ([2008],0)

I am looking for a way to add up the columns differently in access or maybe
there is a different Import option in excel that I could try?

Any help is welcome.
 
S

Schwimms

Ohh Doug!!

Your my hero!

Douglas J. Steele said:
Replace Nz([2005], 0) with IIf(IsNull([2005]), 0, [2005])

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Schwimms said:
Hi,

I am having an issue in Excel where when I am trying to IMPORT a query in
from Access and there is the NZ command in that Access query, Excel will
not
allow this import.

The NZ command is in the query because I need to sum up a couple rows.
This
is what it looks like:

Cum Actuals: NZ([2005], 0)+NZ([2006], 0)+NZ([2007], 0)+NZ([2008],0)

I am looking for a way to add up the columns differently in access or
maybe
there is a different Import option in excel that I could try?

Any help is welcome.
 

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

Similar Threads


Top