Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with Formula

I canot figure out why this won't work--the first fornula does not work, but
the second one does--I included both so that you could see what I have
changed

=SUM(IF(OR(F16="ca",F16="HBC"),(B42*9.5)*1.5,B42*9 .5))+G16*1.25+H16*1.25+E16/1.5)+IF(OR(F16="TT",C42/B42<7),C42*1.2,C42*1.05)+IF(F16="CA",C42*3.5)



This one works:



=SUM(IF(F14="ca",(B40*9.5)*1.5,B40*9.5)+G14*1.25+H 14*1.25+E14/1.5)+IF(OR(F14="TT",C40/B40<7),C40*1.2,C40*1.05)+IF(F14="CA",C40*3.5)



TIA




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Problem with Formula

On Mar 31, 6:43*am, "Steve M" wrote:
I canot figure out why this won't work--the first fornula
does not work, but the second one does [....]

=SUM(IF(OR(F16="ca",F16="HBC"),
(B42*9.5)*1.5,B42*9.5))+G16*1.25+H16*1.25+E16/1.5)
+IF(OR(F16="TT",C42/B42<7),C42*1.2,C42*1.05)
+IF(F16="CA",C42*3.5)

This one works:
=SUM(IF(F14="ca",
(B40*9.5)*1.5,B40*9.5)+G14*1.25+H14*1.25+E14/1.5)
+IF(OR(F14="TT",C40/B40<7),C40*1.2,C40*1.05)
+IF(F14="CA",C40*3.5)


Don't know what you mean by "works" and "won't work". But the first
formula has a syntax error: double right-parenthesis after the second
B42*9.5.

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
Formula Problem Paul Black Excel Discussion (Misc queries) 0 October 19th 09 12:41 PM
problem with the formula? Kat Excel Worksheet Functions 5 October 6th 09 07:06 PM
IF Formula problem Erika Renicker Excel Worksheet Functions 1 January 21st 09 08:34 PM
Formula Problem YB Girl Excel Discussion (Misc queries) 2 February 15th 08 09:44 PM
formula problem Kevin Excel Discussion (Misc queries) 1 April 13th 05 02:11 PM


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