+ Reply to Thread
Results 1 to 13 of 13

Difficult V Look up and if function together problem

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Difficult V Look up and if function together problem

    Okay, so I am trying to use if function with V look to solve this problem, but I can't seem to figure it out. Using the "look up table" I am trying to fill the "PROJ" column with values from the "look up table" sheet. I want to first look up values on the "Proj Orders" column, but if that value is blank, I want to use to values from the "Est. Ord." column.

    Attached is a sample file .Excel_Help.xlsx

    Please help Excel Masters.

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    will this work

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Difficult V Look up and if function together problem

    Doesn't work because when column 4 on the "look up table" is blank, I need to then get the value of the column 2.

  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,933

    Re: Difficult V Look up and if function together problem

    A slightly different approach, although judge's is shorter...
    =MAX(INDEX('Look up table'!D:D,MATCH(Sheet3!A4,'Look up table'!A:A,0)),INDEX('Look up table'!B:B,MATCH(Sheet3!A4,'Look up table'!A:A,0)))
    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
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Difficult V Look up and if function together problem

    Can this be done using combination of vlook up and If function??

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    this seems to work

    Please Login or Register  to view this content.

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    My original didn't work because I was using IFERROR and the Error didn't happen....

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    @Fdibbins - the new one is only slighty shorter than yours....I do like INDEX/MATCH.

  9. #9
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Difficult V Look up and if function together problem

    Excel_Help.xlsx

    okay now I am able to get the look up value on column 2, but the first v lookup on column 4 comes up as a Name error. Not sure what's going on. I've attached it here.

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    the Second VLOOKUP got messed up in the copy/paste.....it says Vlook not VLOOKUP

  11. #11
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Difficult V Look up and if function together problem

    I am so stupid . Thanks for being patient with me. Really appreciate the help

  12. #12
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    not a problem....I like the pilot error problems.....easy fix....have a great day....

  13. #13
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Difficult V Look up and if function together problem

    thanks for the rep points

+ 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. VLOOKUP Problem - Need Very Difficult Function I need!
    By soigroeg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2012, 06:20 AM
  2. Replies: 40
    Last Post: 06-13-2012, 02:35 PM
  3. Replies: 3
    Last Post: 06-12-2012, 04:01 PM
  4. a difficult problem
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2006, 02:19 AM
  5. Difficult Excel Problem
    By SpikeUK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2005, 07:31 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