# Finding Which Numbers Make A Total

May 22, 2009

I do a lot of work in excel to do with accounts and this often needs checking against sage. When the invoices/petty cash sheets are put into sage the total amount is put in, but in my spreadsheets I need to split the reciepts. So I was wondering if there was a formula/VBA code, that if I only knew the total of the invoice would find which cells added up to this total?

## Find Numbers From A List That Make A Specific Total

Nov 18, 2008

I have a list of numbers and want to see if the sum of any of them exactly makes up a specific larger number. Any quick way to do in excel? Eg do any of the below together make the exact total of the number at the bottom.

242.91
265.71
95.96
113.26
228.16
48.59
64.62
70.59
88.88
146.51
228.99
67.99
40.22
71.51
85.28
654.15

## Finding Figures That Add To A Total

Apr 7, 2009

I have a list of 30 numbers representing receipts due. I have one receipt which I know must represent the sum of some of these numbers. Is there anyway in Excel that I can highlight the range of 30 numbers and ask Excel to sample all possible combinations to find which numbers add up to my total receipt?

## VLOOKUP - Cannot Add Times To Make A Total

Jan 7, 2013

It doesn't encompass the full spectrum of what I am hoping to have on this timesheet.

For some reason - when I select "REB (0730-1600)", it comes up to 9 hours and not 8.5 hours.

And I cannot have a =SUM column. My goal was to select a shift (Cell 5), it automatically input the hours worked (Cell 7), and then somewhere formulate a total for the week.

## Timesheet / How To Make A Running Total

Jan 17, 2013

