Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default IF COUNTIF - Need Help with multiple criteria

Bob,
Thank you! Thank you!
--
Mary


"Bob Phillips" wrote:

Try this Mary

=IF(NOT(COUNTIF(D83:S83,"X")),"Y",IF(L83="X","P"," N"))

HTH

Bob

"Hmmmmm?" wrote in message
...
Let me explain what I am trying to do.
I have a row of cells D83:S83 on a form which identify work constraints.
When information is filled out (by others) it is with an X. What I am
trying
to do in cell T83 is identify if work can proceed or not ( with the IF
function - N=true or Y=false). If any cells have an "X", work cannot
proceed. I am using conditional formatting to turn the cell red for True
and
green for False. However...and this is where it gets tricky, if cell L83
has
an "X" it needs to be flagged differerently, but I am not sure how to do
this. I tried breaking the function out like so
=IF(COUNTIF(D83:K83,"=X")+COUNTIF(M83:S83,"=X"),"N ","Y") which works to
eliminate the data in L83, but now I don't know how to add this criteria
in
so that the formula will work. If L83 has an "X" I would like cell T83 to
reflect a "P" rather than a "Y" or "N".

I don't know if this is even possible.
Thank you
---
Mary


"Bob Phillips" wrote:

Looks like the wrong function.

When you say selected, what do you mean? It looks like you might just
want

=IF(L83="X","P","N")

HTH

Bob

"Hmmmmm?" wrote in message
...
I am trying to get this to work

=IF(COUNTIF(D83:S83,"=X"),"N","Y"),+IF(COUNTIF(L83 ,"=X"),"N","P")
so that if L83 is selected the result in the cell would be P.

Perhaps I am using the wrong function. Ideas anyone? Thank you.

--
Mary


.



.

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
Countif with multiple criteria Paige Excel Discussion (Misc queries) 7 March 12th 08 07:31 PM
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
COUNTIF() with multiple criteria Thansal Excel Discussion (Misc queries) 3 July 6th 06 04:46 PM
Multiple Criteria using countif calmo Excel Worksheet Functions 6 October 25th 05 08:33 PM
multiple criteria in a countif Jeff Excel Programming 1 June 29th 04 02:51 PM


All times are GMT +1. The time now is 03:35 PM.

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

About Us

"It's about Microsoft Excel"