Forum Discussion
hmwepp1989
Aug 20, 2022Copper Contributor
Vlookup with IF Statement - return yes if cell is filled
Hi all!
I have a sheet which tracks a process with several stages.
This contains a username in the first column, and then several columns where dates are populated when each stage of the process is complete.
E.g
User: iurhgirhg Stage 1: 10/08/2022 Stage 2: 15/08/2022 Stage 3: blank as not completed
I am building a search function on another sheet to provide an overview of the current status.
So I want to lookup using that username, and then if there is a date in the relevant cell return "Yes" into my search function. I.e. to answer the question 'Is this stage complete for this user' yes or no.
If there is no data in the cell yet it means that stage isn't complete, so it would return "No"
Any help appreciated!
- Riny_van_EekelenPlatinum Contributor
Perhaps the attached file will help you do something similar on your own file.
- hmwepp1989Copper ContributorThis is very helpful. Though in mine I do not have a stage input, so I would effectively like to lookup based on a certain column in the raw data.
So say if date is in column P for this username return yes, if not return no. I suppose I could add the stage but that would also have to pull from the other sheet and would need another formula to determine what stage it's at depending on which column has been filled in.- hmwepp1989Copper ContributorJust to add - I know this is wrong but it's the thing I thought would be along the right lines:
=if(VLOOKUP(G8,'raw data'!A1:P20500,16,FALSE),ISBLANK('raw data'!P:P),"No","Yes")