+ Reply to Thread
Results 1 to 8 of 8

Xlookup accross and down

  1. #1
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Xlookup accross and down

    Hi, in the attached sheet I would like to have the column R values filled when I select the relevant month in the drop down in Q2 so that each location is shown next to the value for them for that specific month so for example location 1 for January would show £817,991 in the box and location 2 would show £344,747 if I then changed the month to Feb these values would update to show £57,259.37 and £24,132.29 respectively. Can someone help as I have trieda couple of things but not sure how best to do this?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523

    Re: Xlookup accross and down

    The following VLOOKUP in cell R3 (copied down) will achieve what you need:


    Please Login or Register  to view this content.
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Xlookup accross and down

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Xlookup accross and down

    Another option

    Cell R3 formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Xlookup accross and down

    If the locations are in the same order in both places:

    =FILTER(B4:M6,B3:M3=Q2)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: Xlookup accross and down

    Thanks everyone, al of these solutions work, although there is no guarantee the locations will always be in the same order as it is a monthly data set but have got what I need, thanks for the help, the nested XLOOKUP is the one I was trying to get to but couldn't

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Xlookup accross and down

    Glad to help & thanks for the feedback.

  8. #8
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Xlookup accross and down

    @moneypennie21 You're Welcome. Glad to help . Thank You for the feedback and rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Look up accross multiple columns
    By Mingeita in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2021, 09:16 AM
  2. Finding the sum accross
    By thong127 in forum Excel General
    Replies: 7
    Last Post: 12-09-2015, 10:03 AM
  3. [SOLVED] Sum Accross Mult Sheets
    By day92 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2014, 04:10 PM
  4. Autofill accross code
    By ufopilot3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2012, 12:24 PM
  5. Before Double Click accross certain WS
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2012, 03:26 AM
  6. SUM MAX accross columns
    By manywise in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 04-08-2011, 07:13 AM
  7. MAX IF MIN IF accross various arrays
    By gd19 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-15-2008, 03:01 PM

Tags for this Thread

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