# Formula That I Can Add, Subtract, Divide, Average, Etc, Etc These Numbers

Jun 19, 2008

Imagine I have cells A1 to A5 with a sequence of "numbers" like this:

A1 = 50-55
A2 = 45-67
A3 = 56-90
A4 = 49-80
A5 = 51-55

The left hand side numbers represent a score a minus sign (-) to separate and the right hand side represent another score. I want a formula that I can add, subtract, divide, average, etc, etc these numbers.

If I want to add the left hand scores, for example, cells A1 to A3, sum would be 151 (50 + 45 + 56).

## Formula To Add Row Of Numbers And Then Subtract If From Another Cell Amount

Dec 1, 2013

I have a row A through N. In cell A1, have a dollar amount. In cells C1 through N1, I have different dollar amounts. In cell O1, I want to have a formula that will take the dollar figure in A1 and subtract from that amount the total of all the amounts in cells C1 thorugh N1. But I don't know how to write that formula.

Let's say I've got \$100 in A1, and then in C1 through N1, I have \$2, \$3, \$4, etc. for a total amount of \$94 in cells C1 through N1. I'd like to have a formula in O1 that would show \$6.

How to write up that formula in cell O1.

## Formlula: Subtract Largest Number Then Average

Oct 10, 2009

I am trying to subtract the highest number from a row of numbers then find the average for the remaining numbers in Excel 2003, as: =SUM(B2:E2)-MAX(B2:E2)AVERAGE(B2:E2).

## Formula To Average Numbers Leaving Out Blank Cells

May 26, 2009

Here is the formula I am using however it interprets the blank cells as 0% and includes it in the average. To make it more difficult there will be some 0%'s.

## Sum And Divide Three Different Sets Of Numbers To Get One Answer

Dec 16, 2013

I have three different sets of numbers on a r12m that I have to add and divide by different numbers and not quite sure I have the formula right as when I do it manually on a calculator it comes out different.

The formula I have put together is

=sum(O4:z4)/10)+(sum(o5:z5)/200)+(sum(06:z6)/1000)

This is the three rows of data

221121
2333443201142
402448314034292331351663

Using the formula above the result is 0.81 but if I do it manually on a calculator it is 1.6 (by doing each line individually and adding results)

## Add Two Numbers And Divide The Result By Another Number

Oct 5, 2007

I have a simple formula that adds two numbers and divide the result by another number

K1: SUM(E1,F1) / H1
K2: SUM(E2,F2) / H2
K3: SUM(E3,F3) / H3
K4: SUM(E4,F4) / H4
K5: SUM(E5,F5) / H5

etc, etc

and then I average the results

AVERAGE(K1:K5)

etc, etc

When H1, H2, H3, etc is 0, it generates a #DIV/0! (since you cannot divide by 0)

I want a formula that I everytime a H1, H2, H3, etc is 0, I want to set it to a specific number H1, H2, H3, etc to 15.00

For example:

IF (H1 = 0, 15.00, sum(E1,F1) / H1)

If the number provided (H1) is 0, set it to 15.00, otherwise add the two numbers (E1, F1), and divide this result by the number provided (H1)

But this is where the problem is:

In every single cell that I have NOT yet provided information, it treats the BLANK cells as if it was 0, and has set every single cell to 15.00.

## Divide Cells With Numbers & Signs

Dec 21, 2007

i want to divide eg. >53/>12 but i get #value! error. i have huge columns full of is so i dont wanna so 53/12 kinda thing 1000 times. whats the formula i need to use?

## Divide All Numbers In Pivot Table By Certain Number?

Jun 22, 2012

How could you divide all numbers in a pivot table by a certain number?

## Count Number Of Rows That Have Numbers And Divide Sum Of Cells

Jun 30, 2009

I have a 52 (one for each week) page workbook. I am trying to average cell J9 for the entire 52 pages. However the information is not added to the cell until the end of the week so week 30-52 all have 0s and should not be counted in the dividing number. Is there a way to have Excel count the number of cells that have a number (not 0) and divide the sum of the cells but that number.

=(WK1!J9+.....WK52!J9) / (counted number of cells not = 0)

## Subtract Value In Column A If Between Two Numbers

Jul 30, 2014

I'm working on a budget and financial calculator

I've already got it set up to calculate my pay and deduct taxes and all my bill and tell me how much I have left at the end of the month, now I am trying to get it set up to tell me how much will be left out of each check I get based on what day my bills are due.

Essentially what i want is I7 is the cell for my first check of the month and K7 is my second check, Column H shows my due dates for each bill, column A is the price on each bill so what i want is something that is similar to.

If the value if column H is between 5 and 19 then deduct the price in column a from I7 (with H and A being the same row) and if the value of column H is 1-4 or 20-31 then deduce the value in column A (with H and A being the same row) from K7.

Another way to put it would be I7 gets deducted the value in column A if column H is between 4-19 otherwise do nothing (with H and A having same row) deduct the value in Column A from K7 if column H is between 1-4 or 20-31 otherwise do nothing.

