#1   Report Post  
Asta
 
Posts: n/a
Default wrong syntax

Im trying to do something like this but i havent gotten the right syntax
if c:4 is 300 and <400 subtract 43 and multiply by .36
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

2 possible solutions - the first one returns an empty string (or any other
result on your choice), when conditions aren't filled, the other returns 0
in this case:
=IF(AND(C4300,C4<400),(C4-43)*0.36,"")
=AND(C4300,C4<400)*(C4-43)*0.36


Arvi Laanemets


"Asta" wrote in message
...
Im trying to do something like this but i havent gotten the right syntax
if c:4 is 300 and <400 subtract 43 and multiply by .36



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
I get wrong dates when i paste from a different sheet into a new s mmollat Excel Discussion (Misc queries) 2 January 6th 05 07:35 PM
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
Previous Post - Correct Syntax Query Clarence Crow Excel Worksheet Functions 0 December 7th 04 05:35 AM
Logic statement returns wrong answer. Tony Excel Worksheet Functions 2 December 2nd 04 05:07 AM
IF function displays wrong amount JAnderson Excel Worksheet Functions 4 November 6th 04 06:41 PM


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