Solved Convert this excel formula to work in query (1 Viewer)

CJ_London

Super Moderator
Staff member
Local time
Today, 08:39
Joined
Feb 19, 2013
Messages
16,607
@Pat Hartman - you have a extra ) ;)

=IIF([BOOKED]="yes" OR [DELIVERED]="yes" OR [OUTSTANDING]="yes"),"Yes","")
 

Number11

Member
Local time
Today, 08:39
Joined
Jan 29, 2020
Messages
607
@Pat Hartman - you have a extra ) ;)

=IIF([BOOKED]="yes" OR [DELIVERED]="yes" OR [OUTSTANDING]="yes"),"Yes","")
STILL DOES NOT WORK

1642615711008.png
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 03:39
Joined
Feb 19, 2002
Messages
43,263
Did you remove the extra ")"?

Are you EVER going to tell us what data type we are working with?
 

Gasman

Enthusiastic Amateur
Local time
Today, 08:39
Joined
Sep 21, 2011
Messages
14,267
23 posts in and all we get is 'It does not work' :( :( :(

Upload a sample DB so someone can get it to work for you.
 

Number11

Member
Local time
Today, 08:39
Joined
Jan 29, 2020
Messages
607
Ill export it into excel and use my original formula thanks anyway
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 03:39
Joined
Feb 19, 2002
Messages
43,263
And we STILL do not know what datatype the fields are:(

It is really hard to help you @Number11 when you can't answer questions. If you read the text you quoted, you should see TWO questions. NOT just one. We've given you solutions for BOTH Boolean and sting values. One of them should have worked.
 

GPGeorge

Grover Park George
Local time
Today, 00:39
Joined
Nov 25, 2004
Messages
1,855
I'm going to hazard a guess. The OP doesn't KNOW what the datatype is, or even what is meant by the term, and rather than ask what that means, continues to ignore the question. It's a winning strategy in some situations, where ambiguity is acceptable.
 

Number11

Member
Local time
Today, 08:39
Joined
Jan 29, 2020
Messages
607
And we STILL do not know what datatype the fields are:(

It is really hard to help you @Number11 when you can't answer questions. If you read the text you quoted, you should see TWO questions. NOT just one. We've given you solutions for BOTH Boolean and sting values. One of them should have worked.
thanks this worked i had to rebuild the database and its all working now thanks so much for all your help
=IIF([BOOKED]="yes" OR [DELIVERED]="yes" OR [OUTSTANDING]="yes","Yes","")
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 03:39
Joined
Feb 19, 2002
Messages
43,263
I guess we can assume that the data type is text.

Glad your problem is solved:)
 

Users who are viewing this thread

Top Bottom