## How To Add And Subtract Using Letter And Numbers

Feb 9, 2014

I am looking to be able to compare a number with a letter so for example 4c and compare it with another 5c and in that scenario see a difference of 1 but when the two to be compared are 4c and 4a it would see 0.6.

in this excersize

A=0.33333R
B=0.33333R
C=0.33333R

it is basically sub category of the initial number so an A is better than a B and in tern a B is better than a C

for example

Targeted Working At Residual
4c 4b 0.33333r
5a 4c -0.33333r
4c 5c 1
4c 5a 0.33333r
5c 3b -1.66666

so on and such forth the number and letter can be entered into seperate fields the lettering are only A,B,C but numbers can range from 1-9 i am normally quite ept with excel but this is out of my depth

## Average Column Of Cells But Ignore Errors And Return Average Of Numbers That Are There

Jun 14, 2013

E11 through E24 contains numbers and a few errors (#N/A) that need to persist (the errors need to show).

E10 needs to show the average of the numbers that are in E11 through E24, and just ignore the errors.

I have many columns like that - where the errors need to show and I need to show an average of the number/values that do appear, ignoring the errors.

## Add And Subtract Numbers With No Carry Or Borrow

Nov 17, 2008

I want to input pick 3 (3 numbers) into a cell and with the assigned SUM to that cell to add +123 to the 3 numbers I input, but how do I get the answer not to carry over?

For pick 3 games, the numbers are; 0,1,2,3,4,5,6,7,8,9 (ten total).

When I add +123 to 987 I get 1110. I don't want that. I would like it to show 010 instead, lotto numbers no carry over.

## Subtract Series Of Numbers From Array

Dec 4, 2012

How can I subtract a series of numbers from an array. example.

Code:
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T

13
14
25
26
37
39

[Code] ......

=ABS(1-B2) C2,D2,E2,F2 AND G and after start again with =abs(2-B2:G2)

I want to know how to do this for example until 60, I mean 60 minus the row B:G

## Subtract Positive And Negative Numbers

Sep 14, 2009

IF formula.

I am trying to subtract 2 numbers, and they are 4 different combinations of positive and negative numbers.

I wrote the formula as
=IF(A5*B5>0,IF(AND(A5*B54,458 2,367 (322)FALSE(1,277)1,751 FALSE

## Subtract Number From Column Of Numbers

Oct 4, 2006

I have data on A1 to A100. How can I subtract a same number (for example 10)from each cell of A1:A100?

## Formula To Avoid Divide By Zero

Jul 20, 2006

in column E i need to add a formula:

=(\$C2 - \$B2)/\$C2

And i would be extending it to the rows below.
Now, obviously, if C2 contains a 0, it gives a divide by 0 error. How to modify the formula which makes it valid only if C2!=0(not equal to 0)

## Subtract Negative Numbers Within Pivot Table Data Field

Jul 6, 2009

Ive attached a spreadsheet showing what im trying to achieve. basically i have a scheduling objective, in which only a few slots (AA, BB, CC) are available. so the starting availability is fixed. for this example assume the starting values are 6,7, and 8 respectively. as 'bookings' are entered, im using the value of -1 against A, B, or C respectively, to indicate that AA, BB, or CC should be decreased by 1 unit of availability.

im trying to incorporate the subtraction within a pivot table. as you can see i am way off. the hypothetical formula logic that im trying to implement within the PivotTable would look something like this:

for A,B or C, sum all (-1) values for each instance of Date and Stage... this will give total bookings

add this total value to the starting values of AA, BB, CC respectively to get the new availability

## Function/Formula To Divide 2 Different Ranges & Add Them

Sep 13, 2006

I am familiar with the SUMPRODUCT function, but is there a similar function that will divide the cells of two columns and then add them together?

## Formula To Divide Number And Format If Greater Than 100?

Feb 10, 2014

I need a formula that will divide a number and if the answer is greater than a 100 then blank.

i've been using this =IFERROR(SUM(H4/C4,"",IF(K4>100,""))) but no luck.

## Formula For Subtract I62 From I62 Only If F62 Contains P/UT?

Dec 28, 2013

I need a formula to do the following

Subtract I62 from I62 only if F62 contains P/UT and put answer of subtraction in L62.

Cells are in Time format

## Average Numbers In Table Containing Numbers And Letters?

Jan 27, 2012

I have a spreadsheet wtih a number of rows that contain answers to different criertia in each column.

The row may therefore have cells that either have numbers or letters.

Column A will be the title of the row.

I want to write a function to find the average value of the numbers in any row with title 'x'.

So it would look down column A, and look for those called 'x', and then average all the numbers across all those rows.

I have tried to use =averageif, but I think the fact there are letters in the cells being assessed (which I just want to be ignored) creates an error.

## Subtract Some Data With Formula

Nov 15, 2012

I have travel data for hundreds of cars. Col A has the car ID number. Col B has the date. Col C has the distance of a journey. Column D, has the total distance traveled on a given date for a given car.

In Column E, I'm trying to calculate the remaining distance to travel "prior" to the journey being made.

I a have attached an example. [URL] ....

So in column E, prior to the first journey (9km) being made there is 19 km still to travel in the data. And for the second journey the is 10 km left to travel.

## Formula To Subtract A Number Per Day

Aug 5, 2009

I needa formular that will subtract a number per day, for example as one day passes you can set the amount of number to be taken away from the total.

## Formula To Subtract A Value From A Cell

Oct 26, 2008

I need a formula that will subtract a value entered in A3 from a valued entered in A2 to be displayed in A1.

Also...the Value displayed in A1 must be the value of A2 minus the running total in A3.

Ex...If I type '10' in A2 and type '3' in A3 the value shown in A1 must equal '7'. If I then type '2' in A3 the new value in A1 must equal '5' (this being the value in A2 of '3+2' minus from the original value in A2 of 10)

So..A2 = inputted value , A3 running total of inputed value, A1 differnce of A3 from A2.

Is this even possible? The whole idea is this....if you type a number into a calculator, and then subtract a number from the first number, the calculator then displays the new total. If you then subtract an number from that NEW total, the calculator then displays that NEW total. Thats what I'm trying to re-create in excel.

## Formula: Subtract The Values

Dec 1, 2009

Need a formula that will subtract the values in X:Z subtracting the lowest value from the second lowest, then using that value and subtract from the 3 value. The outcome will always be positive and range from 0-9. Expected results are in Col AA. Then I need an adaption of that formula to read a 3-digit value in one cell.

******** ******************** ************************************************************************>Microsoft Excel - CASH 3 MID MOSTLY.xlsx___Running: 12.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutW1=WXYZAA111/30/094774211/29/099636311/28/091632411/27/097687511/26/095775611/25/097801711/24/093003811/23/097700911/22/0952851011/21/0990361111/20/09346512 13 1411/22/095285 1511/21/099036 1611/20/093465 Sheet2 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

## Formula To Subtract Pounds & Ounces

Jun 29, 2009

I need to build a spreadsheet that subtracts from a cumulative weight recorded in pounds and ounces. For example, in a fishing tournament, a person has 5 fish to weigh. They place their fish one at a time in a bag hanging from a digital scale that reads in pounds and ounces, and record the cumulative weight as the fish are added. We want to know what the total weight is of all 5 fish, but also what the individual weight is of each of the 5 fish.

The easy way to do it is to place the first fish in the bag and record the weight, then place the second fish in the bag with the first fish and record the cumulative weight of the 2 fish together. Continue this until all 5 fish are in the bag, and record the final total weight.

Then, to get the weights of each individual fish, the first weight is as it is, the second fish weight would be Cumulative Weight recorded for Fish 2 minus the weight of Fish 1. To get the weight of Fish 3, you would subtract the Cumulative Weight for the first 3 fish from the Cumulative Weight of the first 2 fish, and so on.

For example:

Weight of the Bag with:
1 Fish: 1-lb 2-oz
2 Fish: 2-lb 14-oz
3 Fish: 5-lb 6-oz
4 Fish: 9-lb 7-oz
5 Fish: 11-lb 9-oz.

We can subtract the cumulative weights to determine the individual weights of each fish added to the bag and know that:

Fish 1 is 1-lb 2-oz
Fish 2 is 1-lb 12-oz
Fish 3 is 2-lb 8-oz
Fish 4 is 4-lb 1-oz
Fish 5 is 2-lb 2-oz

Easy to do in my head, or on paper, but not so easy to do in Excel because it's pounds and ounces, which is how the digital scale reads out. But, when you're doing this for 20-30 fishermen, it's not that easy to do it on paper.

## X= Formula; Subtract The Number From Cell C32

Mar 19, 2007

in Cell J32 I want it so when i type in a number it would subtract the number from Cell C32. Is there a formula in which all you have to do is type the number without editing the formula?

## Formula To Subtract Invoices From Total Amount Available

Sep 25, 2009

I have 2 tables, one with invoices, the other with purchase orders. I would like to have a "PO Amount Remaining" column on the invoice table that looks up the PO listed on the invoice with the PO \$ amount on the PO table. Once it is matched, I would like to subtract the total invoices to give me the amount of the PO that is left. Basically I would like the "PO Amount Remaining" column right now to have \$4,200 listed in each row for invoices 1 & 2.....

## Match/Index Formula :: Multiply Last 3 Cells In A Row And Subtract 1

Sep 23, 2009

I am having a little trouble with multiplying a few formulas. I am looking for a formula that will multiply the last three cells in a row that contain data and subtract 1. Below is an example of the type of data I am working with and the formula I am trying to use but is not working. The formula is for the cell highlighted in red. Every quarter the last three cells being referenced will change.....