#1   Report Post  
Posted to microsoft.public.excel.misc
TD TD is offline
external usenet poster
 
Posts: 29
Default If Or statement help

Oh help!

What I want to do is find which jobs haven't been completed.

E to N holds different job categories and the contents of these cells could
be Yes Not complete or N/A or blank.

I tried this formula and got #value!

=IF(OR(E5:N5="Yes",E5:N5="N/A"),TRUE,FALSE)

I was then going to filter on False to see what work was outstanding for
each person in column D

Please help it is Friday and in since early and brain gone mushy!

Thank you

--
TD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default If Or statement help

=OR(COUNTIF(E5:N5,"Yes"),COUNTIF(E5:N5,"#N/A"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TD" wrote in message
...
Oh help!

What I want to do is find which jobs haven't been completed.

E to N holds different job categories and the contents of these cells
could
be Yes Not complete or N/A or blank.

I tried this formula and got #value!

=IF(OR(E5:N5="Yes",E5:N5="N/A"),TRUE,FALSE)

I was then going to filter on False to see what work was outstanding for
each person in column D

Please help it is Friday and in since early and brain gone mushy!

Thank you

--
TD



  #3   Report Post  
Posted to microsoft.public.excel.misc
TD TD is offline
external usenet poster
 
Posts: 29
Default If Or statement help

Hi Bob and thanks for responding,

Just tried it out, it works fine for the Falses where cells are either not
complete or blank but for the Trues where there are Yes and Not Complete in
the same row I would like it to return False.

Any way to do this?

Thanks again
--
TD


"Bob Phillips" wrote:

=OR(COUNTIF(E5:N5,"Yes"),COUNTIF(E5:N5,"#N/A"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TD" wrote in message
...
Oh help!

What I want to do is find which jobs haven't been completed.

E to N holds different job categories and the contents of these cells
could
be Yes Not complete or N/A or blank.

I tried this formula and got #value!

=IF(OR(E5:N5="Yes",E5:N5="N/A"),TRUE,FALSE)

I was then going to filter on False to see what work was outstanding for
each person in column D

Please help it is Friday and in since early and brain gone mushy!

Thank you

--
TD




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default If Or statement help

Try this.

=NOT(OR(COUNTIF(E12:N12,"Not Completed"),COUNTIF(E12:N12,"")))

"TD" wrote:

Hi Bob and thanks for responding,

Just tried it out, it works fine for the Falses where cells are either not
complete or blank but for the Trues where there are Yes and Not Complete in
the same row I would like it to return False.

Any way to do this?

Thanks again
--
TD


"Bob Phillips" wrote:

=OR(COUNTIF(E5:N5,"Yes"),COUNTIF(E5:N5,"#N/A"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TD" wrote in message
...
Oh help!

What I want to do is find which jobs haven't been completed.

E to N holds different job categories and the contents of these cells
could
be Yes Not complete or N/A or blank.

I tried this formula and got #value!

=IF(OR(E5:N5="Yes",E5:N5="N/A"),TRUE,FALSE)

I was then going to filter on False to see what work was outstanding for
each person in column D

Please help it is Friday and in since early and brain gone mushy!

Thank you

--
TD




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default If Or statement help

Do you mean just one (or more) Yes and one (or more) #N/A, or do you mean
all of E5:N5 is either Yes or #N/A?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TD" wrote in message
...
Hi Bob and thanks for responding,

Just tried it out, it works fine for the Falses where cells are either not
complete or blank but for the Trues where there are Yes and Not Complete
in
the same row I would like it to return False.

Any way to do this?

Thanks again
--
TD


"Bob Phillips" wrote:

=OR(COUNTIF(E5:N5,"Yes"),COUNTIF(E5:N5,"#N/A"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"TD" wrote in message
...
Oh help!

What I want to do is find which jobs haven't been completed.

E to N holds different job categories and the contents of these cells
could
be Yes Not complete or N/A or blank.

I tried this formula and got #value!

=IF(OR(E5:N5="Yes",E5:N5="N/A"),TRUE,FALSE)

I was then going to filter on False to see what work was outstanding
for
each person in column D

Please help it is Friday and in since early and brain gone mushy!

Thank you

--
TD








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
Help with IF Statement Cheryl B. Excel Worksheet Functions 3 November 3rd 05 09:40 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 12:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"