+ Reply to Thread
Results 1 to 3 of 3

FU to old thread on VLOOKUP

  1. #1
    Registered User
    Join Date
    03-10-2005
    Location
    East Greenbush, NY
    Posts
    26

    Question FU to old thread on VLOOKUP

    This is actually a follow-up to an old thread titled: "vlookup to see 2 values?"

    I was able to get the formula to work for me...

    =INDEX('2005 Raw Data'!$E$2:$E$23,MATCH(1,('2005 Raw Data'!$A$2:$A$23='2005'!$A5)*('2005 Raw Data'!$C$2:$C$23='2005'!B$1),0),0)

    However - I need a way to suppress the #N/A's I get where I don't have data. My preference is to display 0's.

    Any help is most certainly appreciated!

    TIA!!!

    Heather.

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try...

    =IF(ISNA(MATCH(1,('2005 Raw Data'!$A$2:$A$23='2005'!$A5)*('2005 Raw Data'!$C$2:$C$23='2005'!B$1),0)),0,INDEX('2005 Raw Data'!$E$2:$E$23,MATCH(1,('2005 Raw Data'!$A$2:$A$23='2005'!$A5)*('2005 Raw Data'!$C$2:$C$23='2005'!B$1),0),0))

    ...confirmed with CONTROL+SHIFT+ENTER. Although, my preference is to use Conditional Formatting to hide #N/A's.

    Hope this helps!

  3. #3
    Registered User
    Join Date
    03-10-2005
    Location
    East Greenbush, NY
    Posts
    26

    Thumbs up

    Worked like a charm!

    Thank you much!

    Heather Linsk
    h l i n s k @ g m a i l . c o m

+ 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