+ Reply to Thread
Results 1 to 7 of 7

Vlookup and Indirect functoin doesn't work

  1. #1
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Vlookup and Indirect functoin doesn't work

    Hi all :-)

    I was fighting with vlookup and indirect function, but not successfully :-((

    I have a simple workbook split into Monthly sheets per employee ( e.g. January February etc) and Whole Year 2016 ( called Yearly Plan).

    What I need is to lookup value from "Yearly Plan sheet" into monthly sheets. Basically if any code example "Vacation" will be added into Yearly Plan for particular date, it will be visible in sheet for that Month and employee :-)

    Thank you,
    Andy
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Vlookup and Indirect functoin doesn't work

    may be below in K12
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    removing if function will give you zeros, that can be taken care using conditional formatting as yellow colour of font for all zeros
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Re: Vlookup and Indirect functoin doesn't work

    Hi,

    thank you.

    When checked I figure out, that forgot something to add in my file.

    Each employee could should have 2 rows ( sending revised file), for that reason my function was not working

    Andy
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Vlookup and Indirect functoin doesn't work

    A few suggestions on your layout...

    1. It is almost always better to have a table that grows downwards (ie dates going down) rather than across
    2. Have you considered just using the summary sheet and the layout above, then using filters to just show the month you want?
    3. Why the need for a sheet for each person?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Vlookup and Indirect functoin doesn't work

    A few suggestions on your layout...

    1. It is almost always better to have a table that grows downwards (ie dates going down) rather than across
    2. Have you considered just using the summary sheet and the layout above, then using filters to just show the month you want?
    3. Why the need for a sheet for each person?

  6. #6
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260
    Hi, its business requirements. Have to update manually Yearly plan a based on that to fill monthli wise via function.

    Are u able to help me? Or anybody else?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,352

    Re: Vlookup and Indirect functoin doesn't work

    Try

    in I12

    =IFERROR(INDEX('Yearly Plan'!$I$12:$N$25,MATCH(January!$B12,'Yearly Plan'!$B$12:$B$25,0),MATCH(January!I$11,'Yearly Plan'!$I$11:$N$11,0)),"")

    in I13

    =IFERROR(INDEX('Yearly Plan'!$I$12:$N$25,MATCH(January!$B12,'Yearly Plan'!$B$12:$B$25,0)+1,MATCH(January!I$11,'Yearly Plan'!$I$11:$N$11,0)),"")


    Copy in PAIRS to I14, I16 .etc then drag across columns

    Format cells as 0;0;;@ to hide 0s (zeros)
    Attached Files Attached Files

+ 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] Dynamic range with indirect in data validation list doesn't work
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2015, 07:38 AM
  2. HI, Everyone, Desperate that Indirect function doesn't work with dynamic range
    By damiending in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2015, 12:27 AM
  3. [SOLVED] Indirect formula doesn't work
    By Ztv in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2014, 05:15 PM
  4. [SOLVED] Help with INDIRECT FUNCTION Doesn't work
    By Kinez101 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2013, 11:12 AM
  5. Indirect doesn't work even if files are open - office 2010
    By Alexander_Golinsky in forum Excel General
    Replies: 0
    Last Post: 08-07-2012, 02:24 AM
  6. Indirect doesn't work when sheetname have spaces
    By ExcelQuestion in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-26-2007, 05:33 PM
  7. Indirect.ext - Eek! Doesn't Work
    By Gordon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2006, 08:15 AM

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