Closed Thread
Results 1 to 8 of 8

Adding IF(ISERROR) to multiple and non-sequential cell references

  1. #1
    Registered User
    Join Date
    12-19-2008
    Location
    CA
    Posts
    64

    Adding IF(ISERROR) to multiple and non-sequential cell references

    Is there an easy way to change

    ='Week 1'!$D$21
    ='Week 1'!$D$30
    ='Week 1'!$D$39
    ='Week 2'!$D$21
    ='Week 2'!$D$30
    ='Week 2'!$D$39

    to

    =IF(ISERROR('Week 1'!$D$21), "", ('Week 1'!$D$21))
    =IF(ISERROR('Week 1'!$D$30), "", ('Week 1'!$D$30))
    =IF(ISERROR('Week 1'!$D$39), "", ('Week 1'!$D$39))
    =IF(ISERROR('Week 2'!$D$21), "", ('Week 2'!$D$21))
    =IF(ISERROR('Week 2'!$D$30), "", ('Week 2'!$D$30))
    =IF(ISERROR('Week 2'!$D$39), "", ('Week 2'!$D$39))

    Without having to change each one by hand?

    There is a pattern to the numbers.
    There are 5 weeks, rows 12, 21, 30, 39, 48 in columns D,I,N,S,X

    Thanks!
    ~Lizabeta
    Last edited by Lizabeta; 07-06-2009 at 05:39 PM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    The easiest way is to use the Edit > Find and select options Formula
    quick and painless and can be undone if required
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    As an alternative, LB, consider using conditional formatting to mask display of errors.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    Alternative based purely on example file (assuming formulae in say A1 onwards):

    Please Login or Register  to view this content.
    Change ranges to suit...

  5. #5
    Registered User
    Join Date
    12-19-2008
    Location
    CA
    Posts
    64

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    I tried each option in turn and found, surprisingly (since I'm not that experienced with VB) that DonkeyOte's solution was the one that worked best for me.

    Shg, I am probably not using conditional formatting the way you meant. The only way I knew to supress those errors with CF was to make them white out. Which, when I go to average everything on that table will cause me issues later.

    Thank you both!

  6. #6
    Registered User
    Join Date
    01-30-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    Thanks, is there an excel addin that can do this if we select a range?

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    Welcome to the forum.

    This is an(almost) 5 years old thread. As per forum rules, you have to start your own thrad and if you like to provide a link to this one.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Adding IF(ISERROR) to multiple and non-sequential cell references

    Correct.
    I will close this thread now.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1