Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Pound NA problem

I am currently using an if iserror statement to loop through and delete rows
that have returned a #n/a error as a result of a pivot table. I am looking
for a more efficient way to perform this operation. I am working with over
20k rows of data and looping through one cell at a time is really slow. Any
help would be appreciated.

Thanks in advance,
Devin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Pound NA problem

Filter that column on #N/A and delete all visible rows. You can record the
code to do it.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"dmoney" wrote in message
...
I am currently using an if iserror statement to loop through and delete
rows
that have returned a #n/a error as a result of a pivot table. I am
looking
for a more efficient way to perform this operation. I am working with
over
20k rows of data and looping through one cell at a time is really slow.
Any
help would be appreciated.

Thanks in advance,
Devin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Pound NA problem

Or sort your data by this column. All the #n/a's will be together and you can
delete them in one fell swoop.

Or maybe...
Select the column with the errors
Edit|goto|special|Formulas or Constants|Errors
Edit|Delete|Entire row

If you have errors that you want to keep (#ref/div0, ...), then don't use this.

dmoney wrote:

I am currently using an if iserror statement to loop through and delete rows
that have returned a #n/a error as a result of a pivot table. I am looking
for a more efficient way to perform this operation. I am working with over
20k rows of data and looping through one cell at a time is really slow. Any
help would be appreciated.

Thanks in advance,
Devin


--

Dave Peterson
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
Number / Pound sign problem Steve_n_KC Excel Programming 2 October 18th 07 10:14 PM
pound signs awh Excel Discussion (Misc queries) 3 June 28th 07 07:46 PM
Problem extracting Euro and Pound symbol djd Excel Discussion (Misc queries) 0 June 25th 07 11:02 PM
Pound Signs...Yikes! AdinaC Excel Discussion (Misc queries) 4 December 6th 06 12:07 AM
UK Pound Sign Owen Excel Discussion (Misc queries) 4 August 22nd 05 05:53 PM


All times are GMT +1. The time now is 10:15 AM.

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"