Creating Vertical Chronological List Of Weekends And Month Ends?

Jul 30, 2014

I need to create a report on each friday as well as on every last workday of a month. I have to display both weekly and monthly data on the same graphs and I always arranged the week ends and month ends myself, but this is taking a lot of time.

So I need a chronological list of of week numbers and month names based on the date of Friday of a week or last workday of a month.

Input:
A1 - either month name ("MMM", Jul, Aug, Sep) or week number (1-52)
A2 - year number (2014)

Output:
For example, for 30 in A1 and 2014 in A2 it should look like this:

BD
BE
BF
BG
BH
BI
BJ
BK
BL
BM

1
May
23
24
25
26
Jun
27
28
29
30

And this should strech back all the way back to B1 in which I need to have 31.

Note if a month ends on last workday of a month the week number should come first and month name second.

View 1 Replies


ADVERTISEMENT

Creating A Vertical Header List

Mar 27, 2009

This is probably simple (I hope). But I'd like to create a list of Locations from a dynamic list on a separate sheet.

Sheet2!H2:H10000 has a list of Locations, with a LOT of repeats.
Sheet1!A2:A100 is where I'd like to list the locations, without repeats.

Sheet1!A2:A100 is also used for a summary (in column B) and as a Data Validation point (for a list in G1)

The table on Sheet2 can vary from 0 items to 10,000 items and the number of different possible Locations is about to expand as it's resulted from a query to an Access database with filters.

View 9 Replies View Related

Locate Last Day Of Month Excluding Weekends

Oct 17, 2006

I have a spreadsheet with bloomberg's auto feed, so in col A&B, the price will be updated everyday. I would like to calculate the Month-to- Date in Col C

e.g. MTD for today's closing = (today's closing price - last month end price)/last month end price

how can I constructure a formular in col C which will calculate the MTD automatically when a new price is added to the top everyday.

View 3 Replies View Related

Autofill Weekdays/skip Weekends In A Month

Nov 30, 2009

I would like to be able to auto fill weekdays (skipping Saturday & Sunday) in a month. For example, my spreadsheet would look like this if cell A1 contains12/01/09:

DATE WORKDAYS TASK

1-Dec 1 AP CLOSE - CAPITAL & POS ITEMS
1-Dec 1 POS MONTH END
1-Dec 1 HEALTH INSURANCE
2-Dec 2 DEPR SYSTEM RUN; INCL-SOFTWARE AMORT
2-Dec 2 SPECIAL EQUIPMENT
4-Dec 4 PRELIMINARY ENERGY REPORT
7-Dec 5 AP CLOSE - ALL OTHER ITEMS

The DATE column needs to return the date for WORKDAYS listed...Monday through Friday only. The first workday in Dec 2009 is 12/1, the fifth workday is 12/7, and so on.

View 2 Replies View Related

Creating Horizontal Summary Table From Consecutive Vertical Data Lists?

Jul 17, 2014

I have consecutive vertical lists that each have a different number of instances and I'm trying to create a horizontal summary. Here is an example:

Vertical lists:
Mary
red 2
blue 11
John
yellow 5
red 7
blue 8
Susan
red 9
green 3

Desired Summary table:
Mary John Susan
yellow 5
red 2 7
blue 11 8
green 3

Is there a way to do this using a pivot table or formulas, instead of manually?

View 3 Replies View Related

Autofill Vertical List Horizontally With 2 Blank Cells In-between Each List Item

Feb 14, 2014

I have a list in column L2:L352. I would like to be able to start at AD2 and drag horizontally so that AD2 = L2, AE2 = <BLANK>, AF2 = <BLANK>, AG2 = L3, AH2 = <BLANK>, AI2 = <BLANK>, AJ2 = L4, etc.... until L352 has been autofilled.

View 2 Replies View Related

Update Horizontal List Based On Vertical List (ins Column)

Nov 26, 2007

1. I have a list of several items in sheet 1. Lets say 30-40 rows.

2. I do a frequently update of this list.

3. In sheet 2 I want to have a copy of this list in row 1 from column A to Column x (depends on how long the list in sheet 1 is.)

