Percentage Of Number Greater Than Other Numbers
"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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Percentage Of Numbers In Range Greater Than Another
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 Replies!
View Related
If Cell Has Number & Number Is Greater Than X
I have a spreadsheet that I need a formula so that when a number appears in one column, then automatically it will put text (only) in the adjacent column. I have attached the sample spreadsheet for review. What I need is if there is a number in column A then, put a " / " (forward slash) in column B. If there is only a 0.00 in column A, then put nothing in column B. I tried the IF function an it errored out stating that the " / " was not a number.
View Replies!
View Related
Chart Percentage Of Numbers Above Zero
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 Replies!
View Related
Calculate Percentage Of Positive Numbers Only
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 Replies!
View Related
Calculate Numbers Required For X Percentage
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 Replies!
View Related
Format Numbers Greater Than 15 Digits
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 Replies!
View Related
List Column Numbers Greater Than X
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 Replies!
View Related
Show Numbers Based On Percentage In Cell
I have a rather large report full of data, 10+ columns contain a RANKING column, and these ranks, 110, are assigned by a % bracket: 120% = 1 2140% = 2 4160% = 3 6180% = 4 81100% = 5 101120% = 6 121140% = 7 141160% = 8 161180% = 9 181200% = 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 Replies!
View Related
Greater Than 3 Conditional Formats For Text And Numbers
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 Replies!
View Related
Cell Containing Number And A Percentage
Is there any way to make a cell display both a raw number and a parenthetical representing a percentage based on a formula? I know this may sound strange. Examples: 9 (25%) 12 (39%) I could get it done via merging or =_&_ style entries, I know, but is there any other way?
View Replies!
View Related
If Greater Number Msgbox
I like to do is if cell H3 is Greater than cell A35 to promt the message box below. But if less than do nothing. And if possible if less than to look at sheet 2 cell A35 and do the same. If WorksheetFunction.Sum(Range("H3") >= ("A35")) Then Exit Sub MsgBox "QTY. MUST BE GREATER THAN END FEQUENCY", vbOKOnly
View Replies!
View Related
Calculate Percentage Based On The Number
I am working on a spreadsheet which has lots of data in it. I have a Column i.e. Checked out and on each cell entered an X Mark indicating that a device has been checked out. Since this Checked Out Column goes all the way down to > 1000 cells. Is there a way for us to make a formula and calculate percentage based on the number of X's that are entered and tell as that out of 1000 cells, the X's are 65% and so the blank cells would have to be checked to complete the list?
View Replies!
View Related
Find Percentage IF Number Present
I have a spreadsheet with 6 sheets. There are 3 sheets that have information regarding the soil, geology and drift deposits of an area. The other 3 sheets relate to these sheets to display the information for each area. The way that the spreadhseet is set out pretty much explains what i am trying to archive. Basically I want each sheet to say whether or not the rock, soil or drift type is present for each area. And if it is present to calculate the percentage of total area. I have created a pivot table for each of the info spreadsheets  but need it to look like the "table" sheets, because it needs to be added to a report. Any questions and i'll try and answer them , but it's quite difficult to explain in words what i am trying to achive.
View Replies!
View Related
Return Percentage Of Number Based On Its Value
Spreedsheet on on sales and taxes Need formula for cells. 3 different cells involved... B1 will have $ amounts, B10 tax code, B25 will have total of tax applied due to code. Exp; cell B10 will contain the tax code... if you enter..... "1" in the cell the calculation will be 7% in cell B25, enter "2" in cell B10 and the calculation will be 6% in cell B25 , and if you enter "3" in cell B10 the calculation will be 13% in cell B25.
View Replies!
View Related
Express Copied Number As Percentage
I would like to use vba to copy a value in F31 to B5 in sheets("2") and express it as a percentage. For example, the value in F31, 102 is copied to B5 as 102. Like to have it express as 102%. Sheets("S1").Select Range("F31").Select Selection.Copy Windows("Report.xls").Activate Sheets("2").Select Range("B5").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False
View Replies!
View Related
Percentage Of Cell Value To Number Count
I know for some of you this will be pretty simple but im having trouble figuring it out. Attached is a shortened version of what i am trying to do. I want the Percent Attendance column to represent the cumulative percentage(hope I used the correct phrase). So for Person 1, it should currently say 100%, person 2 it should say 66.67% and so on. There are 5 days that i want to get the percentage, but because we haven't gotten to 2 of them yet, using a regular sum formula for the entire five days gives me the wrong values.
View Replies!
View Related
Smallest Number From List But Greater Than 0
I'm using this =SMALL(A:A,1) in a cell but i need it to ignore the number 0. Because where theres no data it shows 0, but i need it to pick the lowest from the places where that data actually shows. something like this 0 0 54.2 0 82.6 0 0 55 So i need t get that 54.2 out of there.
View Replies!
View Related
How To Find Any Number Greater Then (x) And Replace With A Letter
how I could search for any number great then (x) and replace it a letter For example I have an excel table with a series of weights. lbs 6001 4560 6789 2000 5656 8879 1243 I like to replace any number greater or equal to 6001 lbs with the letters SS. Example: lbs SS 4560 SS 2000 5656 SS 1243 Then I'd like do the same thing again but this time replace any number less then or equal to 6000 lbs with the letters SSLL . Example lbs SS SSLL SS SSLL SSLL SS SSLL
View Replies!
View Related
Counting Number Of Dates Equal To Or Greater Than A Said Date
In my Excel spreadsheet I enter todays date in a single cell (A2), then I list various dates that jobs come into shop in other cells (A8:A108). I have cells ( F8:F108) where I have been manually entering an asterik (*) for those jobs equal to or greater than five days old in cell (A2). Is there a formula that can do the math for me? I've tried Excel help but to no avail.
View Replies!
View Related
How To Find Number Of Rows That Meets Cumulative Percentage Critieria
I have a dataset in Excel 2007 where I need to determine the number of census tracts (as rows) it takes for each column of data values (populations of different ethnic groups) to reach a cumulative percentage of 50% of their City group total. This is a measure of concentration that will vary from group to group. I can do this manually by sorting each column from largest population percentage to smallest population percentage, then shiftclick selecting the first row, scrolling down until I see the sum of percentages shown in the bottom right corner first reaches 50.000% or more. Is there a cell formula I can use to determine the number of rows it takes to meet the criteria? I have to do this for 250 columns. Is there a cell formula I can use to determine the number of rows it takes for a column of data values to reach a specific amount, that is first reach a cumulative percentage of 50.000% of the column total? It must be based on the data values from largest to smallest but I don't want to have to manually sort each column I have.
View Replies!
View Related
Record Greater Than 50 In A Cell So It Reads As Greater Than 50
I have to make a table that shows that a if someone purchases less than 5 items they receive no discount 510 items they receive 2% discount 1120 items they receive 5% discount 2150 items they receive 8% discount over 50 items they receive 10% and it has to be done in a way that the discount rate can be calculated using Vlookup I am struggling to find the best way to write this table. i tried numbering 1 to 50 and writing the corresponding discount rate in the second column but this looks untidy and can't calculate greater than 50 as i am not sure how to write it in the cell so it reads as >50 and not just 50.
View Replies!
View Related
That Takes From Manual Sheet The Number In Specific Column And Multiply It By The Percentage In Sheet
I'm trying to create a formula that takes from "Manual" Sheet the number from colume G2 and multiply it by the percentage in sheet "AllocationRule". My formula currently is =Manual!$G$2*AllocationRule!$B5. What needs to happen is that the total number in "Manual" needs to be distributed evenly in 4 rows by the percentages allocated in "AllocationRule". Right now I can't copy my formula over to the sheet because the "AllocationRule" should stop at B5 and not go further and the G2 from "Manual" should not change for the percentage allocation but should change to the next row for the next month. And then after I've done the calculation I want the LOB in "AllocationRule" to be displayed in the LOB in "H1913_H1914" but I'm not sure what formula to use.
View Replies!
View Related
Part Numbers With Zero As First Number
I am trying to do a VLOOKUP on a worksheet with a list of our Part numbers. The Part numbers begin with zero and go into the alphabet with anywhere from 3 digits upto 18. When I sort the sheet Excel sorts the numeric by the number of digits in the number AND totally ignores the first zero. I can not format as numbers since again Excel drops the first zero. Therefore, when I do the VLOOKUP it will not look through the entire numeric list for the higher digit numbers. Is there anyway to resolve my VLOOKUP issue with indexing or?
View Replies!
View Related
Taking Numbers Out Of A Number
what I have is a spread sheet of over 3000 numbers. Now this is what the number looks like: 0000123456000 what I need is basically a formula or something to take out the zeros (They are not really zeros on the spreadsheet, its just an example to make it easier to display). And leave the six digits in the middle. Is this possible?
View Replies!
View Related
Check To See If A Number Is Between Two Numbers
I have a list of numbers that I have to concatenate with another number depending on if it falls within the parameters and I don't know how to do a lookup on that. I currently am using a complex if/or/and statement which is too dificult to debug and extremely complex like this: if(OR(AND(a>=1,a<=10),AND(a>=20,a<=30)),concatenate(a,"123"),if(OR(AND(a>10,a<20),(a>30,a<40))),conc atenate(a,"456"),"a is not in the parameter") is there a way to do a lookup for this? Something else to throw into the mix, there are some ranges that shouldn't be there and return nothing so from 4055, there shouldn't be a result. also, there are some that are just one number (56 gets 789 but then at 57 it goes back to abc)
View Replies!
View Related
Check If Number Is Between Other Numbers
I'm looking for a formula to check whether a given number is between two other numbers. Example: I have a list of data items which give the following info: A.......B..........C.........D ID# Group Low# High# 1001 food 12345 13960 1003 soap 27192 32245 2004 tires 93471 95532 2005 food 71174 76772 2006 soap 33183 36591 Such a list is many hundred of lines long. Then I have other data which provides a Group ID and a product number, which number is likely to between the Low# and High# in the data list. What I want is a formula to check whether the product number is between the Low# and the High#, AND that the Group matches. Example: the data being supplied is Soap 28332. So, I want a formula to check through the data list, and if 28332 is between the Low# and the High# AND if the group SOAP matches, then give back the correct ID number. Thus for the data Soap 28332, I would want the answer to be 1003, which is the ID # for soap in the given range. A data listing of Food 73776 should give back the ID 2005, etc, etc. This list of data needing the correct ID# is thousands of lines long. Thus I need a formula to check that the given number is within the low and high #, and that the group designation matches. If so, then give back the correct ID#.
View Replies!
View Related
Count Number Of Numbers In A Cell
I have a cell content to interogate in vba, the format of the cell is that it has a set of numbers. There are 3 posible scenarios. 1 There is no number at all 2 There is just one number 3 There could be theoraticaly as many as 24 numbers separated by a space eg 2 4 12 . I would like to count the number of these numbers and and express it as a variable. The numbers will always be unique by that I mean there will not be 2 same numbers in the one cell. I tried looking for the solution but I had no success. For the example above TheFinalTotal = 3 Also Im trying to strip a date in a format 02/12/2006 into just 02122006. I know that this is possible but I just bomed out trying to find this as well.
View Replies!
View Related
Picking Up Numbers That Add Up To Another Number
I have a question that has been bugging me for a long time and an answer to it can be a big timesaver for alot of excel users specially accountants that do account reconciliations.. lets assume that I have 3000 numbers(amounts) listed on an Excel spreadsheet vertically, and i know for a fact that the sum of most of these 3000 transactions equal a certian amount..lets say $1,200,320.23, lets also assume that all these amounts on the list are unique.. now..I want to isolate these numbers(amounts) that add up to that $1,200,320.23 by way of highlighting them or any other method. once that is done, I would be left with the amounts that are causing the descrepency in that account. I wonder if there is any function, utility or even VBA code in excel or even another software that can help solve that problem..I hope my explaination was suffecient, let me know if you need further clarification.
View Replies!
View Related
Number Of Consecutive Positive Numbers
to create with the default excel functions the following calculator. I need to calculate the maximum number of positive numbers which happen in a row and the maximum number of consecutive negative numbers. For example in the following list of numbers there are a maximum of 7 consecutive positive and a maximum of 6 consecutive negative numbers: 6 000 6 360 6 742 7 146 7 196 7 628 8 086 4 071 7 898 4 186 8 121 8 608 4 562 to make a formula which will calculate the maximum length of positive and negative numbers in a row? I attached this table to the post.
View Replies!
View Related
Can The Next Number Be Selected When Numbers Are Repeated
I have numbers in a table from A1 to X1. From that table I have selected some numbers in example 1: (44,3,11,20,44,3), in which the number 44 and 3 is repeated twice. What I want to do is to conserve one set of repeated numbers and to change one of the sets picking next number of repeated into the following number. Giving a result as follows (45,4,11,20,44,3) and if possible to put it in ascending order. The same method applies in Example 2: but instead of 2 it conserves 3 repeated numbers and changes the other 3 into next following number. *ABCDEFGHIJKLMNOPQRSTUVWX112345681011141617181920242729404144454647234Examlpe 1Examlpe 2544311204434451844518678Result 1Result 2945411204434561944518 Is there any macro or any formula for this query?
View Replies!
View Related
Columns Of Numbers (add 3 To Each Number)
I have a column with all different numbers. I need to add 3 to each number. Ex. 12.46 needs to change to 15.46. This can be done in the same column or a different column. Doesn't matter. I just need to add 3 to each number in the column. Right now I'm typing them in :o
View Replies!
View Related
