Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default I am having problems with a IF(AND(OR nested function

it all works except for H6=6,I6=6,J6=6,K6=6,L6=6 in each if
statement. Sometimes these cells are blank; therefore, there is no
calculation, but it must calculate if a number =6 is in this cell

=IF(AND(M629.9,F6<19),32*5,IF(AND(M629.9,F6=19) ,
30*5,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6,L6 =6),
39*S6,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6),
39*S6,IF(AND(M6<30,H6<6,I6<6,J6<6,K6<6),26*S6,0))) ))

Can anyone help me figure this out. Thank you so much in advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default I am having problems with a IF(AND(OR nested function

On Feb 23, 8:00 pm, "Debbie" wrote:
it all works except for H6=6,I6=6,J6=6,K6=6,L6=6 in each if
statement. Sometimes these cells are blank; therefore, there is no
calculation, but it must calculate if a number =6 is in this cell


=IF(AND(M629.9,F6<19),32*5,IF(AND(M629.9,F6=19) ,
30*5,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6,L6 =6),
39*S6,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6),
39*S6,IF(AND(M6<30,H6<6,I6<6,J6<6,K6<6),26*S6,0))) ))

Can anyone help me figure this out. Thank you so much in advance!


My problem is in cell H6, I6, J6, K6, L6 i need to calculate $39 x
how many cells have =6 or if it is <6 then it needs to multiply $26
X how many cells have <6 and then total (39*?)+(26*?) = total

Hope this makes sense!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default I am having problems with a IF(AND(OR nested function

My problem is in cell H6, I6, J6, K6, L6 i need to calculate $39 x
how many cells have =6 or if it is <6 then it needs to multiply $26
X how many cells have <6 and then total (39*?)+(26*?) = total


Going by the above, try:
=SUMPRODUCT(--(H6:L6=6),H6:L6*39)+SUMPRODUCT(--(H6:L6<6),H6:L6*26)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Debbie" wrote in message
ups.com...
On Feb 23, 8:00 pm, "Debbie" wrote:
it all works except for H6=6,I6=6,J6=6,K6=6,L6=6 in each if
statement. Sometimes these cells are blank; therefore, there is no
calculation, but it must calculate if a number =6 is in this cell


=IF(AND(M629.9,F6<19),32*5,IF(AND(M629.9,F6=19) ,
30*5,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6,L6 =6),
39*S6,IF(AND(M6<30,F6<19,H6=6,I6=6,J6=6,K6=6),
39*S6,IF(AND(M6<30,H6<6,I6<6,J6<6,K6<6),26*S6,0))) ))

Can anyone help me figure this out. Thank you so much in advance!


My problem is in cell H6, I6, J6, K6, L6 i need to calculate $39 x
how many cells have =6 or if it is <6 then it needs to multiply $26
X how many cells have <6 and then total (39*?)+(26*?) = total

Hope this makes sense!




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
Is anyone having problems with nested subtotaling in XP Excel Wyndhamc01 Excel Discussion (Misc queries) 3 September 14th 06 01:08 PM
Nested If problems BEEJAY Excel Worksheet Functions 7 June 23rd 06 04:47 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Experienced any problems with nested subtotals using Windows XP JJ Excel Worksheet Functions 0 September 8th 05 03:42 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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