I am working on a spreadsheet to track hours worked. It is an 8 hr day. I want there to be a running total, but when less than 8 hrs are worked and the total goes below 8 hrs per day (as in when you have no "banked time" it will not display negative or owned time. Also, it doesn't seem to want to skip over the weekends for me.

## Finding Volume Total In Range

Sep 15, 2013

I have this formula below which works for finding the Volume Total in range C7:E7...it displays the volume for that date in G7

Code:
=SUMIF(INDIRECT("'"&E\$6&"'!B7:B10000"),\$G\$7,OFFSET(INDIRECT("'"&E\$6&"'!B7:B10000")
,,MATCH(\$E10,INDIRECT("'"&E\$6&"'!\$C\$7:\$E\$7"),0),,))

but when I use the formula for finding the PLanned Stops - Time in the range G7:H7 it gives the Volume Total from Column D...I want the Planned Stops -Time from H7.....

Code:
=SUMIF(INDIRECT("'"&E6&"'!B7:B10000"),G7,OFFSET(INDIRECT("'"&E6&"'!B7:B10000")
,,MATCH(E13,INDIRECT("'"&E6&"'!G7:H7"),0),,))

## Finding Name Then Finding Reoccurring Numbers

Feb 25, 2014

I have been trying to write two formulas in one cell. I have been able to write them both separately but have been unable to join them both together. What I am trying to do if first search name them how many reoccurring numbers appear. I have provided an example below

a b c d

1 Tom 333
2 Sam 22
3 Sam 22
4 John 5
5 Sam 22
6 Sam 1
7 Tom 3
8 Tom 333

Tom = 2
Sam = 2
John = 1

## Automatically Decrease Value To Make Total Equal 100

Mar 30, 2013

I receive a large file every month with 30K+ rows of data that need to be manipulated manually before I can send it off. Within the data are "chunks" of data that are anywhere from 1 to 90 rows each. Each chunk needs to total 100 or less, and while they do for the most part, some end up over 100 due to rounding (usually 100.02 or so). The rows above and below each chunk are blank, and I currently have a calc to add each chunk, and flag it if it's over 100. Then, I have to go through each of the flagged chunks and manually decrease one of the lines to make the total 100.

Is there any way to automate any or all of this procedure?

I have attached a sample file with two chunks of data. The actual files contains 14 more columns to the left that aren't shown.

Sample.xlsx

## Finding Common (repeated) Numbers In Columns Of Numbers

Mar 21, 2008

I work for a charity and I have to cancel the donations of people whose credit card donations have been declined in three consecutive months.

If in Column A I have a list of donor IDs whose credit cards were declined in Jan 2008, in Column B I have a list of donor IDs whose credit cards were declined in Feb 2008 and in Column C I have a list of donor IDs whose credit cards were declined in Mar 2008, is there a way of showing in a fourth column which donor IDs were common (repeated) in Columns A, B and C? I would have a title for each column in A1, B1 and C1, and also the column where the repeated donor IDs would be displayed.

## How Can I Make The Cumlative Total Stay And Be Updated With Each New Entry

Aug 18, 2009

I have two columns D and E, the header takes up rows 1-4 so the first available row is row 5. The D column is going to have numbers added daily, the E column will show the cumlative total. How can I make the cumlative total stay and be updated with each new entry in column D?
C D E
Name daily cumlative
dave 20 20 Row #5
Jim 30 30
Tim 11 11
Sara 6 6

Say these are the entries for day one, I need to be able to make new entries in the same D column on the next day and have it update the running total in E?? I cant figure the darn thing out.

## Finding Multiple Names Within A Range And Calculating Its Total Corresponding Average

Apr 16, 2007

In column A I have a list of 5 Auditors labelled Q1 - Q5, 5 Coolum’s across in column F I enter in their scores as a % e.g. 80%. ...So Q1 - 50%, Q2 - 60%. In column A37-A41 I have Q1-Q5 listed, in Column B37-B41 I need to calculate the average deviation per Auditor eg. If Q1 has 2 entries of 50% and 75% return average value in cell A37 which should be 62.50%. I am trying to calculate the average for each Auditor. find attached example.

## Finding Atribute Last Accessed Date Of A File And Make It A Range Value

Dec 21, 2009

I want to place the atribute (Date as value): "LastAccessDate" of a file called "!FileSessionStart.nwd" in Sheet1.Cell A2 in my workbook - without opening/accessing" this "C:/so-and-so/!FileSessionStart.nwd" - just want to read and use the last accessed date of it.

How will a macro go finding this atribute of this particular file and place this atribute as value as described?

The filepath of it is valued in celle A1

## EXCEL 2007 :: How To Make Percentage Of Running Total In Pivot Tables

Jan 15, 2014

how to make a % of running total in pivot tables in excel 2007. the running total in is only available not the "%".

## Row Numbers For Each Sub Total

Feb 1, 2010

i had a subtotal sheet with more than 5000 rows of data.i applied subtotals for my data.i just want to serial numbers for each of the subtotal.what is the easy way for numbering my rows with sub total.

My subtotals are in column A.i inserted a column before it and want to show the row numbers which contain the subtotals.

## Total Top X Of Numbers

Oct 4, 2006

Keeping track of racing point scores and I am trying to figure out a formula that will allow me to take the top 6 out of 8 values and total them. We compete in 8 races but the total points standings at the end of the season takes the best 6 out of 8.

For example

Racer 1 100 200 150 90 300 250 210 95

I am looking for a formula that will give me a total of the HIGHEST 6 scores. I tried the =max but that will only allow you to get the HIGHEST value.

## Add Numbers To A Set Total

Aug 13, 2007

I’m creating a spreadsheet (attached) that needs to divide up aisles in a warehouse into sections, so that each section has an equal (or as close as possible) amount of work. The “To, From” columns are aisle ranges and the “Moves” column is the amount of work in that range. I need a macro/formula to add up numbers under “Moves”, but only up to the point where the sum is as close as possible to the number in K2 (variable). It also needs to look at the number under “sections required” (I2) (variable) and then split the aisle ranges into that many sections.

## Which Numbers Total To X

Jan 9, 2008

column A contains numbers. Can I use solver to tell me if there is a combination of the numbers that total a given number?

## Make Certain Numbers Red

Jul 22, 2008

I have some numbers in column G and column I. The formula I'm wanting to write in lamens terms is:

If the number in I4 is not within 10% of the number in G4 then I want the number in I4 to be red otherwise I want it to stay black.

## Finding A Sum Of Two Numbers

Nov 16, 2012

Is there a function in excel that can look at an array of values and find the two values that equal a number.

I have a number 159. I have an array of 100 numbers but only two of them added together can equal 159. Rather than sort through every possible combination is there a function in excel that can do that?

## Sum Total Numbers For Only A Certain Date

Jun 15, 2009

I'm working on an excel for work. It lists the days on the column farthest left, and with some variables calculates the total number of tons we have for the day on another column. For part of it I'm wanting the program to calculate how many tons we process for each day. The problem is that each days will have a different number of entries. For example:

June first has 6 entries
June second has 3 entries
June third has 4 entries

So I'm wanting to make another column seperate from the original data that calculates total number of tons from the entries for the day without saying cell=sum(the 6 entries from the first), cell=sum(3 entries from the second).

I'm not sure how to go about this, I thought if I could get a recurring if statement that would test all of the entries for the date, and if it matches sum them up. I'm just not sure how to go about it.

## Total Numbers By Month

May 26, 2007

I need to total how many '1's or '2's in column A by each month ( Date Format 01.04.07) in column B.

Have tried to use the following formula to count all the '1's in May, but I cannot get it to work.

=SUMPRODUCT(MONTH(A1:A100)=05)*(B1:B100=1))

