+ Reply to Thread
Results 1 to 4 of 4

[SOLVED] Formula that will give me output "Complete" and "Ongoing" based on lookup value

  1. #1
    Registered User
    Join Date
    10-11-2019
    Location
    Prague, Czech Republic
    MS-Off Ver
    Office 365
    Posts
    16

    [SOLVED] Formula that will give me output "Complete" and "Ongoing" based on lookup value

    Hello everyone.

    I'm trying to create a formula that will give me two different outputs - "Complete" or "Ongoing" - based on the presence of a specific value in the lookup cell.

    So far this is what I was able to make up:


    =IFERROR(IFS(VLOOKUP(C9,RawData!A:A,1,FALSE),"Ongoing"),"Complete")
    What happens now is that is running the formula and outputs "Complete" when the value is present, but if I switch the order of "Ongoing" and "Complete" in the formula, it always shows "Ongoing" even when the lookup value is absent.


    I need it to look for the value of the cell C9 (on worksheet1) on column A (on worksheet 2). If the value it's present, I need it to display "Ongoing". If the value is absent, I need it to display "Complete".


    What am I getting wrong?

    Thank you guys in advance for the help!
    Last edited by mgnab; 10-23-2019 at 05:43 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Formula that will give me output "Complete" and "Ongoing" based on lookup value

    How about
    =IF(ISNUMBER(MATCH(C9,RawData!A:A,0)),"Ongoing","Complete")

  3. #3
    Registered User
    Join Date
    10-11-2019
    Location
    Prague, Czech Republic
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Formula that will give me output "Complete" and "Ongoing" based on lookup value

    That did the trick!

    Thank you very much!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Formula that will give me output "Complete" and "Ongoing" based on lookup value

    My pleasure & thanks for the feedback

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2017, 05:14 PM
  3. [SOLVED] Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-07-2017, 12:28 PM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. [SOLVED] Code that copies row of data to another sheet based on text "Complete"/"Delete"
    By Dremzy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-20-2014, 05:51 PM
  6. Replies: 2
    Last Post: 04-20-2014, 11:18 AM
  7. Replies: 3
    Last Post: 10-25-2005, 07:05 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