Results 1 to 6 of 6

Streamlining nested IF/ ISNA

Threaded View

  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Streamlining nested IF/ ISNA

    Hi there I have a formula which returns #NA in several cells, is there a way to replace this with a zero without nesting an IF and ISNA and repeating the formula? It just feels a bit clunky... if anyone can streamline it I would be grateful.
    My formula is:
    =INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0))

    and so to add the IF and ISNA it becomes:
    =IF(ISNA(INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0))),0,INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0)))

    which as you can see is a bit of a mouthful!!
    Thanks
    Last edited by boatbabe; 08-25-2011 at 09:39 AM.

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