4. When I change the list in sheet 1, could be in first, middle or last row- mayby several rows. The list in sheet 2 should be updated

5. The update of sheet 2 should insert a new column on the right place, according to the list in sheet 1.

View 9 Replies View Related

List Weekdays Excluding Weekends

Sep 13, 2007

I want to get the list of days which are only weekdays ( excluding sat, sun but includes holidays during weekdays) I have tried WORKDAY function but it is not exactly i want coz it excludes holidays during weekdays as well.

View 5 Replies View Related

Ignore Weekends And Holiday List In Data Validation

Feb 9, 2009

In cell A1 I have an input cell where a date is to be inserted manually.

In column l I have holidays listed.

Is it possuble to use validatio or something that will make it impossible to enter eighter a weekend or a date out of the holiday list?

View 9 Replies View Related

Transpose Vertical List From Listbox

Jun 29, 2009

I am traying to make a horizontal list on sheet2 from a listbox on a userform ...

View 12 Replies View Related

Referencing Vertical List Horizontally With Gap In Cells?

Mar 11, 2013

I am trying to reference a vertical list on another sheet, in a horizontal list every 3 cells.

Have attached an example example.xls

View 4 Replies View Related

How To Change Horizontal Table To Vertical List

Jul 22, 2013

I need to change data from a horizontal table into a vertical list? example.xlsx

View 1 Replies View Related

Convert Horizontal Data Into Cumulative (one-column) Vertical List

Feb 15, 2012

I have data (400 rows) that looks like this: (23 columns in total): (for this example I am using only 4 rows and 7 columns = 28 rows)

IN_0168 IN_0164 MH_0007 IN_0172 WCD3_03 WCD3_04 #N/A
IN_0176 IN_0172 WCD3_03 WCD3_04 #N/A #N/A #N/A
IN_0185 MH_0006 IN_0164 MH_0007 IN_0172 WCD3_03 WCD3_04
IN_0191 IN_0193 IN_0195 IN_0199 WAT10 #N/A #N/A

and I want it to look like this:

IN_0168
IN_0164
MH_0007
IN_0172
WCD3_03
WCD3_04
#N/A
IN_0176
IN_0172
WCD3_03

[code]....

This is what I was trying to do:

For m = 2 To 5
For n = 1 To 23
For b = 2 To 100
Sheets("Hierarchy").Select
Cells(m, n).Select
Selection.Copy
Sheets("HierN_H2V").Select
Cells(b, 1).Select

[code]....

View 2 Replies View Related

Chronological Sorting

Feb 18, 2007

This is an example of what is being worked on:

(There are 500+ more lines like the ones below, in groups of approximately 17 lines per page of information.)


* C.B.A. Bank - 2nd reference to branch near Mike's store. (21/03/1956)
* Berwick exams results. (06/06/1877)
* Berwick exams (09/05/1877)
* Steps taken for erection of Berwick. (11/07/1874)
* Berwick tenders for work at home. (11/07/1877)
* W. was a storekeeper at Berwick. (25/07/1881)
* Berwick Brass. (27/06/1877)
* Commercial erected for son. (27/06/1878)

I need to do the folowing to it:
(not necessarily in the following order)

- Insert into Excel
- Remove brackets
- Sort chronologically
- Copy back into program I am using again, in same chronological order.

The desired outcome is to be able to throw into Excel all the lines and press a button, (possibly the Sort Ascending one) and have a chronological list of all entries.

View 10 Replies View Related

Creating A Dropdown List Using Matching Data From 2 Columns To Populate The List

Jun 11, 2013

I'm creating a spreadsheet to keep track of my costs of production in an online game. Within the game there are a range of spawned resources that appear for only a short time before being unobtainable these resources have specific types that is shared between multiple spawns of the resource but each resource spawn has a unique name.

My first worksheet lists all the resources and their various qualities and the later worksheets are meant to allow me to choose from a list resources matching the requirements of the item I'm looking to craft. The example i have shown in the second picture requires Tatooinian Fiberplast and Lokian Wild Wheat to craft so in the Chosen Resource column I would like to have a drop down list allowing me to select the named resource type i would like to use - for Tatooinian Fiberplast the only thing on the list should be Omnitwixi and for the Wild Wheat it should show Fizi and Krad

