Private Investigator 360 Blog

Public History, Reverse Phone Calls, Cheating Spouse? Private Investigator Reviewed

Reverse Phone Look Up

Look up any phone number for free...example 555-555-5555..Check now

Excel Magic Trick 479: Reverse Two Way Lookup - Robust Formula for Duplicate Situations

March 7th, 2010 by

See a robust formula that can handle any duplicate situation when doing a Reverse Two Way Lookup. See how to extract column and row headers when the lookup values are data inside the table and there are many duplicate lookup values. This Array Formula uses the functions, IF, OR, COLUMNS, INT, MOD, SMALL, INDEX, COLUMN, ROW, COLUMNS. This amazing trick comes from donkeyote and pgc01 at the Mr Excel Message Board. This video is an improvement on the formula as seen in video Excel Magic Trick #149.5: Reverse 2-Way Lookup w duplicates. The amazing concept in the video comes from the fact that we have duplicate lookup values and we must return the column and row headers in a specific order. The conceptual trick that will be used is to create a table of numbers in the same shape as the lookup table values and each number will contain both the column number and row number for the lookup value. We will multiply the column numbers by 10^5 then add the row numbers to get a single number that will have information about the column and row index numbers. Absolutely a must see conceptual trick if you want to master Reverse two way lookup! Reverse Two Way Lookup When Duplicates are Present.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

This entry was posted on Sunday, March 7th, 2010 at 3:23 am and is filed under Reverse Phone Look UP. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

6 responses about “Excel Magic Trick 479: Reverse Two Way Lookup - Robust Formula for Duplicate Situations”

  1. ExcelIsFun said:

    I don’t understand…

    For date and time, see video 478

  2. MrHelal123 said:

    I guess if i was changing it to time using this formula, i would have to change the custom number format?

  3. ExcelIsFun said:

    Yes. But video 478 is an easier formula that works for dates and times only.

  4. MrHelal123 said:

    Will this formula work for dates and times

  5. ExcelIsFun said:

    It took me a long time to understand it also!!

  6. mikeyroro said:

    Wow! Talk about a mega-formula! I’m going to have to study this one for a bit…