Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Nested If Exceeding 7 Calculations

I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota (I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13 different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start. Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Nested If Exceeding 7 Calculations

It would helpful if we knew what calculations are to be done on what data!

"wilma2299" wrote:

I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota (I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13 different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start. Thanks!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Nested If Exceeding 7 Calculations

Thank you for responding so quickly! The calculations are as follows:

Let's say the profit was $57848 and the quota was $62500 making the
quota met 92%. This falls into the quota range of 90 - 94, and
therefore it would be calculated:
(57848*.95)+(57848*.475) where .95 and .475 change with every quota
range and I have 13 quota ranges. I really appreciate the
assistance!!



On Jun 13, 1:42 pm, Mike H wrote:
It would helpful if we knew what calculations are to be done on what data!



"wilma2299" wrote:
I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota (I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13 different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start. Thanks!- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Nested If Exceeding 7 Calculations

I should look where?

On Jun 13, 1:54 pm, "Don Guillett" wrote:
Look in vba help index for select case

--
Don Guillett
SalesAid Software
"wilma2299" wrote in message

oups.com...



I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota (I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13 different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start. Thanks!- Hide quoted text -


- Show quoted text -





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Nested If Exceeding 7 Calculations

On Jun 13, 2:32 pm, "Don Guillett" wrote:
You still didn't give too much info but this is the idea.

Sub selectcasevalues()
Select Case ActiveCell.Value
Case Is 94: x = 0.95 + 0.475
Case Is 100: x = 1.2 + 5
'etc

Case Else
End Select
ActiveCell.Offset(, 1) = Range("o11") * x
End Sub

--
Don Guillett
SalesAid Software
"wilma2299" wrote in message

ups.com...



I should look where?


On Jun 13, 1:54 pm, "Don Guillett" wrote:
Look in vba help index for select case


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


groups.com...


I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota (I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13 different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start.
Thanks!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Let me see if i can make it a little more clear. I have six different
regions. There are different tiers of quota's that when met,
calculate different bonus payouts for each region. Does that clear
up anything?

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Nested If Exceeding 7 Calculations

On Jun 14, 12:33 am, "Don Guillett" wrote:
Not really

--
Don Guillett
SalesAid Software
"wilma2299" wrote in message

oups.com...

On Jun 13, 2:32 pm, "Don Guillett" wrote:
You still didn't give too much info but this is the idea.


Sub selectcasevalues()
Select Case ActiveCell.Value
Case Is 94: x = 0.95 + 0.475
Case Is 100: x = 1.2 + 5
'etc


Case Else
End Select
ActiveCell.Offset(, 1) = Range("o11") * x
End Sub


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


roups.com...


I should look where?


On Jun 13, 1:54 pm, "Don Guillett" wrote:
Look in vba help index for select case


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


groups.com...


I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota
(I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13
different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start.
Thanks!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Let me see if i can make it a little more clear. I have six different
regions. There are different tiers of quota's that when met,
calculate different bonus payouts for each region. Does that clear
up anything?


Could;nt you use dcount ? Excel's in built help has some example.. how
i have done this in the past is to actually create a range of
criteria's specific to each if statement and use that in the formula..
it has some limitations though.. i will let you explore the help, ;-)

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Nested If Exceeding 7 Calculations

On Jun 13, 3:33 pm, "Don Guillett" wrote:
Not really

--
Don Guillett
SalesAid Software
"wilma2299" wrote in message

oups.com...



On Jun 13, 2:32 pm, "Don Guillett" wrote:
You still didn't give too much info but this is the idea.


Sub selectcasevalues()
Select Case ActiveCell.Value
Case Is 94: x = 0.95 + 0.475
Case Is 100: x = 1.2 + 5
'etc


Case Else
End Select
ActiveCell.Offset(, 1) = Range("o11") * x
End Sub


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


roups.com...


I should look where?


On Jun 13, 1:54 pm, "Don Guillett" wrote:
Look in vba help index for select case


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


groups.com...


I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota
(I'll
have 6 different quotas to be looked up), find that range and then
execute the calculation. I have 13 different ranges and 13
different
calculations corresponding. I read that I can use a lookup, but I
would rather write a macro, but I have no idea where to start.
Thanks!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Let me see if i can make it a little more clear. I have six different
regions. There are different tiers of quota's that when met,
calculate different bonus payouts for each region. Does that clear
up anything?- Hide quoted text -


- Show quoted text -


I guess we could start with just a macro that can execute a series of
13 if statement conditions...



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Nested If Exceeding 7 Calculations

You could but a select case macro is better. Suit yourself.
It seems that you do not need assistance enough to fully explain your need.

--
Don Guillett
SalesAid Software

"wilma2299" wrote in message
oups.com...
On Jun 13, 3:33 pm, "Don Guillett" wrote:
Not really

--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message

oups.com...



On Jun 13, 2:32 pm, "Don Guillett" wrote:
You still didn't give too much info but this is the idea.


Sub selectcasevalues()
Select Case ActiveCell.Value
Case Is 94: x = 0.95 + 0.475
Case Is 100: x = 1.2 + 5
'etc


Case Else
End Select
ActiveCell.Offset(, 1) = Range("o11") * x
End Sub


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


roups.com...


I should look where?


On Jun 13, 1:54 pm, "Don Guillett" wrote:
Look in vba help index for select case


--
Don Guillett
SalesAid Software
"wilma2299" wrote in
message


groups.com...


I'm trying to have a calculation executed, but it has more than 8
arguements. What I need is the following, given a certain quota
(I'll
have 6 different quotas to be looked up), find that range and
then
execute the calculation. I have 13 different ranges and 13
different
calculations corresponding. I read that I can use a lookup, but
I
would rather write a macro, but I have no idea where to start.
Thanks!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Let me see if i can make it a little more clear. I have six different
regions. There are different tiers of quota's that when met,
calculate different bonus payouts for each region. Does that clear
up anything?- Hide quoted text -


- Show quoted text -


I guess we could start with just a macro that can execute a series of
13 if statement conditions...


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
exceeding columns limit newyorkjoy Excel Discussion (Misc queries) 2 February 25th 07 01:29 PM
Exceeding the limit for Nested IFs Beard Excel Worksheet Functions 5 January 13th 06 06:12 PM
Exceeding 65,000 rows moglione1 Excel Discussion (Misc queries) 0 September 14th 05 02:45 PM
Data calculations require more than 7 nested functions F6Hawk Excel Worksheet Functions 4 November 9th 04 06:47 AM
Data calculations require more than 7 nested functions F6Hawk Excel Worksheet Functions 0 November 8th 04 04:18 PM


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