Adding A Note To A Formula
May 14, 2009My formula is : =SUM(C8:N8). How do I add a "note" as opposed to a comment to this formula?
View 3 RepliesMy formula is : =SUM(C8:N8). How do I add a "note" as opposed to a comment to this formula?
View 3 Repliesi have note pad file. for your kind information i attched the note pad file i like to convert this note pad file to excel. i want each coloums and rows separate separate same like note pad in xls.
View 5 Replies View RelatedWhat I am looking for is whether or not there havebeen at least three, uninterrupted true cells in that particular column. The time is based off of the last time in that string that the cell returns a true statement. For example: O-Data returns 12:46:00 PM because there aren't any true statements in any of the other three columns between 12:43:00 PM and 12:46:00 PM and there are three true statements in that column.
M-Data does not return a time at 12:42:00 PM, because at 12:39:00 PM there is a true statement returned in the L-Data column (This is what I mean by interrupting a string).
I am trying to run this macro and I get always an "Error 1004" with the select instruction. The aim is to put a note on the same cell in the same sheet in a second (NewFile) workbook and highlight it.
Here is the
Sub FetchNoteinNewFileActivecell()
'
' This macro highlights in red the cell in the NewFile corresponding to the selected cell and adds an empty comment
' Warning: this works only if there is a sheet in the target (NewFile defined in range in Sheet1) file with the same name as the active sheet
'
Dim NwFile As String
Dim CurrenCell As String
Dim CurrenSheet As String
I have a range of cells containing text values in BS15:DS50000.
What I want to do is look at each cell in the range BS15:DS50000 and if the cell contains the "" character, then populate text from column BH (if any) as a cell note.
For example, if cell DB42 contains the "" character somewhere within its text, then populate the text in BH42 as a cell note within DB42.
If BH42 is blank, then no cell note. (Also, if DB42 does NOT contain a "", then no cell note either.)
I need to make all cells that have a 'Note' in them 'yellow'.
this will be for the entire workbook.
I've attached two separate workbooks that have indentical sheets in each. One workbook is a 2 day later update of the first. I'm trying to develop VBA code that will open both workbooks uses column B (work order #) as the unique identifier for each like sheet (which represent a month) and compares all other columns for that unique indentifier. Then I need to generate 3rd workbook that is identical in format (has a sheet for each month) and content to the two source ones but shows the unique identifier and any changes:
Column A (due date)
Column d (order quantity)
Also,if in the newer workbook(5_12_06) there exist a unique indentifier (work order #) that was not in the older workbook(5_10_06) and the same if there exits a unique indentifier in the older workbook that was removed in the newer workbook.
below is the code i use to create a lotus note email.
i would like it to display my email and send it manually instead of sending out automatically.
' Open and locate current LOTUS NOTES User
Set Session = CreateObject("Notes.NotesSession")
UserName = Session.UserName
[Code].....
I have a macro that needs a major improvement in performance. I have a Quad Core 2.67GHz single processor computer and with the current logic it calculates 20 values per minute. I have data sets that can be up to 400,000 data points, which means it will take 333 hours. The attached Sample file has over 9000 point. For this data set it takes 7.5 hours.
The core logic of the macro is to extract what I call “Break Point” into column M and “Time Difference” between the Break Points to column O.
I got the code from this forum (thank you DonkeyOte) and made some modifications. The modified logic does the following:
1) The user inputs the starting cell. In the Sample I use G200.
2) From cell defined in button, It moves down one cell in that column and compares that value to the original cell.
If the value is greater than original cell then there are 2 possible outcomes:
a) move down 1 cell in column and if that value is less than original cell, then extract that value and copy that value to the column M (Break Point value) and copy the Time Difference Value to column O. “Time Difference” is calculated as the difference between the 2 point breaks in Column A. In this case I’ve hardcoded 0.003472222 to get 5 minutes which matches up with each incremental time in column A, but I would like the Macro to automatically calculate that by the difference between Column A values.
b) move down 1 cell in column and if that value is greater than original cell, then move down again, until find lesser value than original cell. Once we find value less than original cell, extract value and copy value to column M and copy the Time Difference Value to column O.
Once lesser value has been copied to new cell, logic is now:
a) move down 1 cell in column and if that value is greater than original cell, then extract that value and copy that value one cell to column M and copy the Time Difference Value to column O.
b) move down 1 cell in column and if that value is less than original cell, then move up again, until find greater value than original cell. Once we find value greater than original cell, extract value and copy value one cell to column M and copy the Time Difference Value to column O.
At any point in the process if we find a value equal to the starting cell, we ignore it and the logic continues. The logic continues flip flopping like this to the last value of column G.
OR
Here's the logic now in reverse I need:
If after moving down 1 cell of original cell, the value is less than original cell then logic has the following 2 outcomes:
a) move down 1 cell in column and if that value is greater than original cell, then extract that value and copy that value one cell to column M and copy the Time Difference Value to column O..
b) move down 1 cell in column and if that value less than original cell, then move up again, until find greater value than original cell. Once we find value greater than original cell, extract value and copy value one cell to column M and copy the Time Difference Value to column O.
Once greater value has been copied to new cell, logic is now:
a) move down 1 cell in column and if that value is less than original cell, then extract that value and copy that value one cell to column M and copy the Time Difference Value to column O.
b) move down 1 cell in column and if that value is greater than original cell, then move up again, until find lesser value than original cell. Once we find value lesser than original cell, extract value and copy value one cell to column M and copy the Time Difference Value to column O.
Again, at any point in the process if we find a value equal to the starting cell, we ignore it and the logic continues. The logic continues flip flopping like this to the last value of column.
Once all the Break Points and Time Difference between Break Points are extracted for each value in column G, the AVERAGE, STDEV and MAX values of column O are calculated in column Q, R and S.
There is a loop that controls the execution of the core logic until the last value in column G. In the macro I’ve hardcoded last row being 9171, but I’d like the Macro to figure out what the last row is automatically.
I know this description is a bit long but I’ve worked for many hours on getting it work properly. I just need some help to make it run much faster. I hope someone can help me out on this. I have the right logic, just need the speed now and I really can’t figure it out.
Attached is a sample files demonstrating showing how the logic to flips back and forth as moving down the column starting in cell G200.
The sample shows the results first 4 loops (Rows 200 to 203). The values in M and O are the results of the fourth loop.
Again, assistance is very much appreciated because I've taken this as far as I can with my limited experience.
EDIT - I can embed the Macro, but it'll probably much easier to actually see it in the sample file.
I have a spreadsheet that contains a list of dates: What I need is a formula that will count the number of cells that hava a date more than 6 months old. I also would like the field automated so I don't have to change the date manually every day.
=COUNTIF(S5:S593,"<2012/06/18") This formula will give the correct read out, but I must change the date manually.
My attempts at adding a =today() command in place of the date result in 0 being the result (not correct)
This is what I have tried: =COUNTIF(S5:S593,"<"=TODAY()-"183")
It also renames the CommanBarPopop with the new filename.This allows the user to open both Projectworkbooks/files (If required) and load each CommandBarPopup for different filenames .Therefor opening the Userforms and worksheets for the CommandBarPopup clicked ...
View 9 Replies View RelatedMy problem is that I want to select a cell with a "Sum" formula ex.
View 5 Replies View Relatedhere is my formula
=SUMPRODUCT((MONTH($A$10:$A$624)=1)*($C$10:$C$624="DO"))
I want to add this:
($C$10:$C$624="DO")) AND: "SD" AND "V"
how would i add these other two factors?
I need a formula to know the total specially for each of the numbers in column A. Like for e.g when you see 1 in column A I need to to know the total by adding all the numbers just for 1 in column B. So the total for 1 in this sheet would be 10+85+5=100. So automatically the answer should come as 100.
View 11 Replies View RelatedAverage in Cell J8 : J73
Handicap in Cell I8 : I73
What I’m trying to achieve is the Lowest Average Plus handicap – 1 = total
Example
Cell
J8 = 105
J9 = 169
J10 = 126
J11 = 155
Cell
I8 = 45
I9 = 35
I10 = 54
I11 = 21
Result 105 + 45 =150 – 1 = 149
I have a number of cells, with a rule as follows, but within each cell the company name and month vary, over 836 cells, so I cannot do a find and replace so wanted to know if there was a way of adding the following part to the rest of the formula within the 836 cells in one go, rather than tediously going through each cell and copying/pasting.
The part I would like to add to the various cells - 'Master Quote Sheet'!$H$18:$H$6021, "Won"
Existing formula (the varying parts within the different cells are the "02.2014" and "Company Name"
=SUMIFS('Master Quote Sheet'!$J$18:$J$6021, 'Master Quote Sheet'!$E$18:$E$6021, "Direct", 'Master Quote Sheet'!$A$18:$A$6021, ".02.2014", 'Master Quote Sheet'!$D$18:$D$6021, "Company Name")
I am desperately trying to add a simple subtotal formula but receive the same error ("Type mismatch"):
View 4 Replies View RelatedI need a code that looks through Column A (account numbers) then adds up the profit from Column X for each account number. The total profit for each account is then sent to different sheets. Account 100 profit sent to Sheet ‘S1’, Account 200 profit to Sheet ‘S2’, and so on…….The profit figure will go to Column C (Sheets S1,S2,S3..), in the next empty cell.
I have a code here that works, but problem is it places a formula in the cells in the output sheets. I dont want any formula there, just the value that is calculated. This is because everyday there will be new values in the 'Summary' sheet, and if the macro inserts the same formula everyday I data(profit figure) from the previous day gets distorted.
I am trying to insert a formula into a VBA Code but I get an error msg.
The formula is;
Currently have a formula to enter the last value in a row in cell B1. What i need is the formula below in B1 then a formula in A1 which will show the value before the last entry in row 1. Maybe an offset unless there is an easier way
=INDEX(1:1,MAX(IF(D1:Z10,COLUMN(D1:Z))))
i.e.If H1 was the last entry in the row I want a formula for H1 in cell B1 and a formula for G1 in A1
I have the following code which works plus a formula in cell range G5:G123....how do i add the the formula to the VBA code
Formula =IF(F5"".F5< today () +3 )
I'm making a basic spreadsheet that has to calculate monthly due dates for 'reviews' based on an initial start date.
im using:
=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))
.... i know thats probably dead simple to you guys!
which works fine.. except when it comes to times when the start date is for example 31 january, so the sequence goes:
31 jan....... 03 March.... 31 march
and my problem is i need 1 review in each calendar month, so i need to tell that 03 March to be 28 Feb instead.
Here is my current formula:
=IF(ISERROR(INDEX(Sheet3!$D$5:$D$200,MATCH(E5,IF(Sheet3!$C$5:$C$200=C5,Sheet3!$A$5:$A$200),0))),"0",INDEX(Sheet3!$D$5:$D$200,MATCH(E5,IF(Sheet3!$C$5:$C$200=C5,Sheet3!$A$5:$A$200),0)))
I would like to add one more item to match. I need to match column H in my current sheet, to that of column E in sheet 3. Just not sure how to go about it.
Is it possible to have in cell A1 "Sales Reviewed Weekending" and then the formula =TODAY()-WEEKDAY(TODAY())+1) all together?
View 9 Replies View RelatedField 1 shows as MON 02/06/08 on sheet 1
I would like it so that Field 1 shows TUES 03/06/08 on sheet 2 and so on for every sheet for the remainder of the month.
I would also like it if I could just edit the first sheet then hit print 31 copies and have it count up each for each sheet that is printed.
Or another alternative is to change sheet 1 and have every sheet after that change in succession and then just print the entire workbook.
I have data that is exported to an excel spreadsheet from the phone switch for Average ACD time and Average ACW. Example: one cell is value :07:01 and and the next is :00:42.
I want to add the two together to get :07:43 or 07:43 for AHT. I have tried formatting the cell with custom time and time formats, but I get #Value. I believe the ":" at the beginning is not recognized. What formula can I used to get the two cells to sum?
I have created a survey on excel. When completing the survey, the customer will have to place an "X" in the appropriate column (very satisfied, satisfied, dissatisfied, etc.) Is there a formula in excel that will allow me to add the number of responses ("X's") for Very Satisfied, Satisfied, etc.???
I have this formula in my spreadsheet =IF(ISBLANK(B2), "", C1+1). I need to add a "dash T" to this formula so it shows up in every cell. How and where do i write that into a formula?
View 2 Replies View RelatedI recieve cost sheets from a company and I want to be able to change there number into a formula and mark it up all in one. How would I do this without going into each cell individually and make the change? Example say the number is $100 in the cell I want to change that to =$100/.6 to get a 40% margin. Then I can give this to salesmen with just the retail number but I can see the formula and cost.
View 9 Replies View RelatedI have a quotation that I am working on that I need to add 12.5% onto each seperate line price.
There are 300 individual lines on the quote all with different pricing but they all need 12.5% adding on so I am hoping there is a simple way to do a bulk sum for all of the rows rather than having to go through each row and creating a sum for each. - ie =(K28*1.125)