#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default IF's & AND's

--------------------------------------------------------------------------------

Hi,

Can anyone assist me with the following formula please?

=IF(AND(J9="Pass",K9="Pass",L9="Pass"),"Pass","Fai l")

This will basically say if cells J9, K9 and L9 have the value "Pass", then
M9 will say "Pass". If not, it will say "Fail".

I want to add an additional part that will say if J9, K9 and L9 are blank,
leave M9 blank.

How can I do this?

Thanks
Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF's & AND's

Try this

=IF(COUNTA(J9:L9)<3,"",IF(AND(J9="Pass",K9="Pass" ,L9="Pass"),"Pass","Fai l"))

Mike

"Dave" wrote:

--------------------------------------------------------------------------------

Hi,

Can anyone assist me with the following formula please?

=IF(AND(J9="Pass",K9="Pass",L9="Pass"),"Pass","Fai l")

This will basically say if cells J9, K9 and L9 have the value "Pass", then
M9 will say "Pass". If not, it will say "Fail".

I want to add an additional part that will say if J9, K9 and L9 are blank,
leave M9 blank.

How can I do this?

Thanks
Dave

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
Too many 'if's! Ben Mehling Excel Discussion (Misc queries) 4 May 11th 07 01:31 PM
Too Many If's Rianne Excel Worksheet Functions 10 March 22nd 07 08:13 PM
SUMPRODUCT with AND's and OR's? Ronny Hamida Excel Worksheet Functions 3 July 10th 06 10:57 PM
How many 'if's'? Lynneth Excel Discussion (Misc queries) 1 May 4th 06 03:59 PM
How many if's? Christopher Anderson Excel Discussion (Misc queries) 4 January 5th 05 03:16 PM


All times are GMT +1. The time now is 02:44 PM.

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"