I just got into the world of PowerPivot, Excel 2013 and Pivot Tables and am in the process of creating a Dashboard which I will then be uploading to SharePoint 2013.
On top of page I added the new timeline filter which I've linked to my pivot charts. Now what I would like to do, is create an additional pivot chart which looks at whatever date range has been used in the timeline filter and subtract 5 years from that. So, when I select a date range of November 2013 - December 2013 in timeline filter, the additional pivot chart will show the details for November 2008 - December 2013. This is where I get stuck.
I'm using two SSAS cubes which I'm combining together in PowerPivot and then display in Pivot Tables and Pivot Charts.
I am trying to create an Excel database where I input a number and it finds the information that I am looking for.
For example, I have a list of 20 different companies that each have various supply numbers for properties ranging over a period of around 400,000 numbers spread out over between them. I want to be able to input a specific supply number on the database and it provides me with the relevant area, contact number for the company, and address etc.
So if the number that I input falls between 3000 and 4000, the details for one company appear. However if I input another number between 4000 and 5000 then a different company name appears.
I am working with Excel 2007. I have a work book with several worksheets full of job data including names, job codes, titles, and descriptions. On one sheet I have names, job codes and titles that I have matched to my companies current personnell data. On the other sheet I have survey job codes, titles and descriptions. I need a hyperlink formula that will take someone comparing the two jobs straight to the description to for comparison information. There are too many hyperlinks needed for me to manually choose the specific cell I need. I am very willing to send an example.
I am looking for a way to have print icons on my spreadsheet that will print certain worksheets once clicked on.
For example: My spreadsheet has several countries, UK, France, Germany...
If clicking on the print icon next to Germany - i would like only the German worksheets to be printed - there would be several worksheets for each country.
I need a macro that will look in column B of a worksheet for the value "Grp2" and begin inserting rows underneath that value based on a variable that I will pass to it. The variable will be how many rows to insert. For example if value "Grp2" occurs in cell B19,beginning at cell B20 I want to insert a specified number of rows.
******** ******************** ************************************************************************>Microsoft Excel - Test2.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutJ19= ABCDEFGHI19XLRTGrp2CODERTSCFLTROASMLTGDOP*20*Begin*insert*rows*here*******21*********22*********23*********24*********25********326XLRTGrp3CODERTSCFLTROASMLTGDOP*27*********Test* [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
I have a question for you that can be much helpful for me. I prepared a macro which is collecting many datas from different pages and entering them on a sheet. Some lines of this sheet are with data and some are empty. I would like to write a code, which will delete the lines in which there is no data. But I would like the code to do this between line 5 and line 225.
I have an excel sheet wherin there is a column that has the data where in the dates are displayed and many other columns.
I get this excel every Thursday so i want to filter this date column in such a way that it give me the data related to the date of the previous week only yet there is a catch here. When i say previous week i mean.
Suppose today is 03/14/14 then i want the data from 03/07/14 till today ie Last week friday to this week full( so cant use Current week option) and then paste it in a new sheet.
I tried the Record part but in that it is taking a hard coded value as i am selecting the date myself. I dont want to change the date manually every time.
I'm working with matrix in vba and i'm trying to put all values of a specific line in that matrix in a line in excel. For example:
Matrix = 1 2 3 4
and i want Range("B1:B2") = 3 | 4 (the second line of that matrix). Is there any way of doing this without perfoming a loop? [something like Range("B1:B2").value = 'range'(matrix(0,0) , matrix(0,1)) ]
I have a list details in ranges "CV:DC" column CV has date entries so with the code given above i just select the date from combo box and check the details by pressing command button..Actually this code is doesn't work with combo box but it works with textbox except date data entries in this mode. So how can i improve this option if im going to use it in combo box.
Private Sub CommandButton26_Click() Dim a, i As Long, ii As Long, b(), n As Long ListBox4.Clear With ComboBox6 If .Text = "" Then Exit Sub If WorksheetFunction.CountIf(Range("cv:cv"), .Text) = 0 Then MsgBox "Bad Data" Exit Sub End If a = Range("cv1", Range("c" & Rows.Count).End(xlUp)).Resize(, 8).Value For i = 1 To UBound(a, 1)........................
I have a data field of about 2000 rows & 30 columns.
These contain records on accidents for 56 offices.
One of the columns contains the date an individual had the accident.
There can be a number of records for each office as there are a number of employees in each office who have had accidents over the last few years.
I need to be able to run a macro or set up filters or formulae to show the row containing the most recent accidentin each office, by office. I also need to display the total number of days since the last accident occurred at the end of each row.
The offices are listed in Column B & the date of the last accident is listed in Column V.
I have a column that can be found in the example attachment. My primary question is, how would I go about filtering out all of the Excel Dates & Times that do not have a multiple of 5 minutes in the "Timestamp". Can this be done w/ out the use of macros by use of the custom filter? My ultimate goal is averaging every hours worth of data so it would rather be hourly data rather than the 5-minute data given. More specifically I would be averaging the "Flow" data. The example given is actually a very small portion of what I am working with. I actually have a years worth of 5 minute data.
Anyway, in my workbook I have a master sheet which contains all the information entered (this master sheet will continue to grow as more information as entered). I want to create a userform to allow someone to search the data by selecting a date range (from/to) and a criteria (Pending/Settled) and for the results to be copied into a new sheet (simply I don't want the raw information tampered with in an unregulated way).
I'm trying to build a report whereby i collate the first punch in and the last punch out from a set of data.
This is a sample data: 02-May-1409:00 02-May-1419:14 05-May-1409:31 05-May-1419:38 06-May-1409:31 06-May-1412:56 06-May-1413:10 06-May-1420:11 07-May-1408:36 07-May-1412:45 08-May-1408:45 08-May-1412:35 08-May-1413:23 08-May-1419:54
My result should be the following: 02-May-1409:00 02-May-1419:14 05-May-1409:31 05-May-1419:38 06-May-1409:31 ***these cells should be filtered out 06-May-1420:11 07-May-1408:36 07-May-1412:45 08-May-1408:45 ***these cells should be filtered out 08-May-1419:54
I am having trouble setting conditional date filters for a column using a macro. I have two columns, A&B, each with dates in each cell. I want to filter column B to show dates that are less than or equal the corresponding cell in column A.
For example: A1=10th June 2014, B1=11th June 2014 --> The filter is set on column B, and B1 is excluded as it is not <= A1.
I now have code that automatically refreshes all pivots and send an email with a brief body and summary table. What I wanted was to have VBA update the pivot table to the latest date before sending out the summary.
The table below is the mentioned pivot above where normally, I would update the Date to the latest date where a value was updated. So where PivotTable11, take Max of Date (only one row)
I need to filter data which is 3 months from todays date or older. I'm going to use it in a macro which downloads the information from our accounts system.
I have set up the filter and it works fine when I manually put the Date in, but when I use the date 'formula' for todays date -3 months and reference the cell its in, it does not work. Here's what I have so far :
The filter from the macro : Range("A:I").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("J1:J2"), Unique:=False
The way I work out the date 3 months from now (in cell K2) : =DATE(YEAR(TODAY()),MONTH(TODAY())-3,DAY(TODAY()))
Cell J1 has the relevent Column Header Cell J2 has the following formula : =" < K2 " (there are no spaces I had to put them in so the post appeared correctly!)
Dim rDataRange As Range Set rDataRange = DBase.Range("rDataBase"). CurrentRegion.Offset(1, 0)
rDataRange.Resize(rDataRange.Rows.Count - 1, rDataRange.Columns.Count - 2).Copy DREG.Range("rdetreg").Offset(1, 0).PasteSpecial xlPasteValues DREG.Activate With Selection .Sort Key1:=Range("rOffDate"), Order1:=xlAscending, Header:= _ xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortTextAsNumbers End With DREG.Range("rdetreg").Select Application.CutCopyMode = False
End Sub
At present the writedetentionregister macro filters the database sheet for a positive balance (in column H) and pastes these records into another sheet called Detention register.
Is there a way of also getting the writedetention macro to count 7 days from the offence date (the E column of the database sheet) and ONLY on or after that date write that record to the Detention Register Sheet?
The workbook containing the database & the detention register sheets are enclosed.
Basically I need to add a column to my source data so I can use it as a filter on my Pivot Table in a different workbook. - something just as simple as TRUE/FALSE if the date is YTD for all years would be ideal.
Have attached an example if that makes it any clearer! nice simple formula would be ideal as sheet is around 600,000 rows long and growing!
I created a large table with data (1700 lines long) and am looking to create a sheet that will use it to do a call for totals whilst filtering for a specific line.
This is what I have currently, filtered by delivery date and key ("furniture desc").
The 58 and 54 are totals for that particular product which I would like to ideally see on a separate sheet.
result1.JPG result 1a.JPG
What I would like to achieve is this: result2.JPG
What kind of formula would I need to use to first filter by date, then by key, then to tally up the quantities and drop them on another sheet?
Bearing in mind that other keys are intertwined on the Y axis so I can't use =SUM(xx:xx)
I have a pivot table with a date variable in a row. I would like to filter these to only show dates equal to, or older than a date value in a cell, when opening the workbook. The max date value is based on the today() function minus 12 months.
I would like to filter between a date range. the dates i need to filter between are in cells A1 and A2. this range contains the start and end of month. It is referenced from another sheet in the same workbook (='Job List'!C2).
i want to filter; greater than or equal to A1 and less than or equal to A2. How I can do it using the advanced filter method. My data range is C2:C9.