Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default How to replace #REF! with 0

I am currently pulling data from a pivot table to a report, but everytime the
pivot table doesn't have that specific data it shows #REF! on my report. I
want to change that to show 0 if there is no data. How do I fix this problem?
--
Margo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default How to replace #REF! with 0

how about something like this

=IF(ISERROR(A1),0,A1)

HTH,
Barb Reinhardt

"Margo" wrote:

I am currently pulling data from a pivot table to a report, but everytime the
pivot table doesn't have that specific data it shows #REF! on my report. I
want to change that to show 0 if there is no data. How do I fix this problem?
--
Margo

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default How to replace #REF! with 0

Hi Margo

I assume you are using the GetPivotData function to pull the data.
If so, then wrap your formula in an If statement with an Iserror

=IF(ISERROR(your_formula),0,your_formula)

--
Regards

Roger Govier


"Margo" wrote in message
...
I am currently pulling data from a pivot table to a report, but
everytime the
pivot table doesn't have that specific data it shows #REF! on my
report. I
want to change that to show 0 if there is no data. How do I fix this
problem?
--
Margo



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
Replace Funtion: To replace "?" Sweepea Excel Discussion (Misc queries) 1 March 8th 07 01:23 AM
Replace dialog should put focus on "Find What" not "Replace With" Michael Williams Excel Discussion (Misc queries) 0 May 24th 06 12:45 PM
find and replace - replace data in rows to separated by commas msdker Excel Worksheet Functions 1 April 15th 06 01:00 AM
Replace koba Excel Discussion (Misc queries) 2 November 24th 05 02:33 AM
How can I use replace(alt+H) for mutiple items needing replace Gery Excel Worksheet Functions 1 June 15th 05 05:51 PM


All times are GMT +1. The time now is 09:47 PM.

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

About Us

"It's about Microsoft Excel"