Identify Bottom Quarter Of Data
Dec 21, 2006
I have a column of data that comes from simple division formulas, E2/F2. I am wanting to take the Percentages given and quickly recognize the ones in the bottom quarter.
100%
75%
23%
39%
50%
N/A
100%
5%
8 items - the lowest 2 (the bottom quarter) should "stand out" - 5% and 23%
I figured two options:
1.) Conditional Formatting - don't know what the formula would be to use
2.) If statement - preferred method.
I would like in the cell next to the percentages for there to be a blank cell if the amount is not in the bottom 25% and if it is I would like the cell to read "Yes"
I thought something along the lines of =if(G2 in range(G2:G100)is bottom(.25),"Yes","") Of course that is not real code. I'm hoping someone will be able to edit that to make it functional. Or guide me in the right direction.
And you may have noticed the "N/A" in the list above. I would like excel to view this as 100%, at the least just ignore it and don't give me an error.
View 4 Replies
ADVERTISEMENT
Oct 30, 2009
I'm trying to figure out how to identify higher earnings in a quarter and return the max of the quarter of time frame and not the value
I'm simplifying a little ...
View 9 Replies
View Related
Feb 20, 2007
I have been easily identifying the bottom quarter of data using =IF(G2="","",IF(RANK(G2,G$2:G$100,1)<=INT( COUNTA(G$2:G$100)/4),"Yes","")) Now I need the top quarter and am not sure how to change the formula.
I have tried changing <= to >= but I then get the top 75% rather than 25%.
I have tried adding +50% and +.5 ... =IF(G2="","",IF(RANK(G2,G$2:G$100,1)<=INT((COUNTA(G$2:G$100)/4+50%)),"Yes",""))
View 3 Replies
View Related
Aug 24, 2006
Is there any easy way to identify the bottom left cell in a named range?
View 6 Replies
View Related
Oct 7, 2013
How would you calculate the amount of days of a billing period for a consulting engagement by quarter when the engagement could span multiple quarters, be within a quarter or not be in a quarter at all? Project based billing
View 1 Replies
View Related
Oct 9, 2009
I have spreadsheet that I use to display quarterly metrics. Within the workbook, there are two spreadsheets; (1) output (2) data.
Part 1: I want the ability to view data for any quarter of any year. In columns O-P, I have created a dropdown for the year I want to view and option buttons for the quarter I want to view.
The data is organized in one sheet and includes all information by quarter.
As an example, say I want to display data for District 112 and I want to display data for the 3rd Quarter of 2007. I am trying to create a formula that would look in the table as follows: (1) look for district 112 then (2) look for 2007 then (3) look for 3rd quarter then (4) look for units sold. I tried using a modified lookup function but didn’t have any luck.
Part 2: The second part of my question is similar to the first part but in this case I need to summarize data (cells $B$18:$D:$22).
As an example, say I want to display the total number of sales in the U.S. for the 3rd quarter of 2007. In this example, I would look in the table for the following: (1) look for Division then (2) look for 2007 then (3) look for 3rd quarter then (4) sum all based on criteria.
View 4 Replies
View Related
Oct 10, 2012
I have data I extract out of a datasource. I run a few excel scripts upon it and export the content to another spreadsheet. The column of data (I have columns a - h) i'm concerned with is H. The totals in that column regardless of the length of the column (could be 10 rows of data or 10,000) I need to delete the top 10% and bottom 10% rows completely of those numbers in H and leave the remaining 80% in tact.
View 2 Replies
View Related
Jul 26, 2013
I have a 23 sheets in a workbook and in each sheet i have around 1200 to 2500 data.
What i want is : from active sheet i want to open another sheet which is located at my desktop and should select column A, H & I all data (whether it is blank at last not to worry) and paste it into my active sheet in column A,B & C then i also have formula to calculate saving per shoe in column D,E & F.
For column D,E & F in active sheet the formula should fill down until the column A gets blank (For example : in column A,B & C under active sheet takes 1230 products so formula of the column D,E & F will end at 1230 row)
I have tried to record macro for the same but this is only for the restricted rows i.e. no. of row so I post it now.
View 9 Replies
View Related
Aug 1, 2014
I have many rows of data 6 columns wide. I want to be able to enter data into a specific section, then run a macro to "cut-and-paste" that data onto the bottom of my existing data (with one empty spacer row between the new and existing data)
Here's what I have so far:
[Code] ....
Basically the part I need working on is changing [ Range("A101:F130").Value ] to be dynamic. For the code to determine the last row of data, move 2 rows down, and paste the block there.
View 6 Replies
View Related
Jan 24, 2009
Give me the code to attached one column of data to the bottom of another?
ie the next available cell
so column a has 250 lines of data the data from another column will then go diectly into 251
thats not the number i want but the next available
View 13 Replies
View Related
Sep 13, 2012
I use the code below to copy formulas to the bottom of the data in a spreadsheet so I know how to do this with a formula.
I have a need to do the same but with a text string that I define.
No conditions, just normally need to copy the text from the cell 2 of a column down to the last row where data is in any column (Usually being col A).
Code:
Dim Last_Row As Long
Application.ScreenUpdating = False
Last_Row = Range("A" & Rows.Count).End(xlUp).Row
Range("S2:S" & Last_Row).Formula = "=b9/a9"
Application.ScreenUpdating = True
View 3 Replies
View Related
Aug 2, 2012
The following code is doing what I want it to do in part, its copying the data in range k3 to q3 to the next empty row in columns a to f
It works when I change any cell in column K (11), I want to change to only on a change in K7 or K8? As an afterthought if I'm dealing with the same sheet do I need to make reference to sheet2?
VB:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim nextRow As Long
If Target.Column = 11 And Target.Cells.Count = 1 Then
[Code].....
View 2 Replies
View Related
Dec 30, 2013
I have a multi tabbed page and the page i want to sort (2) is looking up the 1st page and creating one column list from cell a1 to a280 and it includes a number of zero's from the look up pages because that is the correct result. I already have it sorting but I want it to sort and leave the zeros at the bottom (they are currently at the top) of the sheet so I can just print the info I need.
Can I create this in sort or do I need a macro and how can i write it as I am very green on VB.
View 14 Replies
View Related
Oct 23, 2008
I have a s/s encompassing over 350,000 rows.
Data consists of a series of ranges from columns A:N and rows varying in number between 3 and 30.
There are two blank lines between each range of data.
Each range is (with exception) numerically ordered down column H (e.g, 1, 2, 3, etc).
Problem: there are around 1100 occasions when a range contains a row of data which is to be disqualified from consideration. On these occasions the data always appears in the top row of the range and is identifiable in column H by the nine codes 111, 222, 333, 444, 555, 666, 777, 888, and 999).
I wish to find a macro which will :
1. where the top row of a range in column H is one of the codes 111 to 999, transfer that row of data to the bottom of the range.
2. delete the now empty top row from which the transfer was made from.
3. insert a new blank row at the bottom of the range below the row which the data was transferred to (in order to maintain the two blank rows above and below each range).
View 12 Replies
View Related
Nov 13, 2012
I am trying to add a macro that finds a dynamic range (number of rows changing with different data sets) sorts column B, then column A, moving blanks to the bottom. My dilemma is as follows:
I have a template with formulas that cannot be changed (I cannot paste special values, or clear the cells). Column A includes HLOOKUP formulas for cells A14:A120. Column B includes VLOOKUP formulas for cells B14:B120. The different data sets I pull in have different numbers of lines, which is why I need to maintain the formulas. However, I cannot seem to find a way to accurately sort column B first from smallest to largest and then column A from smallest to largest. In all data sets there will be at least a few blank lines that I need to move to the bottom. However, due to the formulas within the cells (column A returns a value of 0 and column B returns a value of “ “), excel does not recognize them as being blank. Here is a sample data set.
Branch
S&C Group
77770000583-DOWNERS GROVE BRANCH
MWBF2
77770000585-CHICAGO RIVER BRANCH
MWBF1
77770000587-WEST TOWN BRANCH
MWBF1
[code].....
In this case, I would like St. Charles & Algonquin to be at the bottom because column B is blank.
View 4 Replies
View Related
Jul 30, 2009
I'm looking for a simple piece of code I can use to manipulate the data on the attached workbook. Firstly, I need to be able to sort the data by column O ("Balance"). I then need the code to extract all the information for the top 10 and bottom 10 rows and paste the info into a new worksheet. The code will need to account for the fact the number of rows might increase/decrease with this report.
View 2 Replies
View Related
Dec 29, 2006
I have four columns of numbers that range between 1 through 44 and span 100 rows. Each row shows a unique combination as shown below:
Row 1 - 07 18 11 09
Row 2 - 03 29 08 05
Row 3 - 01 20 11 44
Row 4 - 09 17 14 24
Row 5 - 18 11 20 26
etc...
Can anyone give me some tips on creating a VBA script that will scan a hundred rows of the data shown above and identify for me the rows where number pairs and number triples repeat? For example the data above shows that the pairs "18 , 11" repeat on Row 5 and Row 1. Can EXCEL perform such a task with the right VBA script or forumula? Is a VBA script necessary or will using an ARRAY be the correct way?
View 5 Replies
View Related
Apr 10, 2007
I now need to look through 4524 rows (columns A,B,C) and identify any duplicates based on column A. After all duplicate data has been identified, I would like to delete out all non duplicates. I searched previous posts, but couldn't find anything that worked for me.
View 5 Replies
View Related
Jan 29, 2008
I'm looking for a formula or function to identify cells that are alpha numeric. The alpha is not necessarily in the same place (i.e. 1st, 4th. etc) in each cell. Some cells are all numeric.
What can I do to identify cells that are alpha numeric?
View 5 Replies
View Related
Feb 5, 2014
I have used a formula to achieve this before which seemed to work although now it seems to be replacing other data already in the worksheet so I am unsure of how to fix, thinking I should just start again.
The file in question is a tracker of activities, Column A (sheet1) is the Status and once the status is "Closed" I need to run a macro that copies all closed activities to Sheet5 at the bottom of previous closed activities. Once this is done I already have a macro to delete all "closed" activities from Sheet1 meaning that it is vital the new closed activities stack onto the bottom of previous closed activities.
The Column Headers start on Row 11 with activities running from Column 12.
View 1 Replies
View Related
Feb 12, 2014
create a formula for my data. I want to pun binning as per criteria given.
Bin 1: IR < 150 & VR >62
Bin 2: 150<IR<300 & VR >62
Bin 3: IR >300 & 62< VR <30
Bin 4: IR >300 & VR <30
Example data
Data 1 : IR = 80 & VR =68 --> Bin 1
Data 2 : IR = 200 & VR =68 --> Bin 2
Data 3 : IR = 300 & VR =25 --> Bin 4
Data 4 : IR = 350 & VR =45 --> Bin 3
View 10 Replies
View Related
Jun 11, 2009
I am using this sheet as an example
[url]
the data contains date/time info in column A and weight data in column B which cycles for when a tank is filled and subsequently emptied (indicated by values below 100)
I am looking for a script that will:-
a. identify these cycles using the column b data and seperate out or return the date/time values for cycle start and end
b. report the max value in column b for each cycle
The max value of b data will allow me to know which product was in the tank. I will then know the date/times for each time a particular product was made. I then want to extract the data from the rest of the columns for the specified dates
I am hoping this sounds lot more complicated than it actually is but I am completely lost when it comes to programming VBS and macros so I desperately need some help.
View 14 Replies
View Related
Oct 21, 2007
How can I identify a cell type at excel sheet (w/ VBA command) ?
I find this command (from Access forum):
http://www.thescripts.com/forum/thread601180.html
but its working only with Access...
View 4 Replies
View Related
Oct 8, 2008
I have a set of data about with approx 7500 cells all contained in one column. The data has a series of peaks that happen, and I need to identify each peak value and place it in a cell. The peak does not occur at regular intervals but they are somewhat regular, as in within 130-230 data points. So, if one could find the first peak in the first 200 cells, identify it and store it somewhere, then look in the next 200, store it, etc. I don't know how to do that in excel.
View 4 Replies
View Related
Apr 27, 2014
I have data (e.g. PPL0106AU) in columns A (Rows 2 to 104) & C (Rows 2 to 303) and need to identify which entries are in BOTH columns.
I've entered in column B: =IF(MATCH(A2,C$2:C$303),A2,"No")
This formula is resulting in a duplicate of column A in column B.
View 7 Replies
View Related
Dec 23, 2013
Book 1 sheet1 A
1234567
1234567
2658798
4083029
5507260
6931491
8355722
9779953
11204184
12628415
14052646
15476877
16901108
Book 2 sheet1 A
2658798
4083029
5507260
6931491
8355722
26587965
26365785
26143605
25921425
25699245
25477065
25254885
25032705
24810525
I need get the result Book 3 Sheet 1 A
All duplicates items from book 1 and book 2
View 6 Replies
View Related
Apr 18, 2014
I have in column A and B. A includes two (or may be more) kind of items, i.e. drink and snack. Column B has for example water next to drink and chips next to snack. The list is huge.
How can I generate a drop down list with data which uses the A column to identify the items which it should include. I want to make two separate drop down lists for drink and snack and each should include only those options which belong to those categories. I.e. drink list should be like water, cola, pepsi, etc. The problem is that the list is huge and it's not possible to sort it. Some kind of if statement structure with named range? The drop down should be dynamic in a sense that if I add line to data, it should be picked to the right drop down menu.
View 9 Replies
View Related
Jun 7, 2014
I receive monthly expenditure returns from different departments which I have to consolidate. The problem I'm encountering is that some departments submit their data as a monthly figure and some as the cumulative position. It would be useful if I had a formula that identified what data type was submitted and from that calculate both the monthly and cumulative figure.
If you look at the attached example I'd like to input a formula in columns I and J that uses the data contained in columns B to E to calculate the monthly and cumulative expenditure figures.
View 2 Replies
View Related
Jun 29, 2007
I need to identify the errors, duplicates, typos and such between two spreadsheets of over 4000 rows of data each. The Macro: I got a macro working, but it's not perfect. So far, it can only tell data that's missing on spreadsheets A, or B. However, it can't tell which are the duplicates, typos, etc. Please look at the sample for more details. The code is included in the sample. And for your convenience, it's right here:
Sub difference_general()
Dim frontcount As Long
Dim backcount As Long
Dim diffcount As Long
Dim nosrcflg As Boolean
Dim front_ref As String
Dim back_ref As String
Dim anydiffflg As Boolean
Dim ftnotexistflg As Boolean
Dim invnotexistflg As Boolean
Application. ScreenUpdating = False
Application.Calculation = xlCalculationManual
Sheets("Diff").Select
Cells(1, 1).Select
Rows("2:65536").Select
Selection.Delete Shift:=xlUp
Cells(1, 2).Select............................
View 2 Replies
View Related
Feb 18, 2010
Need function to calculate the end of quarter for a given date after adding any number of months to that date. Example cell A1 would contain 01/15/2010. I want to add 6 months to A1. A2 would contain 6 making it 07/15/2010, B1 would contain a function that would display 09/30/2010.
View 2 Replies
View Related