Formula

sitelbanat

Board Regular
Joined
Oct 17, 2005
Messages
152
Does anyone know how to change this formula to subtract the inverse of of the value in E69:E82.

=COUNTIF(O69:O82,">0")+SUMPRODUCT(--(O69:O82>0),--(ISNUMBER(E69:E82)),E69:E82)
 
=COUNTIF(O69:O82,">0")-(1-SUMPRODUCT(--(O69:O82>0),--(ISNUMBER(E69:E82)),E69:E82))

HOW DO I CHANGE THIS FORMULA, TO +1 IF THE TOTAL VALUE OF E69:E82 <0.

IS IT AN AND FORMULA?
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I still get the same result.

All I need is if the total value of E69:E82 is <0 then add 1 to the total count amount, if not then dont do anything

=COUNTIF(O69:O82,">0")-(1-SUMPRODUCT(--(O69:O82>0),--(ISNUMBER(E69:E82)),E69:E82))

so this is correct so far, but I want to add another if statement to the formula at the end of it
 
Upvote 0
This is how I interpret your above post.

Is it what you need?

=IF(SUM(E69:E82)<0,COUNTIF(O69:O82,">0")-(1-SUMPRODUCT(--(O69:O82>0),--(ISNUMBER(E69:E82)),E69:E82)),"")
 
Upvote 0
Well, all I want to do is add to my formula which is below another IF statement at the end of it


=COUNTIF(O69:O82,">0")-(1-SUMPRODUCT(--(O69:O82>0),--(ISNUMBER(E69:E82)),E69:E82))

I want the if statement to total value of E69:E82 that are selected and if its <0 then add 1 to the total count amount, if not then dont do anything
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,314
Members
449,153
Latest member
JazzSingerNL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top