Increase Date By One In Blocks Of Four?

Jul 8, 2014

I have a spreadsheet and I'm trying to add date to the left hand side. I want them to increase by one but there needs to be each date, in a column, 4 consecutive times.

Example
Jun 1 12p
Jun 1 4p
Jun 1 8p
Jun 1 12a
Jun 2 12p
Jun 2 4p
Jun 2 8p
Jun 2 12a
Jun 3 12p
Jun 3 4p
Jun 3 8p
Jun 3 12a

This is for a Dialysis flowsheet and I really need this to work.

View 6 Replies


ADVERTISEMENT

Date Fields Increase Date By Numbers Of Years Based On Lookup Table?

Aug 11, 2013

In column A, I have dates; In column b i have security levels. I have made a table called "Security" it contains to columns, a list of security levels and no of years when each security level is required to be reviewed. the table is setup -

d1 e1
Restricted 5
etc

Example of data
ie.
a1 b1 c1
Restricted 1/06/2012 1/06/2017

What I am looking for is a formula to look up a1 "restricted". then lookup the security table and find "restricted" its value is 5 (years) then add the 5 years to date in b1, but place it in c1.

View 1 Replies View Related

Increase Date In Each Row

Nov 1, 2006

I have two dates in A1 and B1. Eg 24/Oct/06 in A1 and 27/Oct/06 in B1.

Can the range of these two dates be updated to Cell A10, followed by the next row.

Eg,

Cell A10 24/Oct/06
Cell A11 25/Oct/06
Cell A12 26/Oct/06
Cell A13 27/Oct/06

Because the two dates in A1 and B1 are updated by user, the range is not fixed. Eg It could be 20/Oct/06 in A1 and 29/Oct/06 in B1.

View 9 Replies View Related

IF Function Formula Logic: For Every Increase Of Of Mhz, Give 25.00 Per 100 Increase

Nov 2, 2006

I have a test due in the morning, and I really need this question answered ASAP, if anyone could. I need to create an IF formula for this situation: the standard Mhz is 500. Give 55.00 for that standard. But for every increase of of Mhz, give 25.00 per 100 increase.

View 2 Replies View Related

Today Date After Checked Box And Increase Number

Jun 9, 2014

I have set the check boxes for each line. I would like to have the today date to appear after clicking the check box on the next right cell. Do I have to use IF for this one?

ALSO I want the number to count up after click the check box. For example:

Name:
Bob (assigned)- 5
(completed)- 4

Every number of completed line increases every time each box is clicked. How can I do that?

View 2 Replies View Related

Date Formula (increase By 950 Per Month Automatically)

Apr 4, 2009

I would like to create a financial modeling spreadsheet. Basically my problem is this; I want to have a month by month row for 5 years. For the value of each one I would like it to increase by 950 per month automatically.

View 4 Replies View Related

Date Change Using Workload Increase With IF Statements

Jun 2, 2014

I have a tracker where each row has a predicted complete date, this date is already based on some IF statements. I have a second column where I would like a second date to be based on the overall team workload.

the workload factor should add on extra time to the first date.

This would by adding on.

0-40 = 3 weeks (standard time)
41-60 = 4 weeks
61-80 = 5 weeks
81- 100 = 6.5 weeks
101-120 = 7.5 weeks

I have two tabs.....I take the total workload from the Tracker Status and the progress tab is where the first date and the new date will appear.

I tried a formula using a % increase in time (I did this using e.g. 0.33 for 33% for increase between 3 and 4 weeks) (based on the increase in weeks), but it came out with date in 2052!!! This is my formula that doesn't work properly.

