+ Reply to Thread
Results 1 to 9 of 9

Using If and Vlookup [Properly Terminating Function Q]

  1. #1
    Registered User
    Join Date
    10-18-2014
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    5

    Question Using If and Vlookup [Properly Terminating Function Q]

    Hello there guys!

    Can anyone please help me with this one? Here is a sample spreadsheet that I am working on.

    I don't know why. But, seems like I am missing something here.

    The Q's_Database is a collection of all the Q's (Q1, Q2, Q3, Q4)

    I just need to check if the Campaigns that are in the "checker" are or is existing in the DB or not.

    So, I used Vlookup. Is there any other way where I can use a formula and as to where it is more effective for this task.

    I might've been using the wrong function or maybe it's just how I used / combined / terminate the function or just how I use " ) ".

    QUEUE CHECK [ OPTION 1 ]

    =IF(D2="harvesting","Harvesting",IF(D2="sent","Sent",IF(D2="ready to be sent","Send Me",IF(D2="harvesting complete","Harvesting Complete",IF(D2="Complete","Complete",IF(D2="building list","not ready",IF(D2="ready",VLOOKUP(C2,'Q''s_Database'!B:B,1,0))))))))

    Queue Check 2 [OPTION2]

    =IF(D2="harvesting","Harvesting",IF(D2="sent","Sent",IF(D2="ready to be sent","Send Me",IF(D2="harvesting complete","Harvesting Complete",IF(D2="Complete","Complete",IF(D2="building list","not ready",IF(ISNA(VLOOKUP(C2,'Q''s_Database'!B:B,1,0)),"Queue Me","Set Me Up")))))))

    If D2 = ready; vlook it in Q's DB and tell me if campaign exists,

    IF yes, "Set Me Up"
    If not, "Queue Me"

    ------------
    Please ask away for any questions.

    Thanks!

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Upload your file to here.

    ViewPic
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    10-18-2014
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    5

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Thank you for the reply Sir!

    I just downloaded the attached file from here. https://docs.google.com/spreadsheets...gid=2131547942

    I am not pretty sure if the formula's would worked as they may from Google Spreadsheet > Excel.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Would this give you what you need...

    Please Login or Register  to view this content.
    Thanks,
    HangMan

    You can say "Thank you!" by clicking Add Reputation below the post.
    Please, mark your thread [SOLVED] if you are happy with the solution.

  5. #5
    Registered User
    Join Date
    10-18-2014
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    5

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Pelase take a look at this Sir HangMan.

    https://docs.google.com/spreadsheets...gid=2131547942

    Column C has your formula.

    C13 - C15 is already in the Q's Database. It should display as "Set Me Up".

    ** To the Mods; I do hope this doesn't spoil the forum since I keep on referring the members to the Google Spreadsheet instead of a Excel Workbook.

    Please inform me if I am sort of not following any of the rules.

    Thank you!

  6. #6
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Hi Jay,

    That's because on your actual worksheet you said "Queued" rather than 'Set Me Up'

    These Campaigns needs to be checked if they already exist on the Q's Database. If Campaigns that are set as "ready" in this tab are existing in either Q's, it should give me a message like "Queued"; else, "Queue Me"
    so all you need to do, in Excel at least is change the formula to:

    Please Login or Register  to view this content.
    It is working in Excel (see attached), but seems perhaps not in Google Docs? I'm not familiar with Google Docs, as in I don't use it, so unsure of the differences between the two.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-18-2014
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    5

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Yes Sir! That's one,

    The thing is, in your supplied formula, it indicated IF(MATCH(C2,'Q''s_Database'!$B$2:$B$64,0)

    which should be IF(MATCH(C2,'Q''s_Database'!$B$2:$B$68,0)

    Match.. This would be the first time that I would be using this function. hahaha! uhm.. I don't fully get as to why use match.. how it is used in this scenario.. does it mean that it would look for the precise match? and that vlookup is not that accurate in pinpointing values?

    ---

    Thanks Sir!

    A + for you !

  8. #8
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Using If and Vlookup [Properly Terminating Function Q]

    Sorry, that's because I removed the blank rows in your sheet when I was testing, just change to $B$68...

    I tested it in Google Docs and all seems to work...

    MATCH simply checks to see whether or not a value is in a range, using '0' at the end will test for an exact match...

    Hope that helps...

  9. #9
    Registered User
    Join Date
    10-18-2014
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    5

    Re: Using If and Vlookup [Properly Terminating Function Q]

    No need to apologize Sir! Relax! ^^

    All is well.. Thank you again for helping a newbie like me.. and till next time!

    Paalam!

+ 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 Not Working Properly
    By Cremorneguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2014, 03:09 PM
  2. [SOLVED] Find String Loop not Terminating Properly
    By Doug Nguyen in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-18-2014, 11:02 AM
  3. Vlookup Not Working Properly
    By trotm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2014, 08:29 AM
  4. vlookup not working properly
    By moley165 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-10-2013, 05:03 AM
  5. VLOOKUP() not working properly
    By ckgeary in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2013, 01:32 PM
  6. vlookup function not working properly
    By carlosgdlf in forum Excel General
    Replies: 1
    Last Post: 03-05-2009, 03:24 AM
  7. Vlookup not working properly
    By Jaime in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-21-2006, 05:00 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