+ Reply to Thread
Results 1 to 10 of 10

Label a cell after VLOOKUP if conditions given are met

Hybrid View

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Label a cell after VLOOKUP if conditions given are met

    Being a basic excel user, I find this complicated but I'm hoping you could help me. The conditions are in the file and example provided to be more specific. Please see attached and kindly send back help on formula to apply.

    Thank you!

    Marqz
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Label a cell after VLOOKUP if conditions given are met

    What is the expected output of Row 119 since it is coming after won (Row40)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Label a cell after VLOOKUP if conditions given are met

    output should be "1st"... like the count has reset now as the last entry was Won

    thanks!

  4. #4
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Label a cell after VLOOKUP if conditions given are met

    Hi, I have recreated the conditions in the file; i really hope to get some help here. please see attached.

    In a gist, I want to find out how many times the company has attempted to register the project before it has finally won the project. I appreciate if someone could extend help. thanks!

  5. #5
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Label a cell after VLOOKUP if conditions given are met

    sorry forgot to attach the file... here
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Label a cell after VLOOKUP if conditions given are met

    Hello,

    Please check if the attached file is what you are looking for.

    The formula used is a ... 6 rows long Array formula, so when you edit / enter it, you will need to hold Ctrl-Shift and hit Enter. If you see the formula being wrapped inside a { } then you did it right.

    Note that there is no helper column (which is the main reason why it's such a long formula).

    I suggest you copy the formula on F2 of this sample, paste on F2 of your workbook and drag it down.
    Attached Files Attached Files
    Last edited by Lemice; 04-29-2013 at 12:33 AM.
    (copy pasta from Ford)
    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

    Regards,
    Lem

  7. #7
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Label a cell after VLOOKUP if conditions given are met

    Hi Lemice, yes that's what I want to achieve but why is it that when I copied the formula on actual file, instead of "Won", it appears as "0th"... I'm not sure if I get what you mean by "when you edit / enter it, you will need to hold Ctrl-Shift and hit Enter"... please elaborate, sorry...

  8. #8
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Label a cell after VLOOKUP if conditions given are met

    First, copy the formula on F2 on the sample file and paste to Cell F2 on your actual file.

    After that, click on that cell and look at the formula bar to see whether the formula is wrapped inside a { } or not.

    If not, click directly on the formula bar, then hold Ctrl-Shift and hit Enter.

    Check it again, it should be wrapped inside a { }. All you have to do afterward is drag the formula down to the end of your workbook, or copy it, select Cell F3 to the last row with data on Column F, and paste.
    Last edited by Lemice; 04-29-2013 at 03:29 AM.

  9. #9
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Label a cell after VLOOKUP if conditions given are met

    Got it Lem, this looks so complicated but solves exactly what I've been struggling to achieve for the longest time.

    THANK YOU LEM!!!

  10. #10
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Label a cell after VLOOKUP if conditions given are met

    Glad I could help.

    Have a great day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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