=IF('Tracker Status'!B5>=100,'In Progress'!AE2*(1+'Tracker Status'!C22),IF('Tracker Status'!B5>=80,'In Progress'!AE2*(1+'Tracker Status'!C21),IF('Tracker Status'!B5>=60,'In Progress'!AE2*(1+'Tracker Status'!C20),IF('Tracker Status'!B5>=40,'In Progress'!AE2*(1+'Tracker Status'!C19,IF('Tracker Status'!B5

View 9 Replies View Related

On Today()+1 Increase Date In Cell By 1 Month

Aug 22, 2008

I have 22-08-08 in Cell A2 I would like it to change to 22-09-08 on 23-08-08 ideally using edate (but not neccessarily).

Perhaps I can add a formula with conditional formatting eg formula is = "On Today()+1 Add 1 month to cell A2"

View 9 Replies View Related

Date Auto Increase 7 Days When Drag / Copy Down Cells

Apr 5, 2013

Any way to have the date auto increase 7 days when we drag/copy down the cells. For example, I have the following:

03/31/13
04/07/13
04/14/13

So, when I copy down (let say hundred cells down), the day should show 7 days apart. Is there a formula?

View 3 Replies View Related

Add Names To Blocks

Oct 9, 2008

In a worksheet I have (not equal) blocks of data. In column A there is the projectnumber, in columns B-K there are data. Projects are devided by an empty row. All rows in some block have in column A the same value (projectnumber).

What I need is the following: I would like to add names to that blocks. The name must be equal to the projectnumber.

View 7 Replies View Related

Transposing In Blocks Of 10?

May 19, 2014

I have a list of numbers in Col.A which can be variable in length.The objective is to copy these numbers into Columns with 3 col gaps in between.So the objective is that these numbers are listed horizontally (with 3 col.gaps separating each nr).To achieve this I have written the script below. However, as the orig.list of p/ns in Col.A can be variable, I would like to perform the transposing in blocks of 10 numbers.The transposed end product should be listed 10 numbers in each row (with 3 col gap between)rather than in one row. how to modify my vba script to do the above?

Code:
Sub TransposeSkippingColumns()
Dim c As Range
Dim i As Long

[Code]....

View 8 Replies View Related

Numbering Blocks Of Data.

Nov 2, 2009

I have 250000 lines of data and at the moment they are in seperate blocks of different sizes, and seperated by 5 blank lines.

For Example

112
1523
523
1523

*5 BLANK LINES*

12
23

*5 BLANK LINES*

344
4563

etc.

What I would like to do is give each block a number.

1 112
1 1523
1 523
1 1523

*5 BLANK LINES*

2 12
2 23

*5 BLANK LINES*

3 344
3 4563

The lines in between will come out eventually I just need them there as they are difineing the blocks of data.

View 3 Replies View Related

Stacking Of Columns In Blocks

Apr 19, 2012

I want to stack columns in blocks. Have not been able to work out a VBA code for the same. Let me explain the need:

- There are N columns of data, for e.g., Col. A, B, C and D has Data (total of 10 rows) ... 4X10 layout

- I want to stack columns in blocks as follows:

AB
AC
AD
... 2X30 layout

View 7 Replies View Related

Calculating Time Blocks

Apr 11, 2009

I am trying to calculate the amount of time in blocks, using a pre-determined spread. For example:

AM block is anytime between 0600-1230
PM block is anytime between 1230-1830
Evening block is anytime between 1830-0000 and the Overnight block is anytime between 0000-0600

Sounds easy enough, yeah? Let me paint an example of how I want it to calculate though:

If an employee starts at 0600 and finishes at 1400, then the AM total is 6.5 and the PM total is 1.5.

If an employee starts at 1100 and finishes at 1900, then the AM total is 1.5, the PM is 6 and the Evening is 0.5.

If an employee starts at 2200 and finishes at 0800, then all of the 10 hours must report to the Overnight total, even though some of them fall within the Evening and AM blocks.

I just can't seem to get each block to show the accurate number of hours...and to bring in the rules that I require.

View 9 Replies View Related

Commenting Out Blocks Of Code

Apr 11, 2006

a way to comment out a block of code just using a begin and end tag, as opposed to using an apostrophe (') for evey line?

View 3 Replies View Related

Remove Blocks Of Rows

Apr 27, 2006

I have a worksheet that collects information from another using complex formulas.

In column A I have codes i.e. PRD001A, PRD001B etc. A block of codes starts at A and can go up to Z. i.e. PRD001 could start WITH PRD001A and finish with PRD001N then there is always a PRD001W and PRD001Z to finish with.

PRD002A would follow PRD001Z and might only have A, B, W & Z codes before PRD003A.

In column K is the sum of columns D:J.

What I want is a macro that will look at column A & K and if all OR some of the codes for say PRD001 are >0 don't delete any of the rows for that group of codes.

Then look at column A & K and if all of the codes for say PRD002 =0 delete all of the rows for that group of codes.

View 9 Replies View Related

Linking Blocks Of Cells Across Sheets

May 1, 2014

I have a master tab that has data grouped as follows

Column 1
title of a section (written once then left blank for the rest of a section)

Column 2
numerous descriptors (each in a new row)

Column 3
The response to the descriptors in column 2

I want to link entire sections from column 2 and 3 into different excel files so that if I make changes to column 2 or 3 in the master tab, the changes are made to all tabs. If there is a way, I'd like it if I add a row to the master, it is automatically added to the others.

View 2 Replies View Related

Locking Specific Cell Blocks

May 7, 2014

When cross linking cells from one file to another, I sometimes lose the source link to rearranging cells on one of the other spreadsheets. Is there a way I can "lock" the source cell so that it isn't lost as a reference?

View 1 Replies View Related

Copying Blocks Of Rows Into New Worksheets

Jul 1, 2009

What I'd like to do is to have the block of rows starting from "Agent:" and ending with "Total" copied into a separate worksheet and then have the worksheet named using the agent's name. I have highlighted the data in yellow in the attached reference file. I would like to have this done for all 58 agents. I could copy and paste manually but that wouldn't be the smartest way to go about this. I figure I probably need a looping structure for this but I am not yet proficient enough to figure this out quickly. I am supposed to have this done today.

Edit: The last part of this would be to have blocks of rows from the "sections" worksheet which use identical agent names also pasted below the data from the "questions" worksheet. I have attached the workbook I am working on now cutting and pasting manually.

View 4 Replies View Related

Counting Blocks Of Highlighted Cells

Feb 18, 2010

I have huge sheet with time periods across the top and accounts listed down. I have manually shaded cells red that represent "new" sales. I have used the custom function "colorfunction" to count these red shaded cells in the past. Now, I am trying to count blocks of cells. Each block is a different # of cells and represents sales $ over a different period of months. I want excel to count each block (start to end) ans add them up...

J F M Ap M....
acct 1

acct 2

acct 3

View 9 Replies View Related

Sort Info In Column Into 50 Row Blocks

Jul 20, 2007

I have a sheet with about 1000 rows of data filling 40 columns. the data is the same in column 1 for a random number of rows between 2 and 40. ie as here...

2
2
2
2
33
33
33
4
4
4
4
4
4


etc.
Is it possible with a macro to divide the sheet into blocks of 50 rows each with just the data before it changes to a different no.

so that it looks like this

2
2
2
2

46empty rows here.......................

View 9 Replies View Related

Working With Time: Blocks Every Whole Hour

Aug 1, 2007

I have a spreadsheet that users input the temperature each hour, for a 24 hour period. The time used is 24hr clock, as example, cell A1 will be 03:00, and cell B1 would be the forecasted temperature.

On another sheet, the user inputs the temperature for the specific time a airplane is going to take off, i:e: 07:32. Is there a way I can have the second sheet look back to the first sheet and grab the temperature for the correct time (using the hour block it falls into). The first sheet time blocks are every whole hour, i.e 08:00, but on the second sheet, the time could be any hour/minute, 07:32.

View 9 Replies View Related

Counting Blocks Of Highlighted Cells

Feb 18, 2010

I have huge sheet with time periods across the top and accounts listed down. I have manually shaded cells red that represent "new" sales. I have used the custom function "colorfunction" to count these red shaded cells in the past. Now, I am trying to count blocks of cells. Each block is a different # of cells and represents sales $ over a different period of months. I want excel to count each block (start to end) ans add them up... I can SEND THE SHEET IF YOU WISH....

J F M Ap M....
acct 1

acct 2

acct 3

View 9 Replies View Related

Summing Uneven Blocks Of Rows

Apr 21, 2006

I am trying to Sum "uneven blocks of rows" using the Sum Function.This works OK for the 1st.Block,but then the selection of cells moves down the same number of rows as the 1st Block.

I am attaching a sample file which best explains what I am trying to achieve.

View 9 Replies View Related

Insert Rows Between Blocks Of Information

May 11, 2006

I have used some code that Kris gave me a couple of weeks ago and changed it to insert a row between each block of information. Have I got it right?

Sub InsertRows()
Dim lRow As Long
Dim r As Long
lRow = Range("A" & Rows.Count).End(xlUp).Row
Application. ScreenUpdating = False
Columns("M").Insert
[m3] = "temp1"
Range("M4:M" & lRow) = "=LEFT(A4,5)"
For r = Cells(Rows.Count, 1).End(xlUp).Row To 2 Step -1
If Cells(r, 13) <> Cells(r - 1, 13) Then Rows(r).Insert Shift:=xlDown
Next r
Columns("M:N").Delete
Application.ScreenUpdating = True

Application.DisplayAlerts = False
ActiveWorkbook. SaveAs Filename:= _
"H:HOME imcEXCELCOUPON_COUNT5_MAYREFORECAST.xls", FileFormat:=xlNormal _
, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
Application.DisplayAlerts = True
ActiveWindow.SelectedSheets.PrintOut copies:=1
End Sub

View 3 Replies View Related

Compare Blocks Matrix Of Data

Aug 29, 2006

I have the follwing data in A1:T17

3,4,7,9,10,11,21,32,33,35,37,41,47,57,60,64,69,72,74,75
4,6,9,10,12,13,15,21,22,31,35,47,49,52,56,63,64,72,74,75
4,6,9,10,15,21,31,33,34,41,42,45,46,47,57,60,68,72,74,78
3,4,6,10,11,13,18,21,30,32,33,35,46,53,60,67,69,74,77,78
6,9,13,16,21,22,31,46,48,49,52,61,63,64,69,70,71,75,78,79
3,4,7,10,14,17,18,21,28,31,33,36,37,43,47,57,65,69,75,80
4,7,13,15,17,25,29,32,37,42,45,47,50,57,60,64,68,71,72,74
3,7,10,11,16,18,28,34,35,43,47,51,52,55,56,57,60,64,71,72
8,9,10,12,16,21,22,28,38,47,49,51,52,53,54,55,64,66,71,72
4,5,6,9,12,15,19,20,30,34,35,38,45,47,54,56,63,65,72,78
5,6,9,12,15,21,26,31,32,43,44,47,64,66,67,68,69,74,75,80
..................

I want to compare the first set of 20 numbers (A1:T1) with the second set (A2:T2) and check how many numbers match. ** If the matched numbers
are >=10 ** then list them to the right of cell W1. In this example, 10 numbers matched are 4,9,10,21,35,47,64,72,74,75. List them in W1:AF1.

Now compare (A1:T1) with (A3:T3). In this example, 11 numbers matched 4,9,10,21,33,41,47,57,6,72,74 list them in W2:AG2.

Now compare (A1:T1) with (A4:T4). 10 numbers matched 3,4,10,11,21,32,33,35,60,69 list them in W3:AF3.

Compare (A1:T1) with (A5:T5). Here only 5 numbers matched 9,21,64,69,75 (Which is ** less than 10 ** - does not match the criteria) DO NOT LIST
this.

Compare (A1:T1) with (A6:T6). 11 numbers matched, 3,4,7,10,21,33,37,47,57,69,75 list them in cell W4:AG4.

.................

Sub Compare()

Dim r As Integer, rr As Integer, c As Integer, cc As Integer, opc As
Integer, opr As Long

opr = 1
For r = 1 To 16
For rr = r + 1 To 17
opc = 23
For c = 1 To 20
For cc = 1 To 20
If Cells(r, c) = Cells(rr, cc) Then
Cells(opr, opc) = Cells(r, c)
opc = opc + 1
End If
Next cc
...............................
Next r

End Sub
The above code runs fine but If I increase my rows from 17 to 1200 it takes 3 1/2 hours to complete. Can it be reduced?

View 9 Replies View Related

Copy Data Range Blocks

Jan 8, 2008

I would like to copy specific cells (all in one block) to another worksheet, then do a bunch of other things with the data (these steps work already), then go back to the original worksheet and copy the next block of data, repeat about 50 times, then stop at the end of the list.

I can't attach a file as I can't get it under the file size limit but the rows to move (just to any worksheet in the workbook, from there I can manipulate and move as required) each time are row 1 plus all those pertaining to each subject group. So for group 1 it would be row 1 plus rows 6 to 28 - for group 2 row 1 plus rows 29 to 51 - group 3 row 1 plus 52 to 74 etc. If I can just get looping through chunks of data and moving them around under my belt

View 5 Replies View Related

Sort Range Data Blocks

May 9, 2008

I have a list of data (as shown below under Input), which I would like to sort them according to their block number (as shown below under Output). The hurdle is the sorting should be able to cater for missing fields. Also, note that the sector can be recurring, that is "P,P,Q,Q", and then follow by "P,P,Q,Q" again.

INPUT
Block No.SectorData
11P19
22P
33P39
41P18
52P21
63P38
75P22
85P24..............................

View 2 Replies View Related

Picking Blocks Of Data To Copy From One Sheet To Another

Jul 22, 2014

I have a series of spreadsheets that represent the rosters of teams in a league. At the end of the league season, some teams qualify to advance to a final event, and some do not. I start with a file of all the teams for that level of competition. This list comes from a program that creates it's output in an excel '97-2003 format (and I can't change the way the data comes out of this program). I modify the data a bit by removing data from merged cells and rename that worksheet a 'Raw Data'. In the past I have manually copied and pasted the data for the teams that advance to a sheet called 'Roster Data'. I am hoping there is a way to automate this part of the chore.

There must be 6 blank lines between the team names on the 'Roster Data' tab, but some teams have more members than others, so they are not spaced the same on the 'raw data' tab. Is there a way to select teams from the 'Raw Data' tab and have only the selected teams show on the 'Roster data' tab, AND have the spacing become uniform?

View 13 Replies View Related

Dynamically Adding Row Blocks Based On Cell Value

Apr 2, 2014

I've managed to get coding that allows me to insert single rows dynamically based on a cell value. Example is if I enter a value in cell C3 the coding inserts the same number of rows below.

I've also created a simple macro that inserts a multiple row block under the active cell, complete with formatting, text and some merged cells. Example is I run the macro and it will insert a block of 3 rows, complete with formatting, borders, text and merged cells.

My challenge is to bring these two elements together. So enter a number in a single cell which will then insert the same number of row blocks, complete with formatting etc. I've added a file to sample what it is I'm trying to achieve. I can add the coding I already have as well.

Dynamic list sample.xlsx‎

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved