Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple If, If part 2 (clarification)

Perhaps if I start over. If L <5, and either or not text in B,
then either "alert" or "OK" in K
First row, nothing in B , D thru J adds up to zero , therefor need "OK" in K
2nd row, nothing in B , D thru J adds up to 7, therefore need "Alert" in K
3rd row, text in B, D thru J adds up to zero, therefore need "Alert" in K
last row, text in B, D thru J adds up to 5, therefore "OK" in K

B D E F G H I J K
L OK 0
1 1 1 1 1 1 1 alert 7
Sun/Mon alert 0
Sat/Sun 0 0 1 1 1 1 1 OK 5

Much thanks,

Steve

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Simple If, If part 2 (clarification)

Ok, see if I got it now:

=IF(OR(AND(L1=0,LEN(B1)=0),AND(L1=5,LEN(B1)0)),"O K","Alert")

HTH,
Elkar


"Steve" wrote:

Perhaps if I start over. If L <5, and either or not text in B,
then either "alert" or "OK" in K
First row, nothing in B , D thru J adds up to zero , therefor need "OK" in K
2nd row, nothing in B , D thru J adds up to 7, therefore need "Alert" in K
3rd row, text in B, D thru J adds up to zero, therefore need "Alert" in K
last row, text in B, D thru J adds up to 5, therefore "OK" in K

B D E F G H I J K
L OK 0
1 1 1 1 1 1 1 alert 7
Sun/Mon alert 0
Sat/Sun 0 0 1 1 1 1 1 OK 5

Much thanks,

Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Simple If, If part 2 (clarification)

Hi

Something like this?
=IF((B2="")+(SUM(D2:J2)=0)=1,"Alert","OK")

Arvi Laanemets


"Steve" wrote in message
...
Perhaps if I start over. If L <5, and either or not text in B,
then either "alert" or "OK" in K
First row, nothing in B , D thru J adds up to zero , therefor need "OK" in
K
2nd row, nothing in B , D thru J adds up to 7, therefore need "Alert" in
K
3rd row, text in B, D thru J adds up to zero, therefore need "Alert" in K
last row, text in B, D thru J adds up to 5, therefore "OK" in K

B D E F G H I J K
L OK 0
1 1 1 1 1 1 1 alert 7
Sun/Mon alert 0
Sat/Sun 0 0 1 1 1 1 1 OK 5

Much thanks,

Steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple If, If part 2 (clarification)

Both Elkar's and Arvi's solutions worked great.
Thank you both so much.

Steve

"Elkar" wrote:

Ok, see if I got it now:

=IF(OR(AND(L1=0,LEN(B1)=0),AND(L1=5,LEN(B1)0)),"O K","Alert")

HTH,
Elkar


"Steve" wrote:

Perhaps if I start over. If L <5, and either or not text in B,
then either "alert" or "OK" in K
First row, nothing in B , D thru J adds up to zero , therefor need "OK" in K
2nd row, nothing in B , D thru J adds up to 7, therefore need "Alert" in K
3rd row, text in B, D thru J adds up to zero, therefore need "Alert" in K
last row, text in B, D thru J adds up to 5, therefore "OK" in K

B D E F G H I J K
L OK 0
1 1 1 1 1 1 1 alert 7
Sun/Mon alert 0
Sat/Sun 0 0 1 1 1 1 1 OK 5

Much thanks,

Steve

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 clarification LInda Excel Discussion (Misc queries) 9 March 31st 06 12:55 AM
Simple Question, display only part of a date in Number format DB Explorer Excel Worksheet Functions 6 March 17th 06 11:47 AM
Beyond VLOOKUP Clarification nebb Excel Worksheet Functions 2 July 3rd 05 10:30 PM
If function clarification jmcclain Excel Worksheet Functions 5 February 23rd 05 07:12 PM
If and Dates Clarification wal50 Excel Worksheet Functions 4 January 4th 05 06:31 PM


All times are GMT +1. The time now is 04:48 AM.

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"