Percentage Of Numbers In Range Greater Than Another
Jan 6, 2008
I have two columns A and B. In each column are a list of numbers. I want to count the number of times the numbers in column A are greater than the numbers in column B and display it in the form of a percentage. An even easier way for me to do what I need is as follows...I have a third column (column C) that subtracts A from B...if it is a negative number, the cells in column C are autoformated to color the cell red. If it's a positive number, the cell is colored green. Is there a way I can count the number of cells that are red and divide them by the number of cells that are green to get a percentage?
View 2 Replies
ADVERTISEMENT
Sep 7, 2007
"in Excel" - my formula for cell C11 is: "What percentage of the time (occurrences) was the value in cell B11 greater than the values in A1 thru A10?"
As in...:
100
99
98
97
96
95
94
93
92
91
90...95.....40%
89...16.......0%
88...123...100%
87...90......20%
So no data in first 10 rows of Col B. (Or Col C, of course.) Then for the value that appears in B11, how many times (out of 10, in this example for sake of ease) was that value greater than the entries in the first ten entries in Col A:
95 (cell B11) was greater than A10, A9, A8 and A7 (91, 92, 93 and 94). So 4 times out of 10, B11 was greater; 40% is the answer the formula would yield.
16 was never greater than any entries in A2 thru A11, so 0%.
And 123 was greater than all the entries in A3 thru A12, so 100%. Etc, copied down the sheet...
View 5 Replies
View Related
Feb 27, 2013
Pretend their are two Tabs in excel.
Tab 1:
"A1" contains a random number: "20"
Tab 2:
Column "A" has tonnes of random numbers:
6000 - Starting Balance (changeable)
5890
5800
5950
6080
6100
6180
6250
6300
an so on... (1,000 rows)
Based upon the number "20" that I placed in A1 on Tab 1, I want a formula that looks at the first 20 rows in column A within Tab 1, and then calculate the percentage change between the extreme "peak to trough" of the highest number to the lowest number within the 20 rows...
Below should make it really simple:
6000 - Starting Balance (freely changeable)
5890 -1.83%
5800 -3.33% - This was the lowest percentage change from the starting balance of 6,000
5950 -0.83%
6080 +1.33%
6100 +1.67%
6180 +3.00%
6250 +4.17%
6300 +5.00%
View 3 Replies
View Related
Jan 22, 2014
Can use an icon set conditional format to solve the following -
if I have an order figure in A1 and a received figure in A2 I want to show a tick in A3 if the received figure is within 10% either side of the order figure.
View 4 Replies
View Related
Aug 24, 2006
I have what may be a math question as much as an Excel question. See my attached spreadsheet example in which I grow the denominator of a ratio by a fixed percentage until it equals or exceeds the numerator. This results in the denominator being grown X number of times.
View 2 Replies
View Related
Apr 15, 2014
I have a set number that I need to allocate over a flexible period of say 5 -11 days.
I have applied the traditional split per day to each number i.e. a monday normally results in 20% of transactions, Tuesday 25% etc.
The issue comes in when I try to allocate the budget over a period longer or shorter than a week.
Therefore the budget for the 9 days is being allocated over the period of 9 days which results in a overall allocation of 150%. (duplicate mondays etc).
Is there a way to limit the entire period to a set number and have the numbers adjust themselves accordingly up or down to match it other than multiplying it by a factor?
Example attached: Excel Problem.xlsx
View 3 Replies
View Related
Nov 25, 2008
I was wondering what the formulas was for adding 20 percent to a price of lets say 10.00. What would I use for this?
View 2 Replies
View Related
Jan 14, 2014
I have the attached table of numbers and I need a formula at the end of each column to identify whether any cells in that column consecutively have numbers in them greater than zero. Ideally by a count of how many cells in the column have consecutive numbers greater than zero (so if there are three 1's in a row and then a zero and then another 2 1's I want it to count 5).Excel Help.xlsx
View 2 Replies
View Related
Jun 29, 2009
I can not remember how to do the following. in column N have numbers ranging from 1 to 100. I need to get numbers counted in this grouping. >50, <50 >70, <70 >85, <85. I don't even remember how to start. I tried
View 2 Replies
View Related
Jul 20, 2006
I am trying to average a column of numbers. I want to only average the cells
that contain a number greater than 0.
View 10 Replies
View Related
Aug 1, 2006
How do I count cells with numbers 1 and greater. My cells are counting the -. All my cells are showing the - (zero value) but are being counted.
View 12 Replies
View Related
Nov 7, 2008
I am inserting data into my spreadsheet using VBA code to read a file and insert the data into the relevant cells. My problem arises when I have a string such as 80830410205724044. The actual code that inserts the data is as shown (temp is dimmed as string)....
View 9 Replies
View Related
May 13, 2008
I have been browsing this site for some time but never posted. It looks like a great community and looking forward to learning!
I am trying to create an array in VB that searches an entire column (L) that has nothing but numbers in it. I want to search for all numbers that are >= 6. If the number is greater than six store the value in column A. At the end, I need to display a message box that has all the values in A that match the criteria where column L is greater than 6.
I have found all kinds of copy to other sheet formulas and static finds.
View 7 Replies
View Related
Aug 9, 2008
I'm trying to write a macro in Excel that would change any number greater than 10 in a spreadsheet to say "+10"
View 9 Replies
View Related
Jun 18, 2012
I'm trying to figure out 2 seperate formulas - see sample data below:
1) how many are 0% (Answer: 3)
2) how many are greater than 0 but less than or equal to 24. (Andwer: 2)
I can't come up with the 2 calcs.
There is a formula in cells below (Example: =$BA150/$BA$3). Will my calculations just not work when there is already a formula in that cell?
14.3%
71.4%
42.9%
71.4%
0.0%
[code]...
View 3 Replies
View Related
Oct 2, 2008
I have several line graphs produced in excel. The X axis represents time (but is actually is just a 'general' number) and the Y Axis is a number .
The Y Axis generally varies from -10 to +10. I want to work out the percentage of time where the graph is in + and -.
If it makes it easier to know, the data will always change by +1,-1,+0.25,-0.25 or 0.
If this is possible i would then like to have a formula/or however it is possilbe, to work out +,- and neutral (0).
I have also attached a graph for a viewable example.
View 6 Replies
View Related
Oct 26, 2012
how to return the highest value of repeated controls in column A.
when comparing the numbers repeated in columns "A"
will return the highest value in column "D"
control
plug
block
value
Formula
115
20
1012
28,9
31,2
this is the highest value of repeated controls in column A
[Code] .......
View 3 Replies
View Related
Feb 29, 2008
I have been using conditional formatting for a project in Excel 2007 but as the end users are using Excel 2003, I have had to switch to the following VBA solution as my requirements exceed the standard 3 available conditions. I have looked at using custom formatting but I need to format the cell colour rather than just the font colour.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim icolor As Integer
If Not Intersect(Target, Range("C19:IV384")) Is Nothing Then
Select Case Target
Case "0.5", "1", "U"
icolor = 38
Case "C", "M", "P"
icolor = 40
Case "A", "S", "D"
icolor = 36
Case "L", "UP", "C/E"
icolor = 35
Case Else
'Whatever
End Select
Target.Interior.ColorIndex = icolor
End If
End Sub
* When the macro is run on one worksheet, formatting and values are replicated simultaneously on another identical worksheet (not necessarily vice versa).
* As well as formatting cell colour when containing a value, a border should also be added with different colours for the top, bottom, left and right border.
* When the cell contains no value, the borders should return to how they were previously.
View 3 Replies
View Related
Nov 11, 2008
I have a spread sheet with over 200 numbers like 3.3, 4.5, 6.6 and so on. Is there and easy way to convert them to Percentages?
View 2 Replies
View Related
Jun 28, 2007
I am trying to find a formula to calculate the percentage of the positive numbers in a column. For example, if I have a column that has positive(green) numbers and negative(red) numbers in the cells to show over daily goal or under daily goal, and I want to at know what percentage of all the numbers are the positive ones.
View 3 Replies
View Related
Aug 14, 2007
what I'm trying to do.
Background:
I play a game that requires 5 members to play, however you can have more then 5 members on the team. In order for a player to receive points for playing they must have played at least 30% of the total games played. The problem for me is when trying to figure out how many games someone needs to play to get to 30%, the total goes up as they play those games.
What I would like to accomplish:
I'm looking for help on a formula that would figure out how many games a player would need to play to get to 30%. I have a column that is total games played, %of games played by player, games played by player, and games needed to play to get to 30%. Basically the user would enter the # of games played by each player, and the total games played overall for the team for that week, the spreadsheet would then show the # of games each player that isn't above 30% would need to play.
I tried to make the question as clear as possible, if anyone needs clarification,
Originally Posted by shg
Welcome to Oz, Basca
spreadsheet with a representative sample of your data?
Games Played
Player 1 20
Player 2 7
Player 3 13
Player 4 20
Player 5 13
Player 6 13
Player 7 7
Player 8 7
Total Games Played20
View 9 Replies
View Related
Dec 17, 2009
Is it possible to just show numbers greater than an amount in a pivot table?
View 3 Replies
View Related
Sep 24, 2013
Basically I have three sheets. MAIN, Sheet 1 and Sheet 2
Sheet 1 and 2 are in the same format
A3 down is a list of country names and then B3:I71 contains the data im interested in.
I've been trying to create a function that looks at B3:i71 to see if any cell in that range contains a value greater then $0.00. If it does then the row that contains the cell with a value greater then $0.00 (between col A to K) should be copied to sheet MAIN from cells B3 down. This should ultimatley produce a list of data for any row containing a value greater then $0.00. This process should then be repeated on Sheet 2 and should join the list below sheet 1.
View 3 Replies
View Related
May 27, 2014
I have a series of numbers in cells B2 to G2. The maximum value of each of these columns is found in B5 to G5. Is there a formula that will calculate the percentage of each of the values in row 2 (B2 to G2) and tell me which is the lowest number based on the percentage? Example...
Row 2: 12, 100, 43, 1444, 141, 332
Row 5: 25, 140, 55, 3000, 244, 440
Which number in row 2, is the lowest percentage of the total possible points found in row 5?
B2 is 45% (12 divided by 25), C2 is 71%, D2 is 78%, E2 is 48%, F2 is 58%, G2 is 75%.
I want a formula to tell me in a new cell that "12" (in B2) is the lowest percentage in that series.
View 4 Replies
View Related
Mar 4, 2014
I have totals in d18 and e18 and need to find the percentage increase or decrease between the 2. E18 is last year's value and D18 is this year's value. Which formula will give me what I am looking for:
(D18-E18)/D18 or (D18-E18)/E18
View 2 Replies
View Related
Sep 15, 2007
I have a rather large report full of data, 10+ columns contain a RANKING column, and these ranks, 1-10, are assigned by a % bracket:
1-20% = 1
21-40% = 2
41-60% = 3
61-80% = 4
81-100% = 5
101-120% = 6
121-140% = 7
141-160% = 8
161-180% = 9
181-200% = 10
There are several hundred rows in each column that all need individual ranks. My first thought is to program a if then else statement for 1 to 10 with a % limit range, but this isnt feasable as i would have to program a separate if statement for each of the many hundred rows, or do one heck of a fancy loop that i just cant contemplate (as the rows are split and sepperated... no solid uniform place for the data to be plugged.) What is the best way to go about this? I'm at a total loss of ideas with my knowledge of excel.
View 2 Replies
View Related
Apr 21, 2008
how to make a number automatically increase by a percentage at a certain interval.
For example, 1-12 need to be 3% of 100, so, 3. Then, from 13-24 need to be 3.5% of 100, and so on. Does anyone know how to do this?
View 6 Replies
View Related
Dec 15, 2006
I want to find the minimum time value within a range of cells, excluding 0:00. Currently,
VB:
=MIN(BL5:CP5)
returns 0:00 if it exists in any of the cells.
View 3 Replies
View Related
Jun 28, 2012
I have a column of percentages, and need to highlight the smallest value that is greater than 80%. This report is updated daily. I would like to know how to set conditional formatting to do this, or at least have a formula or run a macro to do this.
View 4 Replies
View Related
Dec 15, 2006
I want to find the minimum time value within a range of cells, excluding 0:00. Currently, =MIN(BL5:CP5). returns 0:00 if it exists in any of the cells.
View 2 Replies
View Related