#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default IF AND

If J2 = "to"

AND

If L2 = any alpha value and N2 = a blank cell (empty), then Y2 = 1

OR

If L2 = a blank cell (empty) and N2 = any alpha value, then Y2 = 1

OR

If L2 = any alpha value and N2 = any alpha value, then Y2 = 0.5


Can anyone kindly provide a formula for this? Thanks.

Bob

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default IF AND

Try

=IF(J2="To",IF(AND(L2<"",N2<""),0.5,IF(OR(L2<"" ,N2<""),1,"L2 & N2 both
blank")),"J2 < TO")


"bob" wrote:

If J2 = "to"

AND

If L2 = any alpha value and N2 = a blank cell (empty), then Y2 = 1

OR

If L2 = a blank cell (empty) and N2 = any alpha value, then Y2 = 1

OR

If L2 = any alpha value and N2 = any alpha value, then Y2 = 0.5


Can anyone kindly provide a formula for this? Thanks.

Bob

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



All times are GMT +1. The time now is 05:18 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"