AND Function

I am trying to get a true or false return if a value is found in one column and a specific date is also found in the same row. However, any way I try, the AND function searches the entire column for each value independently. If both values are found in any row then it returns true even if they don't match in their respective rows.

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi Daniel,

    Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@getdone.se)

    I hope that helps!

    Be safe and have a fantastic week!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • I created a sheet and form that employees report to every day. Each submission includes their employee number and date. I am trying to create another sheet that I can use to verify that each employee reported on any given date.


    The function I am using now is =IF(AND(HAS({Covid Range 4}, [Employee #]2), HAS({Covid Range 2}, Date2)), "Reported", "Not reported"), however, this searches the employee number and date columns individually. Therefore, for example, employee 52 will show as reported even though the date is 5/9 instead of 5/11


  • I found that the VLOOKUP does what I want except it seems to stop at the first value it finds; it won't continue until it finds a match with the correct date.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!