• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I need to use the If statement and the VLOOKUP and match to find the correct answer.

Gerri

New Member
I have looked on the net but can not find what I am looking for
I need to use the If statement and the VLOOKUP and match to find the correct answerer. Can you help
This is my crude formula
If (F2:F11) has a 1, 2, 4
Then check to see if (G2:G11) =1
Then check to see if Date in (H2:H11) is not null
Then look at Column (I2:I11) if the date is null next to Date in Column (H2:H11)
Then check Column (J3:J11) =1
Then check Dates in (K2:K11) are (Less than or equal) <= the end of the Beginning Date in (L2) and End Date In (M2)
operating system Windows 10
 

Attachments

  • Excel question 2020 04 13.xlsx
    17.2 KB · Views: 7
Last edited by a moderator:
Gerri
Why You need to use the If statement and the VLOOKUP and match to find the correct answerer ?
Could there use any other way ( not those Your named functions ) to get the correct answerer?
... and what is Your expected the correct answerer?
 
Good Morning
If there is another formula to find the answer -- Could you help with that? I could use sort but that would take to long. I have about 50 of these to do with other data. I have a attached one that I sorted ---
 

Attachments

  • Excel question 2020 04 13.xlsx
    17.7 KB · Views: 2
  • Excel question 2020 04 14.xlsx
    181.3 KB · Views: 2
Gerri
What are Your expected the correct answerers?
... hmm?
... try to offer something
1) open this
2) look Sheet1
3) to 'solve' ... press [ Solve ]-button
4) to 'reset' ... press [ Reset ]-button
 

Attachments

  • Excel question 2020 04 14.xlsb
    189.7 KB · Views: 2
Last edited:
The answer should be 1
(F) = 1,2,4(G) = 1(H) = not null(I) = is null(J) = 1K
1110/05/1810/05/18110/05/191(F) = 1,2,4
1​
1​
1​
1​
1​
1​
1(G) = 1
0​
0​
0​
0​
1​
0​
1(H) = not null
0​
0​
0​
0(I) = is null
1​
1​
1​
1(J) = 1
0​
0​
0​
BeginEnd
0​
0​
0​
09/01/19​
12/31/19​
0​
0​
0​
1​
Total
0​
0​
0​
1​
1​
1​
1​
1​
1​
Answer Should be 1
 

Attachments

  • Excel question 2020 04 14.xlsx
    184.8 KB · Views: 3
Gerri
How it should be 1 if none of K-column won't be true?
... or of course, it could be 'true' if You change those dates every time!
... ... the original date was 10/05/18 ... hmm?
Did You check my sent file?
 
Im sorry I did not check your file --- It has a macro -- I dont know macros. I did change the date because it was in the date range of Begin Date 09/01/2019 and End Date of 12/31/2019. I am sending you the spreadsheet I am working on I have a list of Data Element that number 174 Colums and about 370 rows. In each of them I have to answer about 50 Questions. The first question is Count of unique records where
PIRL 808 (Eligible Migrant and Seasonal Farmworker Status (WIOA sec. 167)) = 1, 2, or 4
and PIRL 941 (National Farmworker Jobs Program (NFJP)) = 1
and PIRL 1001 (Date of First Basic Career Service) is not null and
PIRL 1200 (Date of First Individualized Career Service) is null
and PIRL 1300 (Received Training) ≠1 and
PIRL 901 (Date of Program Exit) is within the reporting period
Migrant and Seasonal Farmworker Status at National Farmworker Jobs Program Entry (WIOA sec. 167)National Farmworker Jobs Program (NFJP)Date of First Basic Career Service (Staff-Assisted)Date of First Individualized Career ServiceReceived Training (WIOA)Date of Program Exit (WIOA)
11 120171127
11 120190610Count of unique records where PIRL 808 (Eligible Migrant and Seasonal Farmworker Status (WIOA sec. 167)) = 1, 2, or 4
11
10/05/18​
10/05/18​
120190117and PIRL 941 (National Farmworker Jobs Program (NFJP)) = 1
31
08/01/17​
120180129and PIRL 1001 (Date of First Basic Career Service) is not null
11 120190610and PIRL 1200 (Date of First Individualized Career Service) is null
11 120190611and PIRL 1300 (Received Training) ≠1
11 120171024and PIRL 901 (Date of Program Exit) is within the reporting period
11 120180606Reporting Period
11
10/09/17​
120180523BeginEnd
11 120171002
07/01/19​
12/31/19​
11 120190701
11
01/03/18​
120180522
21 120180115
11
08/07/17​
120180524
11
09/19/18​
120181217
11
09/18/18​
120181115
11 120180802
11
11/21/17​
120180522
11 120171002
11 120170710
Reporting Period is Begin Date 07/01/2019 End Date is 12/31/2019 I have sent the report
 
Last edited:
Gerri
That file - sample
- needs to press [ Solve ] to see possible rows
- needs to press [ Reset ] to see all rows
No need to 'know' more ...

I moved those You above given ... to Sheet1 (2)
(( I changed dates to this format - to confirm that those are correct ))

> press [ Solve ] and You could see all steps results
after above is done
> press [ Reset ] to get normal view.

Your data has same features as always ... later more!
 

Attachments

  • Excel question 2020 04 14.xlsb
    27.6 KB · Views: 7
Back
Top