+ Reply to Thread
Results 1 to 6 of 6

Do I use Vlook Up here & if so how?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 200 Mac
    Posts
    20

    Do I use Vlook Up here & if so how?

    I know nothing about Vlookup and everywhere I read it's about #'s so I keep getting beyond confused. Then I think maybe a list is what I need. Can one of you amazing Excel Guru's take a look at what I am sure is a simple way to calculate how many waves are in completed/In Progress/Not started by WaveID?

    I'd like to be able to do an array that will count how many waves by wave ID are within what status of running. See attached please:
    Attached Files Attached Files

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

    Re: Do I use Vlook Up here & if so how?

    Hello,

    VLOOKUP stands for Vertical Lookup, so Vlookup is mostly used to return a value basing on another value.

    For your problem, COUNTIF is fine, for example, paste this Array formula on F2
    =COUNTIF($C$2:$C$11,">"&TODAY())-COUNTIF($B$2:$B$11,">"&TODAY())
    Because it's an Array formula, you need to hold Ctrl-Shift and hit Enter to enter it. If it's wrapped inside a { } then you did it right.
    This formula will count how many Wave ID in progress.

    This Array formula on F3 will count Wave ID that's completed
    =COUNTIF($C$2:$C$11,"<="&TODAY())
    And this normal formula will count how many Wave ID that hasn't started
    =COUNTIF($B$2:$B$11,">"&TODAY())
    Edit: I'm pretty sure the formula on Column F in your sample file does the same job, and you got it from a [SOLVED] thread right?
    http://www.excelforum.com/excel-form...completed.html
    Last edited by Lemice; 04-27-2013 at 05:28 PM. Reason: editing formula.
    (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

  3. #3
    Registered User
    Join Date
    04-27-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 200 Mac
    Posts
    20

    Re: Do I use Vlook Up here & if so how?

    Hi there - thanks for your quick reply. Yes the previous thread helped me immensely. I had split out only one area of the spreadsheet thinking it would help me but with this spreadsheet I inherited (and can't change too much the layout) it's a little more complex. see attached as I've removed confidential details and this should paint a much clearer picture. I'm trying to figure out how to report:

    East has 2 waves in progress, 10 completed and 5 planned/not yet started
    West has """
    South West has ""

    The data is in columns repeated in the workbook. So i spent almost an hour copying and pasting links into a sheet to tabulate all this and thought there must be a quicker way to collect this information from the source sheet? I'm worried about repasting information that it might compromise. The source document actually has up to Wave 20 so you can imagine how much scrolling is required -not ideal but I can't change the layout "yet".

    Let me know if the format is something that can be worked at as is or if I do have to collect results into a separate sheet to run these #'s?
    Attached Files Attached Files

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

    Re: Do I use Vlook Up here & if so how?

    This table is confusing me ...

    So how do you tell East has 2 in progress, 10 completed and 5 planned / not yet started? From what I see East has a row, and in that row there's only 3 waves ID to check?

  5. #5
    Registered User
    Join Date
    04-27-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 200 Mac
    Posts
    20

    Re: Do I use Vlook Up here & if so how?

    Hi there,

    Right now it's strictly manual that I go an count by dates. I'm trying to figure out an IF formula that will return a status based upon the dates as follows:

    1. If the Graduation Date has passed then its "completed"
    2. If the Graduation Date has not passed then its "in progress"
    3. If the start date has not yet passed then it's "Not Yet Started"

    I'd have the formula to count across by the "Region". GTA East has 3 in progress, 2 graduated and 3 not yet begun.

    Is this at all possible? I am horrible at IF statements for more then 2 scenarios.

    Thanks so much Lem.

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

    Re: Do I use Vlook Up here & if so how?

    Hello,

    Please check if this sample file is what you are looking for.

    In this sample, East has 1 "In Progress", 2 "Graduated" and 0 "Not Yet Started", and here is why

    - For the 2 "Graduated", there are 3 cells in the same row as East that is not blank, under "Grad Date" column (Column I, M and Q) but 2 of them is smaller than TODAY() (M2 = December 20, 2012 and Q2 = January 23, 2013)

    - For the 0 "Not Yet Started", there are 3 cells in the same row as East, under "Wave" column (Column G, K and O) but non of them is greater than TODAY().

    - For the 1 "In Progress", I count the number of Wave column and minus the above.

    Note that I use COLUMN() to point out which column is what, so if you increase number of column between each Wave column, you will have to increase the number inside the formula.

    But first, let me know if this is what you are looking for.
    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)

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