Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
chiefnmd
 
Posts: n/a
Default Nested functions HELP!

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...This function works as I desire,
however I want to add a third option where S24 would =70 and M6/7. An error
occurs stating too many arguments enterd. Can some help me??
--
The Chief
  #2   Report Post  
Junior Member
 
Location: Washington, DC
Posts: 16
Default

The Chief,

I'm not sure what you're trying to accomplish here, and this may be usage I've never encountered before, but there are some parts of your formula that don't make sense:

1) You're multiplying C60 by a logical statement. In essence, you're taking the value of C60 * either TRUE or FALSE. This is fine in essence, but I don't think it's doing what you intend it to.

2) The second argument in your AND statement ("60") is always TRUE. 60 is always 60, so there's no reason to include it in a logical statement.

3) The result of the condition in your IF statement (based on the two above) is that your condition will ALWAYS give you M6/6 unless "50" is entered in S24.

4) Because of 3) above, there is no reason to include C60 in the formula. It serves no purpose.

From the looks of your formula, what you want it to do is multiply C60 by M6 divided by S24 divided by 10. If this is the case, use this formula:

=C60*(M6/(S24/10))

Let me know if I've misunderstood your intention.

Knightly

Quote:
Originally Posted by chiefnmd
=IF((C60)*AND(S24=50,60),M6/5,M6/6)...This function works as I desire,
however I want to add a third option where S24 would =70 and M6/7. An error
occurs stating too many arguments enterd. Can some help me??
--
The Chief
__________________
---
SirKnightly
  #3   Report Post  
chiefnmd
 
Posts: n/a
Default

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...
This is how the formula should read, but let me explain what is happening.

1)On a seperate worksheet it is determined that either 50, 60, or 70 hours
will be scheduled for a particular agent for a given week.

2)On 2nd worksheet C6 will be the amount of hrs that agent worked for that
day. It really does not matter if it is 1 hr or more since the individual is
a salary employee. Thus the need to determine how much each day's cost is for
the individual, given that if he works 5 days that week (50) or 6 days(60) or
7 days(70).

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...
C60 indicates the individual actually worked as scheduled.
S24=50,60 where S24 is the hrs scheduled for the individual.
M6/5 and M6/6 and M6/7 is salary divided by days scheduled thus getting a
dollar value for each day that is worked, and then reported .

Hope this is now clearer than mud.
The Chief


"sirknightly" wrote:


The Chief,

I'm not sure what you're trying to accomplish here, and this may be
usage I've never encountered before, but there are some parts of your
formula that don't make sense:

1) You're multiplying C60 by a logical statement. In essence, you're
taking the value of C60 * either TRUE or FALSE. This is fine in
essence, but I don't think it's doing what you intend it to.

2) The second argument in your AND statement ("60") is always TRUE. 60
is always 60, so there's no reason to include it in a logical
statement.

3) The result of the condition in your IF statement (based on the two
above) is that your condition will ALWAYS give you M6/6 unless "50" is
entered in S24.

4) Because of 3) above, there is no reason to include C60 in the
formula. It serves no purpose.

From the looks of your formula, what you want it to do is multiply C60
by M6 divided by S24 divided by 10. If this is the case, use this
formula:

=C60*(M6/(S24/10))

Let me know if I've misunderstood your intention.

Knightly

chiefnmd Wrote:
=IF((C60)*AND(S24=50,60),M6/5,M6/6)...This function works as I desire,
however I want to add a third option where S24 would =70 and M6/7. An
error
occurs stating too many arguments enterd. Can some help me??
--
The Chief



--
sirknightly

  #4   Report Post  
Biff
 
Posts: n/a
Default

See the replies by Sandy or Harlan.

Biff

"chiefnmd" wrote in message
...
=IF((C60)*AND(S24=50,60),M6/5,M6/6)...
This is how the formula should read, but let me explain what is happening.

1)On a seperate worksheet it is determined that either 50, 60, or 70 hours
will be scheduled for a particular agent for a given week.

2)On 2nd worksheet C6 will be the amount of hrs that agent worked for that
day. It really does not matter if it is 1 hr or more since the individual
is
a salary employee. Thus the need to determine how much each day's cost is
for
the individual, given that if he works 5 days that week (50) or 6 days(60)
or
7 days(70).

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...
C60 indicates the individual actually worked as scheduled.
S24=50,60 where S24 is the hrs scheduled for the individual.
M6/5 and M6/6 and M6/7 is salary divided by days scheduled thus getting a
dollar value for each day that is worked, and then reported .

Hope this is now clearer than mud.
The Chief


"sirknightly" wrote:


The Chief,

I'm not sure what you're trying to accomplish here, and this may be
usage I've never encountered before, but there are some parts of your
formula that don't make sense:

1) You're multiplying C60 by a logical statement. In essence, you're
taking the value of C60 * either TRUE or FALSE. This is fine in
essence, but I don't think it's doing what you intend it to.

2) The second argument in your AND statement ("60") is always TRUE. 60
is always 60, so there's no reason to include it in a logical
statement.

3) The result of the condition in your IF statement (based on the two
above) is that your condition will ALWAYS give you M6/6 unless "50" is
entered in S24.

4) Because of 3) above, there is no reason to include C60 in the
formula. It serves no purpose.

From the looks of your formula, what you want it to do is multiply C60
by M6 divided by S24 divided by 10. If this is the case, use this
formula:

=C60*(M6/(S24/10))

Let me know if I've misunderstood your intention.

Knightly

chiefnmd Wrote:
=IF((C60)*AND(S24=50,60),M6/5,M6/6)...This function works as I desire,
however I want to add a third option where S24 would =70 and M6/7. An
error
occurs stating too many arguments enterd. Can some help me??
--
The Chief



--
sirknightly



  #5   Report Post  
chiefnmd
 
Posts: n/a
Default

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...

In the above statement, C6 refers to a cell that if anything is there it
will Reference S24 which will be placed there by another sheet, depending on
if 50 hours, 60 hours or 70 hours are scheduled. At that point M6 which is a
$ amount is then divided by 5 or 6 or 7. Depending on S24 being 50 or 60 or
70. The above formula works well for the first 2 but once a third is added it
no longer works.
--
The Chief


"chiefnmd" wrote:

=IF((C60)*AND(S24=50,60),M6/5,M6/6)...This function works as I desire,
however I want to add a third option where S24 would =70 and M6/7. An error
occurs stating too many arguments enterd. Can some help me??
--
The Chief



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
limit of 7 nested functions? Olympiad Excel Worksheet Functions 3 May 28th 05 07:47 AM
Limited IF Nested Level functions. Skyscraper Excel Discussion (Misc queries) 1 April 8th 05 12:35 PM
how do I use multiple nested functions? TeeJay Excel Worksheet Functions 3 February 20th 05 05:09 PM
ENTER EXCEL FORMULA WITH MORE THAN 7 NESTED FUNCTIONS Linda Bolton Excel Worksheet Functions 2 January 14th 05 11:58 AM
Too many nested functions F6Hawk Excel Worksheet Functions 4 November 9th 04 04:38 AM


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