Excel 2007 :: Locate Peak Values In A Column Of Numbers
Nov 8, 2013
In the attached spreadsheet I would like to locate the peak values of the numbers in column "F". I don't know if this is best done with a series of functions or by using a macro.
Column "F" translates to the light blue line on the attached chart. Column "F" (MACD) is the difference between a 12 week exponential moving average (EMA) and a 26 week EMA.
I would like the peak values from column "F" re-stated into column J,K,L or M. Ideally I would like to find the highest peak that occurred in a rolling 12 weak period. So not all peaks would need to be posted. By doing this I would only be identifying longer trends .
I'm using Excel 2007. 25 years experience using Excel and functions. Limited experience with Macros though long ago I used to write C code.
I have inherited a series of Word reports containing links to charts in several Excel files. I can tell by the link in Word that one of the charts is named 'Chart 6'. Is there an easy way to locate which chart in the Excel file is 'Chart 6' (and on and on for all of the other charts linked in the Word doc)? There are upwards of 21 charts in each Excel file linked to each of the Word reports. I am using 2007 but the files are in 2003 format because of limitations of the program from which the data comes for the charts.
I have a column in my data set that consists of dates and times in this format: 2014/08/02 01:46:49 PM. I am trying to convert these dates and times to numbers so that I can actually use these values for calculations and regression analysis. When I click on one of the cells, I get a number that is revealed along with decimals. For example, the cell with 2014/08/02 01:46:49 PM had a stored value of 41853.574. I tried to highlight the entire column of dates + times and click on the format cells button. I selected the number category under number but that did not work. I also tried to use the =DateValue(Cell #) function but that did not allow for distinguishing between the same date but different times.
What are my options for converting these dates and times to numbers that I can work with? Is there a way to get the entire column of dates + times to show each cell's numeric stored value?
I need to find the average numbers on sheet 1 column D. Column D contains numbers as well as Blank cells. The info will be presented on sheet 2 in a monthly view. In other words i need to ssearch awithin a date range and determin the average of those numbers. This works on some months but return a DIV/0 erro most of the time.
Autofill column B with sequential values based on whether value in column A changes its value.
I would like to autofill column 'B' with sequential values (i.e. GenoMap1, Genomap2, Genomap3,... GenoMap10, GenoMap11, GenoMap12,... GenoMap104, GenoMap105, etc...), but changing to the sequential GenoMap# only when the value in column A changes.
I'm using excel 2007 sp3. I have a function that I want to adjust so that, when used, it spits back the last two numbers in a specific cell. Is there an easy way to do that? If my cell said blahblah12395-01, how can I get excel to gather the '01'? My current code is below...
Code: RowPos = RowSpec & ", and " & Range("C" & LoopStrt) The 'Range("C" & LoopStrt)' is what I currently have to gather the contents of the cell. I have a message box later that displays the "RowPos" string.
Using Excel 2007, I have a very simple spreadsheet made up of only two worksheets that I am using to track the songs played by a band during a current tour.
One worksheet is called "Summary" and the other is called "Setlists". In the Setlists worksheet I list every show played (10 shows so far), and every song played from each show. In the Summary worksheet I have very song listed that has been played during the tour in one column (A), then the number of times that song has been played in another column (B). Column B, the number of times each song has been played, is populated by a COUNTIF function that looks at the Setlists worksheet and counts each instance of each song.
What I want to do, very simply, is to sort on column B in order to display the list of songs from the most played to least played. That is where I run into a problem. When I sort my list of numbers, I end up with a seemingly random list that certainly isn't from most to least and I can't figure out why.
Is it possible that the COUNTIF function which populates that column of numbers is somehow throwing off the sort?
I have an issue with two columns in Excel 2007. The first one has a bunch of numbers that run from top to bottom and I would like to move all of the negative numbers from the first column to the second one. I understand that this can be done with the IF command
I've got a main workbook (excel 2007) with a main spreadsheet where i group all the information (text and values) about brands and models linked to 10 workbooks (brands) with several spreadsheets (one spreadsheet=one model).
On the main spreadsheet I've got 16 lines for each model which they have the follow formulas, wich are linked to other workbook / spreadsheet (Mar/Gato)
The difference between above values is 13, it corresponds 12 months and the total column (12+1)
For the formula 3) the table array its the same, the only difference is instead of starting A$3, starts in A$2
5) The update of the formulas 1) 2) 3) for 2014
I'm doing this manually... The formulas are updated like this,for 2013, I've got table array A$3:$AE$78 and the return value (;17, then for 2014 i will have a table array A$3:$AR$78 and the return value will be (;30, and so on
5) Change the network drive
For other reasons I've to change my files to another network drive, something like this:
6) Main Goal
I was thinking using Excel's regular Find and Replace feature to change:
- The network drive designation - the table array area - The return value
But I don't know if this process ( Find and Replace) is safe and clean. I'm doing this manually and I've got on the main worbook/sheet 4000 lines with 3 formulas its 12000 operations!I'm on the 350 line....!
The main goal is to update the all formulas (links) to "brand" workbooks and inside "model" spreadsheets automatically with a macro.
We were looking at a list of about 100 FedEx tracking numbers, each 30 characters in length, in an otherwise blank Excel spreadsheet. All tracking numbers in column A.
I used the Conditional Formatting - Highlight Duplicates feature to find any duplicate tracking numbers. It highlighted numerous. We sorted the column smallest to largest to look at two duplicates back to back, but found that there were actually no duplicates. Excel was highlighting values that had the *first 25* characters the same, but it didn't matter what the remaining characters were. For example:
1234567890123456789012345XXXXX and 1234567890123456789012345YYYYY
were highlighted as duplicates of each other.
Excel only looks at the first 25 characters when analyzing duplicates (at least in this specific function). That in and of itself blows my mind. Tracking numbers seem like an abundantly common type of data, and to think that Excel would fail to analyze them in such a simple manner seems impossible to me.
It gets slightly more confusing though. If you back a character off the end of the values, it NO LONGER sees them as duplicates. So...
1234567890123456789012345XXXX and 1234567890123456789012345YYYYY
are NOT highlighted as duplicates while
1234567890123456789012345XXXXX and 1234567890123456789012345YYYYY
ARE highlighted as duplicates. So there's some funny business going on about values of the same character length. Maybe Excel first looks at character length before analyzing specific characters. If length doesn't match, it doesn't even bother to analyze specific character values. That seems like a very strange programming choice though.
I have a (very) large spreadsheet which contains a column of numbers. I am trying to work out a way to identify all of the times when this column has 3600 or more consecutive zeros. Ideally, I would like it to tell me how many and the size of these periods of 3600 or more consecutive zeros, but I would settle for something as simple as just highlighting these parts.
I am working with excel 2007 in windows 7. I am working with small animals that have been outfitted with a RFID (radio-frequency ID) tags with unique UID codes. In a sheet called Tag_info I have a list of the unique UID's of the tags that are in use along with a number of parameters (the colony in which the animal with this tag is situated, if it was treated with something, its age etc). I left out most of the parameters because they aren't relevant to my question, but it looks like this with each UID only once in the list:
A B C
1 UID Colony Treatment
In a 2nd sheet, a ton of data is saved by the scanners that read the tags as the animals pass by scanners in a number of locations. The relevant data for my problem is basicly the timestamp (UTCTime_Rounded). Since animals pass by the same scanners multiple times, and scanners may read the same 'passing' as multiple signals the column with UID's here contains tons of duplicates (unlike in the Tag_info sheet where every UID is only displayed once). Once again, I left out the irrelevant data for simplification so that the data looks like this:
A B C D
1 UID Address UTCTime_Rounded Age at read
So finally, what am I looking for? I want a formula to look up the UID's from the Tag_info sheet to find and return the first and the last timestamp (UTCTime_Rounded) for that UID in the RFID_Scan_values sheet.
So that formula basicly has to return the min and max values for UTCTime_Rounded, for each of the UID's in Tag_info. The output would look like this (I did it manually for this dummy dataset since I didn't get any formula to work yet):
A B C D
1 UID Colony Treatment First scanned
Tag info And then a similar column for the Last scanned, max values.
I am working on word documents that has financial numbers on them. I am copying word pages to excel to calculate the numbers by using formulas and etc. I will cut to the chase; is there a way or a macro to insert into an excel template workbook(.xltx) when we open the template there will be a command button to select the word document (which we want to copy its pages) to excel sheets. When a new page begins a new sheet will be created and the page will be pasted on the new sheet.
It is not important if it has to have a command button to select the word document it is ok to run the macro and select the word document and it does not has to populate sheets according to length of word document (I can create lost of free sheets on the template)
The main idea is to gain the time I spend on copying the word document to excel sheets. Some documents can be very long (100 pages). I am using MS Office 2007.
I triend to export data but excel does not allow me to select word documents.
Excel 2007 Conditional Formatting. I am trying to apply conditional formatting to a wide range of cells. I only want the rule to adjust the color and shading, under the FONT tab in the section below. Specifically, I do NOT want to adjust the number format (I have the user select the scaling and use VB to populate the number formatting). I accomplish this by removing the number formatting by going into the conditional formatting rule, clicking on format, and then on the first tab (Number) -- on the bottom right there is button to Clear.
This resolves the issue perfectly, and I can operate the report exactly as I would expect.
Unfortunately, when closing the report (after a save), and then re-opening, the conditional formatting number format is no longer cleared. Worse yet, because it no longer is cleared, the scaling VB doesn't work, unless I go back into conditional formatting rules, and go to the number tab, and click clear.
I need to remove the duplicates under column B for each item under column A and I can't seem to figure out how to do it.
I'm using Excel 2007; I would prefer a VBA solution, as I have to do this on a monthly basis. However, if a formula is the best way to go, then that's just fine. Either way, I'm preparing the data for a pivot table. I am unable to post the actual document in the interest of data protection.
Essentially, I'd like to turn this-
_ A B 1 Paris Bill 2 Paris Bill 3 Paris Mike 4 Paris Derek 5 Paris Derek 6 London Mike 7 London Bill 8 London Mike 9 London Bill 10 London Derek 11 Tokyo Derek 12 Tokyo Derek 13 Tokyo Derek
_ A B 1 Paris Bill 2 Paris Mike 3 Paris Derek 4 London Mike 5 London Bill 6 London Derek 7 Tokyo Derek
In other words, each city should have only one instance of any name that accompanies it; not all names will accompany each city.
Sheet1ABCDEF1THE SUM OF2GAME NUMBERSINDIVIDUAL 3GAME NUMBER41101928=152112029=263122130=374132231=485142332=596152433=6107162534=7118172635=81291827369Excel 2007
Sheet1HIJKLMN12Last Nights Fantasy 5 Numbers3411/11/12051922293256sum of 7digits/#5142589pattern21110101112Full PkgAll Possible Patterns of 13CombinationsSum Of Digits1415129,0241111116193,536211101736,288221001816,12831100191,728320002028841000Excel 2007
Need a formula in Cols J7:N7 to return the sum of the values input in J4:N4 as a single digit. The table in the first image shows what the results should be.
I have 50 000+ rows that covers fiscal years from 2006 to 2014 and I want to calculate how many unique clients are there per asset type per fiscal year. In addition, the results table needs to adjust to filters i would use on the raw data..
I have a workbook with several tabs. the first tab is a data input sheet: subtotals from this sheet get posted to cells on the other sheets. at the top of the Data sheet is a drop down validation list that the user will select the next month from. On each of the other sheets, is a grid with calendar months down the left hand side and years across the top:
I am trying to figure out a simple method to check whether there is data on any of the four other sheets in the spot corresponding to the month selected by the user on the Data tab. the format of the validation list dates are dd/mm/yyyy in cell B2 on the data tab.