+ Reply to Thread
Results 1 to 6 of 6

If, Vlookup and Concatenate all together in one formula?

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Linthicum, MD
    MS-Off Ver
    Excel 2013
    Posts
    52

    If, Vlookup and Concatenate all together in one formula?

    I'm trying to write a formula that will use vlookup and concatenate but look across two columns for the answer. If there is no answer in the first of the two columns then use the number in the second of the two columns.

    Attached is an example that should help. Please note that if, vlookup and concatenate may not be the best way to go about this, but in my beginner mode that's all I know.

    The attached is only showing one state, but there are many states so that is the reason for the vlookup.

    Thank you. This website and it's contributors have helped me tremendously in my job.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-30-2013
    Location
    Wales
    MS-Off Ver
    Excel 2013
    Posts
    231

    Re: If, Vlookup and Concatenate all together in one formula?

    In Sheet 'DSS' B3 formula enter =C3&E3 and copy it down.
    This gives the Vlookup something to look for,

    Chris

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: If, Vlookup and Concatenate all together in one formula?

    =INDEX(DSS!F$1:F$4,MAX(IF(DSS!C$3:C$4=C4,ROW(C$3:C$4))*IF(DSS!E$3:E$4=Tracker!E3,1,0)))

    maybe try that in E4 of your tracker sheet.

    It's an array formula so needs to be confirmed with ctrl+shift+enter.

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: If, Vlookup and Concatenate all together in one formula?

    Hi
    See solution attached (hope I understood you correctly).
    Good luck.
    Tony
    Attached Files Attached Files

  5. #5
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: If, Vlookup and Concatenate all together in one formula?

    Hello Totally,

    am not sure concatenate would work here.

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


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

    I've used the max function assuming that one of the columns (F&G on DSS) will always be blank or zero.

    And that the names in column C are unique, i.e. no repeats.

    Cheers
    <-- If you're happy & you know it...click the star.:-)

  6. #6
    Registered User
    Join Date
    02-29-2012
    Location
    Linthicum, MD
    MS-Off Ver
    Excel 2013
    Posts
    52

    Re: If, Vlookup and Concatenate all together in one formula?

    Thank you all so much. This was very helpful and answered my question.

+ 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. Is this Concatenate/vlookup formula possible?
    By WWSL14 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-25-2013, 09:45 AM
  2. [SOLVED] Using VLOOKUP and CONCATENATE within an IFERROR formula
    By mowens74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2013, 12:24 PM
  3. If, Vlookup and Concatenate in Same Formula
    By fixsecscwgfl in forum Excel General
    Replies: 2
    Last Post: 09-17-2011, 03:28 AM
  4. VLOOKUP with CONCATENATE
    By johnjohns in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-19-2011, 07:59 AM
  5. If, vlookup, and concatenate all in the same formula
    By punter in forum Excel General
    Replies: 5
    Last Post: 05-23-2007, 08:33 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