I'm trying to come up with a formula to check whether a column where B='name' is empty or not. I'm using this formula if a cell is blank, add 50 points, if not, add 0 points.
I have the basic formula of =IF(ISBLANK(Sheet1!F8), 0, 50)
for a specific cell, but I want to query it for a name also.
Here's what I got so far and it's giving me an error:
=IF(ISBLANK(QUERY(Sheet1!F, "select D where lower(B)='jennifer'") F) ,0, 50)
EDIT
I'll explain the use a bit more to avoid confusion.
Sheet1 is taking information from a Google Form being used for a points system. The form asks for first name, last name, if they ran or volunteered for an event that month. There are individual sheets for each person who submits the form. The sheet "Jennifer" is the monthly and total points for her.
What I'm trying to accomplish is check whether or not "Jennifer" participated in an event that month. The cell is either blank if they didn't, or has the event name in it if they did. If so, add 50 points for that month. Thus, if name="Jennifer" AND month="January" and cell is NOT blank, add 50 points.
Current code is below, has no errors, but gives unwanted results:
=IF(ISBLANK(QUERY(Sheet1!A1:G, "select F where lower(B)='jennifer'and E='"&B1&"'")),0,50)