## Make Numbers A Percent Of 100

Nov 4, 2008

I have a spreadsheet with a large list of plants. Each plant has a breakdown of colors by container size. Each cell contains a number that corresponds to a percent, e.g. a cell may contain the number 20, which would also mean this number is equal to 20%. I want to change all numbers to a percent of 100, or turn 20, for instance, into .20. There are many hundreds of numbers that I need to make a percent, so I was hoping I could do this in one fell swoop somehow. This percent number will be used in another spreadsheet for calculating on order. How do I do this?

## Figure Out The Logic To Ignore Two Cards To Make The Best Possible Five Card Hand From 7 Cards Total

Oct 1, 2003

I need to figure out the logic to ignore two cards to make the best possible five card hand from 7 cards total. Has anyone ever done this before?

As I said before, I'm trying to do this in excel only (no vba), so this is much more complicated than usual.

## Finding The Sum Within A Range Of Numbers

Dec 30, 2008

So I have multiple columns of numerical data,

I have to find the sum of all numbers between 10 and 40 within a column, NOT cell 10 to 40 but the actual number 10 and 40.

How do I do that?

Is it SUMIF? I cannt seem to grasp this.

## Finding A Value Between Two Given Numbers In One Cell

Mar 29, 2009

I have another post here on this forum, but I'm afaid the formula is getting so complex that nobody is able to fully understand what I want. Instead I want to find a value between two numbers and add it to some IF sentences. It will do what I want, even if it's not that elegant.

I've looked at the SUMIF function but it did not do exactly what I wanted. It finds a number or adds numbers only if they are in range it seems.

What I want is the following:
Return sum between 500 and 1000 in one cell.

## Finding 2 Numbers In A Field

Jan 14, 2013

Create a form where i would enter 2 numbers into 2 seperate boxes, and those numbers would be highlighted/bolded/shown in red from a list of 30 rows of numbers x 20 numbers in each row. these 2 numbers will not be the same all the time, below is just for an example

ie. number: ... (5) number: ... (59)

1 28 19 20 5 9 80 72 12 38 50 53 59 83 ...
8 4 38 29 11 39 27 38 3 49 59 80 13 12 49 4 5 ...
and so on....
....

So picture something like that, but with 30 rows of numbers x 20 numbers in each row.

## Finding What Numbers Are In One Column But Not The Other

Nov 10, 2009

I have a large list of numbers in two columns. I need to know what numbers are in column A but don't appear in column B. For example if the numbers are 1 2 and 3 in column A but column B only has 1 and 2 I need to know that 3 is missing.

the only thing I can think of is doing =IF(A1=B1,"TRUE","FALSE") however typing this a thousand times would not be practical.

Is there a macro that can check column A against column B and tell me which ones are missing?

## Finding Non Zero Smallest Numbers

Feb 16, 2008

Find smallest numbers in the range ignoring zeros.
I want it returned as value "1", all others - as value "0".
Example: range A1:J1 contains - 5,0,7,3,6,5,8,0,9,3
desirable result in the range A2:J2 - 0,0,0,1,0,0,0,0,0,1

## Finding Numbers From String

Aug 11, 2009

I am trying to find numbers from a string. I have for example words "EUR Fwd 9x12" and "Eur Fwd 11x15" And i want to write a function that reads the first number from a string if there is only one number before "x" or two numbers if there are 2 numbers. So I have tried to build following function:

Function NumbersInString(Word As String) As Integer
Dim i As Integer
Dim FirstNumberInString As Integer, SecondNumberInString As Integer
For i = 1 To Len(Word)
If IsNumeric(Mid(Word, i, 1)) Then
FirstNumberInString = Mid(Word, i, 1)
If IsNumeric(Mid(Word, i + 1, 1)) = False Then
Exit Function
Else
SecondNumberInString = Mid(Word, i + 1, 1)
End If
End If

Next
NumbersInString = FirstNumberInString & SecondNumberInString
End Function

## Matching Names With Numbers (total)

Sep 1, 2009

In Cell A1 I have a name (John Doe). In cell A2 I want the formula which will be a number total. In Cells A4:A20 I have a list of names with John being in several of them. In Cells J4:J20 I have numbers. There is data in between the name and numbers that I don't need.

So, I want A2 to search A4:A20 and everytime it sees John Doe to add the numbers that are 9 cells over (J4:J20). This is basically to show how many mistakes John has made (total). I tried =Sumproduct((A4:A20=A1), (J4:J20,1,0)). I know I am missing something or not on the right track.