Formulas Results Placed In Continuing Sequence
Feb 11, 2013
IF(A1=1400,(AVERAGE(A1:A2)),"")
Placed in column B.
This formula will do what I want, but 1400 may show up 5 times in 20,000 rows. You can change them to values and delete the blanks to move them up where you can see them.
1. That is more time.
2. This is living data changing all the time, so I need the formulas to remain.
Is there a formula that will place each event under the previous in the column B? The first event in B1, second B2, third B3, and etc.
View 9 Replies
ADVERTISEMENT
Dec 10, 2013
I am having trouble with formula to calculate daily results.I can only calculate results base on daily plan.
please follow this link [URL] .....
Part A
2/12
3/12
4/12
5/12
6/12
plan
0
0
50
50
0
[Code] .....
View 5 Replies
View Related
Sep 20, 2008
In sheet 2 of my workbook I have a whole bunch of formulas that process data from a timeseries in sheet 1. What I want to do is to make a macro that will export the results of some formulas into a list in sheet 3, so that I can keep this info as I move on to the next time series.
Export the result of cell D15 in sheet 2 to cell B3 in sheet 3. But if B3 already contains information from another time series I want the info from D15 to go to cell B4 and so forth.
View 10 Replies
View Related
Dec 23, 2013
I am building a sheet that facilitates managers at our company decipher information that is given to them on a daily workbook I created.
I want to have a drop down menu in Col J, that refers to the major questions they will ask.
Time started (Before)
Time Finished (After)
Number of Cards (More than)
Stops Per hour (more than)
Amount of Time Taken (More Than)
I have set up in Col (K) a secondary drop-down list which based on the question selected in (J) will offer options for the answer E.G Time questions will make (K) refer to options based on time and selections based on amounts will offer numbers as an answer.
The elements in brackets are the parts of the formula that create the search option. E.G If select 'Time Started' it will search for all records that started before the time selected in the next col (K)
Right if that makes sense.. I have completed this. so I have the following: A question drop down list in (J), and an answer drop down in (K) which is dependant on the type of question asked. (I have attached an example)
I want to now have a totals box after the question where it displays a total amount of cols that are true to the details in the question.
After that (if possible) I will want to use conditional formatting to highlight the ones that reflect to the question.
Realistically if possible i wouldnt mind creating a question box, a box that allows them to select 'more than', 'exact' or 'less than' and then the specific value. Basically a conditional formatting box for dummies within the worksheet. Attached is a demonstration.
View 5 Replies
View Related
Jul 25, 2012
My task is to sum up data in a worksheet which counts on the number of "working days"(Exclude Sat, Sun and Public Holiday) between "the date of receiving the case" and "the date of completion" of the same case.
So here I have already listed out the days of each month to distinguish "Working Days" and "Non-working days" by "1" and "0" respectively for the easy calculation of the no. of working days as I think.
like this(January):
Date
Results (Exclude holidays)
1/1/12
[Code].....
Then, I use the lookup formula to determine the receiving date (beginning) and the submission day (Ending) sucessfully.
Receiving date
completion date
Receiving date
completion date
1/3/2012
1/8/2012
1
0
Here comes the problem, I want to sum up the range of cell from the result of 1/3/2012 to 1/8/2012, i.e. (1+1+1+1+0+0)=4 to get the total no. of processing days of each case. I tried to use INDIRECT like "=SUM(INDIRECT(VLOOKUP(F5, A2:A226, B2:B226)):INDIRECT(VLOOKUP(G5, A2:A226, B2:B226)))" but it returns me #REF!
View 3 Replies
View Related
Jul 16, 2012
how to return the top 5 results in a set of data.
In a nutshell, I have data that needs to be sorted but some intermediate to advanced (to me) excel formula needs to be used to sort the ranking properly. I've already used index, match and large but it does not suffice.
View 1 Replies
View Related
Sep 23, 2009
If Then Else not continuing. What is wrong with
View 5 Replies
View Related
Jul 11, 2008
From cell A1 to A10 I have the figure 5412587
In cell B1 I want the figure in Cell A1 to concatenate with the figure one but in cell B2 instead of figure one with figure two etc. etc.
So B1 will be 54125871, B2 54125872, B3 54125873 etc. etc.
the formula would be Concatenate(A1&1). I want the "one" in this formula to be increasing so in B2 will be Concatenate(B1&2) et.c etc.
The problem is that I dont want to add an extra column to replace the 1, 2, 3 etc. in the formula.
View 9 Replies
View Related
Jan 16, 2010
I have an Excel 2007 Workbook that is used to do a variety of different reports. Each spreadsheet within this Workbook is a different report. All reports need the same Header format that is linked with new data that is entered with each new report. The reason I need a header is because each report may vary in size from 1 page to 6 pages, it all depends on how much is reported on and a single completed report will use a combination of other reports.
Here below is a format that I am trying to achieve
(Linked Data) ‘Employee names located top center
Date: (Linked Data) ‘With Date: texted before link, located left index
Address: (Linked Data) ‘With Address: texted before link, located left index
Or should I just use
=Sheet1!A1:C1
On Sheet1 as source to other sheets, but if I do this how do I use this like a header for continuing pages
View 2 Replies
View Related
Jun 21, 2012
so on sheet 1 i have a list in column b (as below) and in column G I want to put a note "not included" if the cell matches what is in sheet 2:
AAA
BBB
CCC
DDD
EEE
On sheet 2, column A I have a list of items that I want to not include which I want to be able to add/remove/adjust over time. For example:
DDD
EEE
FFF
LLL
I can get it to put in the correct text into sheet 1 with the following but I don't know how to get it to look through all values on sheet 2 and then only enter the "not included" on sheet 1 if it is listed on sheet 2.
So far I have
Sub checksheet()
For Row = 1 To 428
For col = 2 To 256
[Code]....
This only does it for what is written in cell A3 on sheet 2 and does not keep going down the list in sheet 2.
I think I need to define the range better on sheet 2 and ask it to look through that, but im not too sure.
View 4 Replies
View Related
Jan 14, 2009
I have a layout for printing as attached. This is a front carton label. Depends on the carton qty, I need to print many times of those pages whether changing the carton times before every print out. For instance I print from 1 to 550. Each time I modify the carton numbers and printing it, that means 250 print job! I want Excel prints all(between) pages with given first and last carton numbers , is there a way to do it?
View 4 Replies
View Related
Dec 1, 2009
Im looking to ensure the sheet contents are clear before continuing with the macro routine. At the moment however, the macro runs I see the data flash up and then off. So it appears the data is being cleared as soon as it loads. Current code is:
View 2 Replies
View Related
Mar 2, 2012
I'm trying to write some code that will check if specific files in a folder are present before continuing code.
I've looked on-line and found various code that checks if a single file is present whereas my requirement is slightly more demanding.
Some files might be present and others not. The code must check ALL necessary files are there then run main code. If even any single file from say 5 files is missing, code must exit.
I was thinking of using an array to store all files names and then use a "For Each XX In XX" to loop through the array and check each file is present?
This is what I have so far:
Sub XX()
Dim strPath As String, LinesDelete As String, Applepnfile As String, MpnStock As String
Dim myArray() As Variant, myElement As Variant
Dim myArray() As Variant, myElement As Variant
strPath = "Z:AppleApple Deliverys"
[Code] .........
View 5 Replies
View Related
Dec 10, 2012
I want to make continuing serial numbers in excel in order to print labels to be able to track my deliveries. i know i can drag the fill cursor to automatically make it go the next number. however i also want my serial number should represent the month and the day the invoice was printed.
for example i want the serial number should be
column a (Jan 01) column b (Jan 02 ) column c (Jan 03)
a1-01-01 a1-02-01 a1-03-01
a1-01-02 a1-02-02 a1-03-02
a1-01-03 a1-02-03 a1-03-02
The first number represents the month (example -a1 for Jan)
The second number represents the day and
The third number represents the invoice
How can i make that when i pul the cursor down it should continue with the invoice number
However when i continue right it should move the day number?
View 2 Replies
View Related
Jun 11, 2013
Basically, in the "Thisworkbook" code , i have some code in the Workbook_BeforeClose section. Currently , it autosaves the workbook in a folder i have specified.
However, i need to add some code.I want to check that a certain cell has a value in it before the user closes the workbook, and if the cell is empty, show a messagebox asking him to enter a value.
I know how to get a messagebox to pop up, the only thing is once the user clicks the OK button,
i need the rest of the code execution to pause, allowing him to make the change then if he clicks the "X" (top right of the screen) to close the file or application, the filesave dialog appears and he can then save the document.
how to go about this because at the moment when user clicks ok, the messagebox just disappears and filesave dialog appears and he doesn't have a chance to edit the cell.
View 5 Replies
View Related
Jul 27, 2006
I am trying to create formula that will show overtime worked in a given day. The code I am using is a simple one ([ cell - 8], for hours worked). The problem is when the time cells are blank/not used it shows a -8 in the cell. what I need to do to create a code that will eliminate the -8 from showing. The cell its self is taking the result from another cell with a formula and then subtracting 8 from the result of the formula in the other cell.
View 2 Replies
View Related
Dec 3, 2013
I am using a lot of linked reports that have to be rewritten each month. For example smaller formulas look like this:
=('S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$228*2)+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$262+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$292
What I want to do is extract the file path from the above formula and make it a composite of several cell references.
So what I need is to have a cell where they can change the month and another where we can change the year. So I set up several named cells that look like this:
_MONTH =11 November
_YEAR =2013
_JOBCARD ='S:PUBLICProductionJob CardsMOLDING
_PATH =_JOBCARD & _YEAR &"" &_MONTH
I tried several versions, I am hoping for something like this:
=('_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$228*2)+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$262+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$292
View 4 Replies
View Related
Dec 15, 2008
I've found a few macros that will automate changing cell references from absolute to relative and they work great. However, when I run the macros on formulas that have references to another worksheet or workbook, the macro will not work correctly.
View 9 Replies
View Related
Dec 11, 2013
I'm trying to automate creating certain keyword combinations I need, based off of the values I input into reference cells in columns A - E; the goal is to compile a list of keywords which I will then use to track my rankings in search engines.
I'm looking to only output 500 keywords, so some of the cells in columns A, B, C & E will not contain data (column D will always have a primary Geo-target listed). This results in some of the concatenate formulas I've created outputting partial data (i.e. if there is no data in cell A10, and cell D2 contains the word "Knoxville", then cell I10 will output the data, "Knoxville "). How can I setup conditioning formatting or a formula so that these auto-generated cells appear blank if one of the reference cells has no data within it?The reason why I need the above to work is because I want to setup a formula that automatically counts the # of keyword combinations created by the data entered into any of the reference cells. With the partial combinations being listed, it skews my data. Which leads me to my next question: what is the best formula for counting the # of cells containing a full keyword combination from any of the cells listed in columns G - O (minus the data in the header cells; i.e. G1, H1, etc...)?Lastly, is there a formula I could use that would then aggregate all of the full keyword combinations within the "Complete Keyword List" column (column P)?
View 11 Replies
View Related
May 12, 2006
I have in column " A" 500 rows with numbers in random sequences each
sequence has random number of rows , each sequence is seperated with a blank
cell (the result of a formula) some sequences have zerrows included.
I need to find the lowest number in each sequence and put that number in
column
" B" I also need to find the highest number and put that number in column "
C"
eg:- A B C
4 2 10
6
2
8
10
blank cell
7 7 50
9
11
13
50
18
21
30
15
blank cell
3 1 17
5
0
1
0
0
17
6
some sequences have two or more of the same numbers , in case of two ore
more of the same numbers only one is needed
View 11 Replies
View Related
Jan 10, 2013
I am running Excel 2007 on Windows Vista Business 32 bit. Recently I have noticed that if I enter a formula into an empty, unsused cell, it is recognized as a formula. If I modify that formula, it is then recognized as text and does not work as a formula. The only way I can get the cell to recognize a formula is to delete the cell and start over. This same scenario does not occur on previously stored workbooks. I have checked all of the flags that I know about, including the Options function.
View 3 Replies
View Related
May 13, 2008
I have a macro running this code to strip out unwanted formulas and formatting.
Sub Quote_Wrapup()
'To stop screen flicker
Application.ScreenUpdating = False
Range("CDandC").ClearContents
Range("qdata5,qdata6").Font.ColorIndex = 2
'To delete delivery address lines if 1st line empty
If IsEmpty(Range("deliver_line1")) _
Then Sheets(1).Range("deliver_rows").EntireRow.Delete
'No End If required as only one action as a result of the If
Range("Item_Nos").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Columns("A:E") = Columns("A:E").Value .........................
A spreadsheet based on my template has been sent to me because the macro won't run properly. When I try to run the macro I get a Runtime Error '1004' Method 'Range' of object '_Global' failed on the following line. Columns("A:E") = Columns("A:E").Value.
View 4 Replies
View Related
Jun 24, 2009
I would like to create a column with letters from alphabet in a sequence. If I write A and in cell below I put B then highlight the two cells and drag down I get a repetition of A and B. How do I get the following alphabet letters ie. C,D, E etc.?
View 7 Replies
View Related
Aug 4, 2009
I have code that adds the content of a userform directly onto the next available row starting at column B, using:
View 3 Replies
View Related
Nov 10, 2009
I have Excel 2003. I am trying to find the next number in a sequence of numbers. The number range is 1-59, and the sequence is 89 numbers that go like:
1
5
8
3
7
10
6
2
5
3
8
11
41,...(to the 89th number)
View 14 Replies
View Related
Apr 2, 2012
How can I get the Longest sequence of 3's. E.g.
CA
1
2
3
5
3
3
5
4
View 2 Replies
View Related
Apr 16, 2012
Need to find and then sum the sequence on a certain number. Using the number 1 in the example.
Example:
0
2
1
2
1
1
1
4
3
2
Answers: 1,3
View 9 Replies
View Related
Mar 31, 2009
My question is, a formula was provided to me that add's a comma and a space after a 15 digit sequence of numbers, that formula is:
=IF(MID(C378,LEN(C378)-1,1)="W",C378&" ,",C378)
And what that does is it would change data in a cell that looks like this
01-02-034-05-W2 TO 02-03-045-06-W2
To this:
01-02-034-05-W2 TO 02-03-045-06-W2 ,
The formula works great, thanks to the help of the posters!
However I just ran into an issue, what if I have a set of data in a cell that looks like this:
01-02-034-05-W2 TO 02-03-045-07-W2
02-02-034-05-W2 TO 02-03-045-07-W2
03-02-034-05-W2 TO 02-03-045-07-W2
And I need a space and a comma at the end of each sequence, so the above would change to this after the formula is applied:
01-02-034-05-W2 TO 02-03-045-07-W2 ,
02-02-034-05-W2 TO 02-03-045-07-W2 ,
03-02-034-05-W2 TO 02-03-045-07-W2 ,
Now the data in the cell is wrapped so it lists one set of numbers, then the next set, then the next set as seen above.
View 9 Replies
View Related
Jan 5, 2008
I'm trying to write some code to calculate the value of a Fibonacci Sequence, at a random point in the sequence.
For example if I have 5, 15, 30, 50, 75, 105... and my random value is 3 it would return 30.
Being new to VB the only way I've of thought of to do this is a massive if then statement.
View 4 Replies
View Related
Jan 15, 2013
I have a dynamic worksheet containing a variable number of rows that I would like to have automatically numbered when I run my VBA script. I used Dave Hawley's code as follows, with a modification to begin at cell A2, but it doesn't seem to work, as it only numbers cell A2 and not the rest.
VB:
With Range("A2")
.Value = 1
.AutoFill .Range("A2:A" & RowTotal), xlLinearTrend
.Range("A" & RowTotal + 1).Clear
End With
RowTotal is just a variable that holds the results of a simple last row finder. How to make this work?
View 4 Replies
View Related