Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default big formula?

I have a question about a formula:
cell AC7 has to have a formula that sound roughly like this:
if P7 <=3 then 0 else if P7 4 but =15 then P7*(G7*0.05), if P7 =16 but
<=30 then P7*(G7*0.06), if P7 =30 but <=365 then P7*(G7*0.07), P7 365 then
P7*(G7*0.07). In all cases (but if P7<=3) the minimum value must be 3
I have tried all I knew (which isn't much) but without success.... any
ideas?

Thank again for any help


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default big formula?

=IF(P7<3,0,MAX(IF(P7=30,IF(P7365,P7*G7*0.07,P7*G 7*0.07),IF(P716,P7*G7*0.0
6,IF(P7=15,P7*G7*0.05,"btwn 3 & <15"))),3))


Put in whatever calculation should be used for ,"btwn 3 & <15"

or restated what the conditions are.

--
Regards,
Tom Ogilvy



"antonov" wrote in message
.. .
I have a question about a formula:
cell AC7 has to have a formula that sound roughly like this:
if P7 <=3 then 0 else if P7 4 but =15 then P7*(G7*0.05), if P7 =16 but
<=30 then P7*(G7*0.06), if P7 =30 but <=365 then P7*(G7*0.07), P7 365

then
P7*(G7*0.07). In all cases (but if P7<=3) the minimum value must be 3
I have tried all I knew (which isn't much) but without success.... any
ideas?

Thank again for any help




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default big formula?

I have tried both ways but I don't get the right results... guess I'm doing
something wrong
"Tom Ogilvy" wrote in message
...
=IF(P7<3,0,MAX(IF(P7=30,IF(P7365,P7*G7*0.07,P7*G 7*0.07),IF(P716,P7*G7*0.0
6,IF(P7=15,P7*G7*0.05,"btwn 3 & <15"))),3))


Put in whatever calculation should be used for ,"btwn 3 & <15"

or restated what the conditions are.

--
Regards,
Tom Ogilvy



"antonov" wrote in message
.. .
I have a question about a formula:
cell AC7 has to have a formula that sound roughly like this:
if P7 <=3 then 0 else if P7 4 but =15 then P7*(G7*0.05), if P7 =16 but
<=30 then P7*(G7*0.06), if P7 =30 but <=365 then P7*(G7*0.07), P7 365

then
P7*(G7*0.07). In all cases (but if P7<=3) the minimum value must be 3
I have tried all I knew (which isn't much) but without success.... any
ideas?

Thank again for any help






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default big formula?

Apparently.

--
Regards,
Tom Ogilvy

"antonov" wrote in message
...
I have tried both ways but I don't get the right results... guess I'm

doing
something wrong
"Tom Ogilvy" wrote in message
...

=IF(P7<3,0,MAX(IF(P7=30,IF(P7365,P7*G7*0.07,P7*G 7*0.07),IF(P716,P7*G7*0.0
6,IF(P7=15,P7*G7*0.05,"btwn 3 & <15"))),3))


Put in whatever calculation should be used for ,"btwn 3 & <15"

or restated what the conditions are.

--
Regards,
Tom Ogilvy



"antonov" wrote in message
.. .
I have a question about a formula:
cell AC7 has to have a formula that sound roughly like this:
if P7 <=3 then 0 else if P7 4 but =15 then P7*(G7*0.05), if P7 =16

but
<=30 then P7*(G7*0.06), if P7 =30 but <=365 then P7*(G7*0.07), P7 365

then
P7*(G7*0.07). In all cases (but if P7<=3) the minimum value must be 3
I have tried all I knew (which isn't much) but without success.... any
ideas?

Thank again for any help








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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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