[URL]....

[URL]....

I am aware there are people with more pressing problems than computer games and as such

View 7 Replies View Related

How To Sort Dates In Chronological Order

May 1, 2013

My dates are sorting as per the image below.How do I get them to sort in chronological order (e.g. 01 January, 02 January etc)

Excel Forum.PNG

View 10 Replies View Related

Compare Two Dates - Ensure Chronological

Dec 11, 2013

I have two enormous lists of dates. How do I automatically compare them to ensure the date on one comes after the date on the other one?

They're formatted as dates. Christmas Day 2000 (UK) did say 25/12/2000, and then when I reformatted it it automatically changed to 25 Dec 2000, and so on.

View 4 Replies View Related

Creating Compact Text List After Comparing List Against Two Variables

May 8, 2014

I would like to be able to compare the "standards" in Column A with the Assessment status in Column B and the Assessment period in Column C in order to generate a compact list in another workbook (ideally) or tab (if not). A list might typically contain all the standards that have been M (mastered) during a given Assessment period. I realize that filters would achieve this to a large extent but I was hoping to automatically populate another worksheet or tab.

View 3 Replies View Related

Creating Spot Check List From Inventory List

Mar 17, 2014

I am looking for a Macro that would randomly select 20 items from my inventory list for performing spot checks. Column F of Active Coil Log tab is where the data would need to pull from, however I would like all data in the row to go along with it. I've explored the RAND functions, but they don't seem to be the right fit .

View 2 Replies View Related

Sort Data In Chronological Order Of Periods

Feb 1, 2008

I will need to sort the data based on some number entries being presented in Periods 1 ,2 ,3 in chronological order.. i.e. move the data of period 1 to the top , then period 2 and then period 3.

View 5 Replies View Related

Show Report Results In Chronological Order

Apr 17, 2008

I'm currently working on a model that calculates the costs associated with various phases of a project. I want to allow the user to input the number of weeks that each phase requires as part of the calculations. The result will then be displayed horizontally in chronological order with the values associated with each phase underneath ex:

phase 1 phase 1 phase 1 phase 2 phase 2 phase 3 phase 3 phase 3

Through multiple lookups I've been able to get the data into this format:

phase 1 phase 1 phase 1
phase 2 phase 2
phase 3 phase 3 phase 3

