Deleted sheets in calculations
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Deleted sheets in calculations

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a file that has many data sheets and one sheet that calculates all the data from the other sheets. If a data sheet is empty, I have a macro that deletes it. I need a way to enter a $0.00 in the calculation cells on the main sheet for all deleted sheets.

  2. #2
    MrExcel MVP Anne Troy's Avatar
    Join Date
    Feb 2002
    Location
    Westwood NJ
    Posts
    2,581
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    What are you getting now? #REF?

    Suppose your sheet said:

    =Sheet5!B12

    and you deleted sheet5 and now it says #REF.

    You could put

    =IF(ISERROR(Sheet5!B12),0,Sheet5!B12)

    No?
    ~Anne Troy

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com