Sum formula

wonderd

Board Regular
Joined
Oct 20, 2013
Messages
168
Hey everyone I have a simple formula I'm having trouble getting to work.

Screenshot of the formula is here https://www.screencast.com/t/mp1lIes0hSlq

I only want to add cells with negative numbers if it has the word paypal or bkcd however its returning a 0 value

Correct output should be -4
 
Last edited:
Re: Help with sum formula

This works. Only one small modification. There will be positive number that also have text paypal. So need rule that this formula will only calculate negative numbers.
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Re: Help with sum formula

Which formula did you use?

You did not answer the questions. We may be able to provide a good answer if you provide clear examples and expected results.


Are the numbers in text cells always negative?
Are all numbers in text cells to be included?
What total do you require?
Are the numbers single digits?
 
Last edited:
Upvote 0
Re: Help with sum formula

Sorry I used this formula =SUM(SUMIF(B29:B32,{"paypal","bkcd"},A29:A32))

No the numbers are positive and negative.
Only negative numbers are to be calculated
The numbers are multiple digits.

The above formula worked find but just needs that variation to only calculate negative numbers.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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