What can I do to merge these series into one series that is in the order I desire (each phase will vary in length based on the user's input)?

View 3 Replies View Related

Arranging An Alphanumeric String In Alphabetical Then Chronological Order

Oct 23, 2009

In Cell A1 i have a text string of "ABS9E8C2D" i want something is cell B1that will arrange the string in Alphabetical order for Letters, then increasing order for numbers "ABCDES289".

View 7 Replies View Related

Chronological Listing & Match Criteria From Multiple Columns

Jun 14, 2007

I cant get this one off the ground. Normally I am pretty good to find bits and pieces of advice from other posts and put something together, but this one has me stuck from the get-go. I want to create several lists based upon the row(s) containing at least one set of criteria (day and time, contained in two differnt columns). Each row allows for up to 3 sets of days and times (i.e. columns B and C, columns D and E, and columns F and G) Each row is date and time stamped as to when the data was entered in that row (column H).

I want one list for each set of the various day/time combinations allowed in columns B thru G. The list should provide the name(s) contained in column A, in chronological order based on column H, when a criteria match is made in columns B:C, D:E, or F:G. This is far easier to understand with the attached sample. The lower section of the sample represents my desired output that I cannot seem to achieve.

View 3 Replies View Related

Controlled Loop That Never Ends

Feb 15, 2009

I am having a with a controlled loop. If the loop is on the last pass and an error occurs, it goes into a never ending loop. Once the error portion of code is excuted, the code resumes to the same line. I'm not sure how to solve this problem. I have attached a sample file with all code if needed.

View 2 Replies View Related

Copy X To New Worksheet If Z Ends In 3

Mar 4, 2014

Here is what I am trying to do:

Copy the correlating Row from (Worksheet DataDump Column AJ) to (Worksheet Calc Column A)
IF
Worksheet DataDump Column B ends in 3

Here is what I got so far..

Code:
Sub copyWorkPackages()
Dim WPThree As Range
For Each WPThree In Range("DataDump!B2:B" & Range("DataDump!B" & Rows.Count).End(xlUp).Row)
If Right(Range("DataDump!B2:B" & WPThree.Row), 1) = 3 Then
End Sub

View 2 Replies View Related

VBA Codes: First Ends In G Second Starts In G

Apr 28, 2006

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
If Not Intersect(Target, Range("e273:g284")) Is Nothing Then
Set rng = Range("e273:g284")
ElseIf Not Intersect(Target, Range("g273:j284")) Is Nothing Then
Set rng = Range("g273:j284")
ElseIf Not Intersect(Target, Range("j273:l284")) Is Nothing Then
Set rng = Range("j273:l284")
End If
Application.EnableEvents = False
If Not rng Is Nothing Then
If Application. CountIf(rng, Target.Cells(1, 1).Value) > 1 Then
MsgBox "This vehicle is booked out at this time"
Target.ClearContents
Target.Cells(1, 1).Select
End If
End If
Application.EnableEvents = True
End Sub

the code is perfect for what i need it to do but the only problem i have is that the codes roll on from each other... I.E:- E273:G284 - G273:J284 - J273:L284. first ends in G second starts in G, Second ends on J third starts on J. for some reason this doesnt work, the first code gets the prority and works but the second works in all the columns except the first one.. in this case the first code is fine, second actually works from H not G and third works from K not J

View 2 Replies View Related

Copy Range A Where B Ends

May 10, 2006

I want to copy range A to B, but I don't want to copy the whole column of A. I want to copy the data on A where B ends. For instance, If Column is A:50 and B is B:40 then I only want to copy A:40. I've trying the code below, but for some reason it deletes the range. Once the code is finished there is nothing in A or B.

Range("A9:A" & Cells(Rows.Count, 2).End(xlUp).Row).Copy
Range("B9").PasteSpecial (xlValues)

View 7 Replies View Related

2 Input Vertical Ranges Need Formulas To Output 2 Vertical Summary Ranges

Mar 7, 2013

I have two vertical ranges that I need summarized into 2 adjacent vertical ranges.

"
A B C D
| SUMMARY
model qty| modelqty
1 4.12922.0000| 4.12952.2000
2 2.000012.1250| 2.000025.1250
3 4.12929.0000| 318.0000
4 318.0000|
5 4.1291.2000|
6 213.0000|
"

A1:A6 is my SKU's model number B1:B6 is my inventory C1:C6 should contain formulas that result in a summary of the models D1:D6 should contain formulas that result in a sum of the inventory count for each model

View 1 Replies View Related

Bar Graph With Values On Left Vertical Axis And Percentages On Right Vertical Axis

Jan 19, 2012

how do you create a graph with a field such as vendors on the X-axis, but with dollar values spent on the left side of the y-axis and percentage of total dollars spent on the right side vertical axis?

View 3 Replies View Related

Keep Variable Values AFTER Procedure Ends

Mar 19, 2007

I have a User Form with 2 groups of 3 radio buttons let's say. The user must choose one button from each group, then press "GO" which runs specific code depending on what buttons they pressed.

How do I make the variables public or static so that after both radio buttons were selected, another seperate procedure in the same module (The GO procedure) can know what selections were made so it can run code based on those selections? In this example, there are only 2 groups of three radio buttons, but in reality I have 30 buttons and it keeps growing so I need the most direct/simple way to solve this.

For Example:

UserForm1
Radio Button Group 1:

Button 1
Button 2
Button 3

Same UserForm1
but now here is Radio Button Group 2:

Button 4
Button 5
Button 6

I need to know which buttons the user clicked from Group 1 and Group 2 after they finished both their selections from each group, and then run code depending on what combination of buttons have been selected. I'm good to go with the If/Then code to decide which code to run, I just cant keep the variables from reading as 'Empty' when I try to see what the user selected when pressing GO and running that procedure.

View 9 Replies View Related







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