+ Reply to Thread
Results 1 to 4 of 4

Reformat IF(ISERROR(....) : if 1st option returns empty, look at 2nd option.

  1. #1
    Registered User
    Join Date
    04-17-2004
    Posts
    39

    Question Reformat IF(ISERROR(....) : if 1st option returns empty, look at 2nd option.

    I have this formula:

    =IF(ISERROR(INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49)),"",INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49))

    I need to be able to see if there is data in the range matching up in 8DBC, column 49, if not, to draw information from SI-1, column 4. How do I format this formula to do just that?

    I have tried, but I struggle with formula error's

    Regards

  2. #2
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    What's your criteria when selecting a proper value from sheet SI-1?

    You need a function to select a value from sheet SI-1 when ISERROR() is true.


    Quote Originally Posted by sonar
    I have this formula:

    =IF(ISERROR(INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49)),"",INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49))

    I need to be able to see if there is data in the range matching up in 8DBC, column 49, if not, to draw information from SI-1, column 4. How do I format this formula to do just that?

    I have tried, but I struggle with formula error's

    Regards

  3. #3
    Registered User
    Join Date
    04-17-2004
    Posts
    39
    Hi,

    Not to worry, I managed to circumvent the problem by placing the query somewhere else, and let the sheet do a normal extraction.

    Thanks

    Regards
    Sonar

  4. #4
    Biff
    Guest

    Re: Reformat IF(ISERROR(....) : if 1st option returns empty, look at 2nd option.

    Hi!

    In your formula your are testing for an error in a range and if there is one
    to return blank. If there is no error, then return the data from that same
    range.

    However, your description is saying if there is an error in one range then
    return data from a completely different range, SI-1, column 4.

    You don't need to include the INDEX call inside of ISERROR. You can shorten
    your current formula to:

    =IF(ISNA(MATCH($A10,'8DBC'!$A$1:$A$500,0)),"",INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49))

    Biff

    "sonar" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have this formula:
    >
    > =IF(ISERROR(INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49)),"",INDEX('8DBC'!$A$1:$BG$500,MATCH($A10,'8DBC'!$A$1:$A$500,0),49))
    >
    > I need to be able to see if there is data in the range matching up in
    > 8DBC, column 49, if not, to draw information from SI-1, column 4. How
    > do I format this formula to do just that?
    >
    > I have tried, but I struggle with formula error's
    >
    > Regards
    >
    >
    > --
    > sonar
    > ------------------------------------------------------------------------
    > sonar's Profile:
    > http://www.excelforum.com/member.php...fo&userid=8424
    > View this thread: http://www.excelforum.com/showthread...hreadid=466880
    >




+ Reply to 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