Identify Top Quarter Of Data
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
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
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
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
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 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
Mar 13, 2014
What I want to be able to do is,,press the Q key and either Q1, Q2, Q3 or Q4 based on certain parameters appear in that cell.
In column A of my spreadsheet heading 'Quarter', I want to be able to specify which quarter of the year a request was made,,so when I press Q
> if the date is within 01/01/14 and 31/01/14 'Q1' will appear
> if the date is within 01/04/14 and 30/06/14 'Q2' will appear etc,,I'm sure you can workout Q3 and Q4,,
Ive named a cell A1 'TODAY' for reference it has the formula =TODAY() in it and shows whatever the date,,
I have looked at the DATE commands available but I don't think any could do what I need, that's why I was thinking I needed a piece of VB code,,
View 2 Replies
View Related
Aug 19, 2014
I have data like this.
HRM2014Q1
HRM2015Q1
HRM2015Q2
HRM2015Q2
HRM2015Q3
HRM2015Q3
HRM2015Q1
HRM2015Q1
HRM2015Q2
HRM2015Q2
HRM2015Q3
HRM2015Q3
CRM2014Q1
CRM2013Q1
CRM2015Q1
CRM2015Q1
CRM2017Q1
CRM2017Q1
CRM2017Q2
CRM2017Q2
CRM2017Q3
CRM2017Q3
In another sheet I have "Project " , " Start " "End" . I need to find the start and end quarter and fill in. The output should be "
HR 2014/Q1 2015/Q3
crm 2013/Q1 2017/Q3
ATTACHING A FILE-
In sheet- raw data - i need to search on ID- and in "Test.xlsxData" i need to fill in the start and the end date- as shown in Data sheet.
View 2 Replies
View Related
Nov 28, 2008
Formula to get the Quarter number for the highest profit per Product, like in B16:F16.
The excersiser instracted us that it must be with one formula with no Macro, not User Defined Function and not openning additional colums.
I know how to find the qtr. Number - like for A2: =INT((MONTH(A2)+2)/3) but I am lost in finding how to combine the calculation for the Qtr and the most profitable Qtr. probably with MAX on SUM.
View 14 Replies
View Related
Dec 17, 2008
I have a date say 31/7/2008 and I need to return the relevant Quarter.
View 3 Replies
View Related
Sep 14, 2007
In cell A1 I have a date entered as text as "Apr 2007". (That's the way my tool pulls it. Format can be changed if it helps)
I was able to pull the Quarter and year (Q2 2007) using...
A2 ="Q" & ROUNDUP(MONTH(A1)/3,0)&" "&YEAR(A1)
I need to pull the next three quarters and their year. (Q3 2007, Q4 2007, Q1 2008)
View 9 Replies
View Related
Mar 6, 2013
I'm trying to color code the dates that are within the current quarter only. I have dates ranging from now to 2 years from now.
View 6 Replies
View Related
Mar 11, 2014
I have a spreadsheet that tracks all field equipment inspections. This year, certain equipments will need to be inspected twice a year. Ideally, if it was inspected in Quarter 1, it needs to be inspected again in Quarter 3 and if it's Q2 then it'll be inspected again in Q4.
I need a formula that will tell me when the next inspection is due.
This is what I have so far:
Column I (Formula): date of last inspection
Column J (manual entry): "yes" for equipment that will be inspected semi-annually
Column K (formula): The Quarter is was inspected based on Column I's date
Column LThe quarter the next inspection is due
View 5 Replies
View Related
Nov 15, 2007
I have a worksheet containing 5 columns. A start and end date, a number of days between these dates, the quarter number of the start date (i.e. 1 to 4) and then the year.
I want to calculate the average number of days per quarter so an average of days in column C, based on the details in column D and E.
View 11 Replies
View Related
Apr 21, 2014
Macro to run every 3 months, copy the workbook its in, save as a new name, and then delete all of the tabs in the workbook except for the "Menu" tab?
However, I get errors with my code below.
[Code] .....
View 7 Replies
View Related
Oct 19, 2008
I have made a time sheet and am trying to have the total hours and grand total- round up to the nearest quarter hour, I.E. (.25, .50, .75. 00), if anyone can help me please it will greatly be appreciated, this is what i have now, in my totals fields:
ROUND(IF((OR(B13="",C13="")),0,IF((C13<B13),((C13-B13)*24)+24,(C13-B13)*G1424))+IF((OR(E13="",F13="")),0,IF((F13<E13),((F13-E13)*24)+24,(F13-E13)*24)),2)
I Have also attached the file so you can see it completely.
View 6 Replies
View Related
Aug 7, 2007
I need to define a specific calendar quarter and year, and want to do so using a combo box for the quarter (e.g. 1st Quarter, 2nd Quarter, 3rd Quarter, 4th Quarter) and a list box for the year (so the user can select any year desired).
The selections in each item should then somehow define the quarter's date range so I can use it in my SUMPRODUCT calculations.
Example:
User selects '1st Quarter' from the Combo Box
User selects '2004' from the List Box
CurrentQuarter range is somehow defined to equal 1/1/04 through 3/31/04.
If this isn't possible, then perhaps two ranges can be defined based on the user's selections:
QtrStart is set to 1/1/04
QtrEnd is set to 3/31/04
View 12 Replies
View Related
Aug 19, 2007
I was given the formula below to calculate the quarter to date number. The months from 1/1/05 thru 12/31/07 are in cells C3-AL3.
First - can anyone explain the formula so I may understand it and possibly modify it for other uses
Second - wherever the formula has 3:3 and I copy it to the next cell below it, I have to change the 4:4 to a 3:3 - any suggestions on how to do this easily.
By the way, the formulas are in column AO, staring on row 4.
=SUM(OFFSET(A3,1,MATCH(DATE(YEAR(Date!$C$6),INT((MONTH(Date!$C$6)+2)/3)*3-2,1),3:3,0)-1,1,MATCH(Date!$C$6,3:3,0)-MATCH(DATE(YEAR(Date!$C$6),INT((MONTH(Date!$C$6)+2)/3)*3-2,1),3:3,0)+1))
View 9 Replies
View Related