+ Reply to Thread
Results 1 to 14 of 14

Vlookup not working for one item

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Vlookup not working for one item

    Can anyone help with the enclosed please.

    All the vlookup formulas work the 600, 675 etc, but when I select the 1200 it just returns N/A can anyone help please?
    Attached Files Attached Files
    Last edited by gjjh25; 12-20-2017 at 09:40 AM.

  2. #2
    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
    30,806

    Re: Vlookup not working for one item

    Try this

    =INDEX('Manhole Rings'!F4:J13,MATCH(F$6,'Manhole Rings'!$D$4:$D$13,0),MATCH(F$7,'Manhole Rings'$F$2:$J$2,0))

    AND the heading in "Manhole Rings" is "1220 x 675 opening" not "1200 x 675 opening"

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Vlookup not working for one item

    The description on the Manhole Rings sheet says "1220" not "1200"

    Cant you just use this?
    INDEX(...MATCH(),MATCH())

    =INDEX('Manhole Rings'!F$4:J$13,MATCH(F$6,'Manhole Rings'!$D$4:$D$13,0),MATCH(F$7,'Manhole Rings'!$F$2:$J$2,0))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    Thank you for your help

  5. #5
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    Sorry I thought this was solved, but no matter what i try i still cant get the formula in the yellow boxes to work.

    I have uploaded a new sample.

    Thank you

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Vlookup not working for one item

    You still have LOOKUP( INDEX...

    Why arent you using the INDEX (MATCH (... MATCH( ... solution that John and myself suggested?

  7. #7
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    I am using that for the problem i was having before and that is solved.

    This is for a different cell, i have tried that but cant seem to get it to work

  8. #8
    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
    30,806

    Re: Vlookup not working for one item

    This works

    =INDEX('Manhole Rings'!F109:J117,MATCH(G$6,'Manhole Rings'!$D$109:$D$118,0),MATCH(G46,'Manhole Rings'!F107:J107,0))

    put data in 900/cover (and you had not changed heading as per previous posts....The description on the Manhole Rings sheet says "1220" not "1200")


    BUT you did not tell us which cell has the problem.

  9. #9
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    Hi John,

    Is this for the new uploaded sample.xls? I dont have any 1220 on the manhole sheet now?

  10. #10
    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
    30,806

    Re: Vlookup not working for one item

    Sorry .. my error!

    My last post was formula in G98

  11. #11
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup not working for one item

    The data you had as headers in the book from your other thread was Numeric and sorted ascending.
    In this book, the headers are TEXT, and NOT sorted in ascending order.
    The lookup function depends on the data being sorted Ascending.

    The Index(Match(),Match()) is probably a better solution.

    And as Special-K pointed out, The manhole ring descriptions don't match between G46 and F107:J107
    G46 = "1200 x 675 opening"
    J107 on Manhole Rings tab = "1220 x 675 opening"

    Change one of those 2 cells so they are both the same, and use
    =INDEX('Manhole Rings'!$F$109:$J$118,MATCH(G$6,'Manhole Rings'!$D$109:$D$118,0),MATCH($G$46,'Manhole Rings'!$F$107:$J$107,0))

  12. #12
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    Sorry, I dont understand, is this on the latest sample I uploaded, as the cells i am having problems with are G98 G99 G100. G98 works ok now as per your suggestions

  13. #13
    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
    30,806

    Re: Vlookup not working for one item

    G99 and G100 work.

    in G102

    =INDEX('Manhole Rings'!$F$123:$J$124,MATCH(G$50,'Manhole Rings'!$E$123:$E$124,0),MATCH(G$46,'Manhole Rings'!$F$121:$J$121,0))
    Last edited by JohnTopley; 12-20-2017 at 01:25 PM.

  14. #14
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Vlookup not working for one item

    thank you for the help

+ 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. working out how much to sell item for
    By besimpl3 in forum Excel General
    Replies: 8
    Last Post: 12-09-2016, 01:26 PM
  2. Folder.Items.Filter and Item.ExtendedProperty not Working
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2015, 12:30 PM
  3. Replies: 3
    Last Post: 12-04-2014, 01:27 PM
  4. [SOLVED] Repeat All Item Labels - Not working
    By pizzalover in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-02-2014, 06:14 PM
  5. Deleting item from name manager working intermittently
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2014, 11:11 AM
  6. [SOLVED] Parent child relationships(working out parent item) for each item
    By grphillips in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2013, 05:58 AM
  7. Replies: 2
    Last Post: 03-02-2012, 12:25 PM

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