# Help with an Excel formula to subtract only when certain conditions apply.

1. ## Help with an Excel formula to subtract only when certain conditions apply.

If Column "M" is over 200, Column "M" is split in 1/2 adding Column "J" in Column "N" and 1/2 in Column "O".

My problem is that in Column "O" when "M" is split, I get the negative value of "I" with the current formula in "O". what I have currently is =IF(\$L263>200,\$M263/2,0)-I263

How can I do a formula in Column "O" that will subtract "I" only when "M" is over 200 as it does in the second row?

In the image below, the first & third rows "M" being < 200 I am getting the negative number.

I am guessing there is a way to do this, but I don't understand formulas enough to figure this out.

Thanks!

[/FONT]

2. ## Re: Excel formula help?

Welcome to the forum.

Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1