# sum

1. ### How to calculate a sum total based on certain criterias

Hello, I need help with a formula that can calculate the sum total based on a text in a cell. -I am addressing the Net Profit column (J). -Calculate the sum to be positive if Buy/Sell/Win/Lose (column C)) displays a BW or SW. -Calculate the sum to be a negative if Buy/Sell/Win/Lose displays a...
2. ### sbRoundToSum

sbRoundToSum Name sbRoundToSum - Calculate rounded summands which exactly add up to the rounded sum of unrounded summands Synopsis sbRoundToSum(vInput, [lDigits], [bAbsSum], [lErrorType], [bDontAmend]) Description sbRoundToSum calculates rounded summands which exactly add up to the rounded...
3. ### ExcelSum Column Containing numeric and alpha text

Hi, I am trying to create a sum formula that will sum a column which contains a mixture of numeric and numeric an text entries. I am using Excel 2016 and I have a column of financial figures, which I know I can use the =sum function to calculate the total of these figures, however, some of the...
4. ### Counting Unique Dates within a Date Range With One Critieria (with Photos)

Hello All! I'm trying to create a formula that counts the number of unique dates within a date range based on the type of item. I've tried several different formulas and researched ways to do it, but each formula was so specific to the poster's specific problem, that it did not work so I...
5. ### Text + SUM of cells decimals error

I'm working on a break list for my team at work. I want a very simple calculation to count the values in cells and return their number, with the text "currently on break: " in front of it. If I just use =SUM(C4:C16) it works perfect and returns me the number, but using ="Currently on Break...
6. ### Sum Frequency with Wildcard

Morning all, I've got a working Sum Frequency formula which counts unique matches. =SUM(--(FREQUENCY(IF((Driver!\$A\$2:\$A\$1973='Data Selection'!\$A\$1)*(Driver!\$G\$2:\$G\$1973="No"),MATCH(Driver!\$D\$2:\$D\$1973,Driver!\$D\$2:\$D\$1973,0)),ROW(Driver!\$D\$2:\$D\$1973)-ROW(OFFSET(Driver!\$D\$1,1,))+1)>0)) It works...
7. ### Group By SUM

Hello, I have very simple data, that I want to group by SUM As the uploaded image shows. My Data has 3 columns, first comes Index, Numbers then Group, which I want to fill according to specific limit cell H2. I started by summing like cumulative column, then divided the result by the limit and...
8. ### Sum up concatenation values

Hello, Is there any way to sum up the numeric values of concatenations? Example below. The data displayed in cells A2:D2 are a result of some concatenations. In cell E2 I would like to be able to sum up those concatenated values. In this case, E2 should come up as 137 days. Stipulations: I...
9. ### Sum Index Match with multiple matches

Looking at the below example, I'd like to be able to get the total hours of the individuals in column H by pulling their hours from Column E. Notice if there is more than one instance of someone's name, it only sums the first result. How might I be able to get the sum of a person's hours...
10. ### Rolling Average Ignoring Blanks

Hello, I'd like to find the 3 day rolling average of two columns while ignoring blanks. Looking at M7 it would be something similar to that formula but ignoring blanks in J and K while automatically finding the previous 3 non blank values. I've tried using offset, large, and various if...
11. ### Combine and Sum Lookups across multiple rows using an array formula

Hi, I need to convert several currencies across multiple rows into GBP by looking up a conversion table and then provide the sum in GBP. I haven't been able to come up with an elegant formula (an array type formula maybe) to keep it short and simple. for the SUM in GBP, I've got the...
12. ### PowerPivot CALCULATE SUM

Hi, would appreciate any help with this, I'm trying to do a calculate sum if in PowerPivot, example of how it workls in Excel below, but am unsure how to replicate in PowerPivot. Thanks in advance for any help. Gav.
13. ### HELP - Complex SUMIF - SUM of PRODUCTS of two cells IF another cell is within a specified date range

Hi all, I am new to this forum and so apologise if I have posted this to the incorrect thread, etc. What I am trying to do is quite simple in theory, but I cannot get a variation of SUMIFS, SUM and IF to do the job. The context is this: I am looking to create a resource for a client couple...
14. ### For every cell value that contains string, sum another cell

I am not sure the best way to describe this. I have a spreadsheet with the following headers: Date; Ticker; Transaction Type; # of Shares; \$ / Share; Cost Under transaction type, the cell will contain "Buy" or "Sell". I would like to make two additional headers that are "Sum of Buy"...
15. ### Pivot Table, Value criteria set to sum, hide zero's

I have a data source that deals with items going to customer on deposit. If they take one widget, there is a sale of 1, when they return the widget, there is a sale of -1. resulting in a Zero. I have attached a picture. Over hundreds of customers and thousands of transactions, we can be...
16. ### Need help to sum live data in 2 week increments.

My goal is to understand which two week increments of a marketing campaign were most/least effective. Column A: live data for a marketing campaign (leads generated) Column B: Sum up the live data up until 2 weeks after the start date of the campaign. After the 2 weeks is complete, I would...
17. ### SUMPRODUCT IF value equals

Hello, could you please kindly help me with the below, to make it so that it'd only consider values for the calculation if the corresponding value in column 'A' = "XX", and instead of specifying the range, sums up all the matched values in a given column? Please also note that values start in...
18. ### hh:mm:ss average problem

hello, I have data that present at hh:mm:ss eg 00:01:52 but when I try to average I get the DIV error and when I try to sum it comes out as 00:00:00 I have tried the different formatting but nothing changes.
19. ### SUM IF Duration Is Between Certain Values

Hi All! Could you please kindly advise as to how to sum duration values that fall between certain ranges? My custom format is set to [h]:mm and cannot be changed. Let me illustrate what I'm trying to do with an example. Columns A & B usually contain 9:00 & 17:30 respectively, however, at...
20. ### Find the combination that gives the minimum sum of squares

I have a number of vectors A,B,C,...etc as a pair of numbers such as below: x y 1 A 2 4 2 B 5 6 3 C 3 9 I want to list or at least find the combination that produces the minimum x^2 + y^2, by taking combinations by 2 or 3 vectors. I've tried solver unsuccessfully...

### This Week's Hot Topics

• Turn fraction around
Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
• TIme Clock record reformatting to ???
Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
• TextBox Match
hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
• Using Large function based on Multiple Criteria
Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
• Can you check my code please
Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
• Combining 2 pivot tables into 1 chart
Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...