• Beyond a vlookup (97/2000)

    Author
    Topic
    #369767

    Vlookups are great, but what we need is a cross referenced table. Where you look both horizontal and vertical to find your matching value. Is there an Excel function to accomplish this?

    Viewing 2 reply threads
    Author
    Replies
    • #583053

      Take a look at this Chip Pearson page. Look for the heading

      Double Lookups

    • #583176

      You can do this In Excel.
      First, from the top panel command bar use Tools -> Options -> Calculation and then check the checkbox in the bottom right corner that says [Accept labels in formulas]
      Now, in a blank sheet anywhere, create a 2-dimensional block with headings in the first row representing say Depts,
      e.g. Admin, Sales, Office, Transport, DeptD, DeptE etc.
      In the left-hand first column of the table place your other list
      e.g. staff, postage, phones, wages, gas, electric, cars etc etc.
      Fill in some numbers in the table.
      Now, in any cell type a formula like
      =wages Sales
      and it will return the matching entry!
      Other examples:
      =(Admin gas)*2
      =(staff Office)+(staff Admin) + (DeptD staff)

      try it!

      zeddy

      • #585827

        Zeddy, thanks for the tip… now, to make it a little more useful, how would you reference the table from another sheet in the workbook. I/m thinking it would be useful to have a worksheet with several tables and the calculations done on the first page (worksheet).

    • #585860

      Without a clear picture of what you are trying to do, it’s hard to tell, but there’s also = INDEX() if it fits what you want.

    Viewing 2 reply threads
    Reply To: Beyond a vlookup (97/2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: