Displaying Weeks In Selected Month?

Feb 18, 2014

I have a workbook that needs to display the relevent weeks in month, the dates would be the start and end dates of each wekk (monday to Friday) but also need to take into consideration, partial weeks i.e. only a wednesday, thursday and friday at the start of the month given where the first available date falss on.

see the attached sheet for reference, I am looking to do this with as few formulas.

It also needs to show a list of monday only dates for the selected month.

View 7 Replies


ADVERTISEMENT

Displaying A Number As Weeks And Days

Jun 19, 2014

I would like to display a number as weeks and days. For example the number 8 needs to be displayed as "1w 1d" or the number 14 as "2w 0d"

I am able to use a formula such as =INT((C3)/7)&"w "&(((C3)/7)-INT(((C3)/7)))*7&"d" but I wish to preserve the formatting of a number so that I can add 2 or more numbers together.

I am hoping that there is a way of doing what I want using the Custom Category in the Format Cells dialogue box.

View 4 Replies View Related

Check Many Weeks In A Month

Jan 19, 2008

I need a formula that will tell me how many weeks there are in a month.
If cell A2 had the month and cell B2 had the year then I would like to return 4.....

View 9 Replies View Related

Summing By Month From Weeks

Jan 23, 2007

I have a weekly forecast for what will be sold for the upcoming year and want to sum the quantity by months. For example, 1/6/07 sell 351 units, 1/13/07 sell 315, 1/20/07 sell 1,165, and 1/27/07 sell 328 units so Jan would return 2,159. To avoid future user error, I'd like to sum by month without the basic sum( range) formula and have tried the following SUMIF statement:

=SUMIF(Weeks,"=Jan*",Widget_Qty)

That returned zero. I formated my Weeks to look like "6-Jan-07" so I thought that the month name could be used as a text but this was also wrong. I also tried changing the month value from text, i.e. Jan to a date value displayed as a "mmm" but failed again.

View 6 Replies View Related

Data Conversion From Month To Weeks

Nov 16, 2006

I am working on this "maintenance schedule" that is currently sorted out into tabs that are organized into the 12 months, jan, feb and so on.

I have to write either a command or a program that would be efficient enough to easily convert these monthly data in weekly ones.

So the command would have to convert those "jan, feb, mar... ...dec" tabs into "week 1, week 2, week 3... ...week 52". (prefably by linking them up some how)

View 9 Replies View Related

Create Subgroups For The Weeks Within The Month Groups

Jan 8, 2009

I have a spreadsheet with many workbooks. Each workbook contains sale figures for all products for each product range over a period of time. There is one workbook that totals the figures from other workbooks.

This spreadsheet is updated by another department on a weekly basis with new figures added to each workbook (products within each product range are also likely to increase).

Currently, the data in each work book is grouped by months (with a row summarising the month's figures). I can create graphs to visualise monthly performance, but also need to have a weekly performance graph/chart. Thus, the data also needs to be grouped by weeks.

I have tried creating subgroups for the weeks within the month groups, but it seems impossible (?!) to do when a week subgroup comes right in the middle of a month summary (e.g. Dec 2008 Summary comes in between Week 29 Dec 2008 - 04 Jan 2009). I have attached an example spreadsheet in case my description was too convoluted!

View 2 Replies View Related

Make Selected Contents Appears Automatically According To Weeks In A Sheet?

Mar 13, 2013

I have a sheet named PE which is the main source of handling a contents in other sheet.

How to make a selected contents in PE sheet appears automatically according to weeks in sheet1?

How do i use data validation, offset or combo box to solve this problem?

View 7 Replies View Related

Flowing Month Data Into A Chart Based On Weeks?

Feb 27, 2009

I have a spreadsheet that I am using to try to track Project Man Hours. What happens is:

I enter in the amount of weeks a Project Phase is in and when the Project Starts. I also enter in how many "Men" we are going to need.

i.e. Project Start - January 2009
Phase 1 - 4 weeks with 1.5 Men
Phase 2 - 20 weeks with 2 Men.

What I want to happen is:
Excel then adds that data to a chart showing EACH MONTH and the amount of men needed for each phase.

Project 1 showing a line chart with January-December and the lines correlating with the amount of "Men" needed each week based on the Start Date and Sequential Phase Week Amounts.....

View 2 Replies View Related

Displaying Selected Rows In Excel Report?

Jul 18, 2013

This is easy enough, but I only want to have items listed if every field on the row is unique which I can do, but is it possible to only display these unique lines and have any lines that contain a duplicate not be shown as a blank or anything else?

View 1 Replies View Related

Displaying Data Based On Selected Worksheet

Dec 21, 2006

An integer in stored in Sheet1!A1. I want a formula in Sheet1!A2 to display data of sheetx!A3 where x is the number chosen in Sheet1!A1.

e.g. Sheet1!A1 store 3. Then Sheet1!A2 will display Sheet3!A3.

e.g. Sheet1!A1 store 7. Then Sheet1!A2 will display Sheet7!A3.

View 10 Replies View Related

Displaying TreeView Selected Items In Msgbox

May 15, 2013

I have a treeview box w/ multi-select enable. My question is how do I display in a message box of all the item I've selected.

View 1 Replies View Related

Displaying Automatic Dates For Lookup Based On Year Selected

Aug 3, 2014

I would like to automate a sheet to report statistics of projects based on a single cell that is the year that a user manually inserts. I've got a separate worksheet with all dates manually set up for next 10 years and would like it to be read by formulae in a reporting worksheet based on the year that user enters.

So if I specify year 2014/15 (financial year), I would like the cell C1 under "Reporting" sheet to display 1/07/14 predetermined in "Dates" B3, if I specify 2015/16, the cell C1 will read 1/07/15 from "Dates" B6 and so on.

I could do it with "IF" function but there will be too many nested IF functions in a lot of cells (hundreds if not thousands). This may make my file size very large.

Attached is a simplified example of what I mean.

View 7 Replies View Related

Displaying Some Cells Data Depending On Selected Text From Other Sheet

Dec 31, 2013

I have an excel sheet which looks similar to below and with some more columns.

HTML Code: 

AreaBranchEmpolyeesProductsShelfs
Area1Area1 Branch110Product 110
Area1Area1 Branch25Product 16
Area1Area1 Branch38Product 28

[Code] ......

I want to have data in other sheet With respect to Product details. Where It gives me the count of Product 1 and so on.

I am able to get the count using countif function and it displays like below.

HTML Code: 

Product Count
Product 16
Product 28
Product 34
Product 49
Product 510
Product 68
Product 78
Product 89
Product 97
Product 108

What I want is when I select "Product 1" It should display some selected columns data from sheet where complete data is available.

HTML Code: 

Branch Empolyees Other
Area1 Branch1 10 abc
Area1 Branch2 5 xyz
Area1 Branch5 7 pqr
Area2 Branch5 5 wxy

Which function we can use. I tried Vlookup but was not successfull.

View 14 Replies View Related

If Statements: Option Of Between 3 Weeks And 6 Weeks

Sep 7, 2009

i currently have a what if statement

=IF(B2>=NOW()-42,"< 6 wks","> 6 wks")

I need it to also give an option of between 3 wks and 6 weeks

Therefore all options are

3-6 WKs
< 3 WKs
> 6 WKs

I have mastered 2 but now need a 3rd.

View 7 Replies View Related

VBA - Displaying Values In Multiple Lines If Multiple Checkbox's Are Selected

Sep 10, 2012

In my userform I have a list of check box's that can be selected. Currently if more than one is selected, they will appear in the spread sheet in the same line one after another with a space between them. How do I make it so they either appear with a comma appearing after each, so the next value appears on the next line below or most perferably the cell turning to a drop down list with the values?

Current code

VB:
If CheckBox1.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox1.Caption
If CheckBox2.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox2.Caption
If CheckBox3.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox3.Caption
If CheckBox4.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox4.Caption
If CheckBox5.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox5.Caption
If CheckBox6.Value = True Then ws.Cells(iRow, 2).Value = ws.Cells(iRow, 2).Value & " " & CheckBox6.Caption

Spreadsheet current cell appearence if all 6 are selected ' Chinnook EH101 Lynx Puma Sea King Fixed Wing'

Required appearence:
Chinnook
EH101
Lynx
Puma
Sea King
Fixed Wing

View 1 Replies View Related

Pulling All Weekending Dates From Month Selected?

May 12, 2006

I have a large Excel project that I am working on and it is in it's final stages......i have a table with week 1 to week 5 on the top.....I hoping to be able to change this across multiple sheets to the week ending date for that month? so if on the first sheet someone selects april 2006 then week1 and so on would show 07/04/06

View 2 Replies View Related

Create A Formula To Select Selected Inventory By Month

Sep 28, 2009

I'm trying to make a simple program to allow me to total the amount of air filters I need to purchase for a given month. I am entering the amount of filters for each property and the frequency of replacement ie. monthly, quarterly, one month out of the year, etc. I would like to enter a month, ie. 2 for february and have the program list the quanty of each filter that I need to purchase for the given month. See sample attachment.

View 3 Replies View Related

Pivot Table Show Selected Month And YTD Sales

Sep 18, 2009

I have created a Pivot Table to sumarize the monthly sales data.

Is it possible to select just one month and show the YTD sales?

e.g. We are in September, I select August the Pivot Table should show the August sales column and YTD (Jan to August) sales column.

View 9 Replies View Related

Display Data Based On Selected Month From Drop-down List?

May 14, 2014

I want a table to display data based on which month i select from a drop-down list, the data is of course extracted from a different table. For example, in my final table( highlighted in yellow), i want to display the revenues, cost of goods sold..etc of April in this table when i choose April from the drop-down list, the data of the entire year is located in another table that i plan to hide, as we only need to review one month.

View 1 Replies View Related

Userform Selected Date Is Transposing Month And Day When Writing To Cell

Dec 11, 2012

I've created a User Form to input data on a dashboard where you can select a date from a dynamic list of dates. The list of dates is calculated using:

Code:
=(TODAY())-WEEKDAY((TODAY()),1)+2
The other dates are based on this date -7.

The User Form code:

Code:
Private Sub CommandButton1_Click()
Dim emptyRow As Long
'Make Sheet30 Active

[Code]....

This works perfectly for any date except dates from December. 3/12/12 (3rd Dec) turns to 12/3/12 (12th Mar) when it's copied to the cell. The same happens for 10/12/12 - becomes 12th October instead of 10th December.

View 6 Replies View Related

How To Calculate Average Of Values Against Selected Date Of Each Month Within Date Range

Jan 2, 2014

I have a table that looks like this (its basically a historical data of a stock exchange):

Date
Index
January 4, 2010

[Code]....

The List continues till the current Date.

I want to calculate Average Index Values of a Date of each month within a Date Range.
Example: Calculate Average Index Values for 3rd of Each month from 1st Feb 2010 to 3rd Jan 2011. Formula should calculate Average of the Index Values for 3rd Feb 2010, 3rd March 2010, 3rd April 2010, 3rd May 2010, 3rd June 2010, 3rd July 2010, 3rd Aug 2010, 3rd Sept 2010, 3rd Oct 2010, 3rd Nov 2010, 3rd Dec 2010, 3rd Jan 2011.

Both the Date and the Date Range is variable. Also, the Index Value for selected Date of one or more month may not be available as that being a holiday. In that case, the formula needs to use the last available Index Value before that Date. e.g. If Index Value for 3rd Oct 2010 is not available, system will use the Index Value of 2nd Oct 2010.

View 1 Replies View Related

Financial Model (formula To Equally Distribute Revenue Either Over The Next 1 Month, 2 Month Or 3 Month Period Depending On Size Of The Deal)

Dec 23, 2008

I m trying to write a formula for my financial model. If anyone can take a stab at a solution. I'm trying to write a formula that will equally distribute revenue either over the next 1 month, 2 month or 3 month period depending on size of the deal.

Details:
Sales will fit in 1 of 3 categories. Less than 25k; between 25k & 100k; greater than 100k.

- if under $25K, recognize in next month (month N+ 1)
- $25K-100K, recognize in two equal parts in months N + 1 and N + 2
- over $100K, recognize in three equal parts over 3 months
N + 1, N + 2, N + 3 ...

View 4 Replies View Related

Displaying And Un-Displaying Objects Using VBA..

Apr 21, 2007

Is It Possible to use VBA Coding to Display An Image (Object),
And Un-Display or Remove that Same Image (Object) using a VBA Code?

Example:

I have a Mailbox Picture that I would Like to Show, but only when a cell's
value = 5. If the Cell's Value is not 5, then don't display the mailbox.

View 12 Replies View Related

Averaging Of N Weeks

Apr 28, 2007

I am attempting to find the average units of the last "n" weeks. I wish to input the required number of weeks in cell D20 which will show the average in cell D22. In this particular example, I have manually calculated using the average formula....

View 9 Replies View Related

Fill Range Of Cells With Text When Listbox Option Selected - Clear When Not Selected

Jul 25, 2014

I am using this code to hide or unhide rows of text on another sheet:

VB:
Sub ProcessSheet1ChangeOnCellJ7(ByVal Target As Range)

Dim sAddress As String
Dim sValue As String

'Get the address of the cell that changed without '$' signs
sAddress = Target.Address(False, False)

[Code]....

When the "Not Pursuing" list box option is selected (in cell "J7" or "J8" in Sheet 1) I need to add (or over-write) "Not Pursuing" to the range of cells in column "B" (in the "Tasks" sheet), but only for that particular Goal, meaning a limited range of cells in column "B". If the "Pursuing - Show All Tasks" option is selected for a Goal then these same cells need to be blank so that the appropriate person can enter their name into the cell.

The purpose for adding "Not Pursuing" automatically to these yellow highlighted cells is that it will facilitate filtering of tasks by individual in the "Tasks" sheet..

Again I have tried several times to upload a sample file and am unable to, which I know makes it more difficult to solve. (Is there some common mistake people make? I know it's an allowed format and is very small in file size....)

Code solution can be entered directly beneath:

VB:
If Target.Value = "Not Pursuing" Then
ActiveWorkbook.Sheets("Tasks").Rows("29:29").EntireRow.Hidden = False
ActiveWorkbook.Sheets("Tasks").Rows("30:48").EntireRow.Hidden = True

View 1 Replies View Related

Rolling Totals For Several Weeks

Aug 27, 2008

I have an excel sheet setup with several tabs which are organized by work days in a week. (i.e. aug 18, aug 19, aug 20, aug 21, aug22, aug 25, aug 26, aug 27, aug 28, aug 29) Sample file has been included.

I would like to do a rolling total of 1 particular cell (the same location on all the sheets, i.e. cell a2 on all sheets) for the past 4 weeks, and it automatically adjusts itself based on today's date (i.e. today is august 27, it will total everything from jul 30, 31, aug 1, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 18, 19, 20, 21, 22, 25, 26.).

Is it possible to do this?

I am not familiar with VBA or Macros, so solutions using either of these will require some detailed explanation for me to understand how to apply them.

View 9 Replies View Related

Converting Dates To Weeks

Jun 27, 2013

Is there a way to convert data that has dates to week by week? such was week 1 week 2 week 3 etc....

View 8 Replies View Related

Delete Workbook After Two Weeks

May 17, 2009

Is it possible for a workbook to delete itself after two weeks or by date since putting in VBA codes?

Or does it have to be active to be able to delete itself.

I'll be going away for a holiday in two weeks (yepeee) and the person who's taking over my place will only use it on first day of my absent.

I do not want others to use my file (of course I'll back it up before I'll go).

View 7 Replies View Related

Converting Dates To Weeks

Jul 20, 2006

I require a worksheet function or group of function that will allow me to
convert my dates of format dd/mm/yyyy to Week 1, Week 2, Week 3, Week 4.

View 10 Replies View Related

Automatically Count Weeks

Jul 26, 2008

Here´s the deal: based on weekly reports, I need to count and sum orders created in our CRM.

I´m exporting, once a week, a full report of opportunities created in our CRM. Week after week I copy&paste the changes to my main file or dashboard. This allows me to see, manually four values my sales manager wants:

1. Opportunities created in the last week
2. Opportunities created in the last 2 weeks
3. Opportunities created in the last month
4. YTD

I don´t need help with the last one, that´s the easy part. The thing is, I have to do this manually. Every thursday I run the report, export it, find the new opportunities and add them to my main report. Then, I just modify an already defined IF formula that counts and a SUMIF one that sums the values, so it will take into account only the last week, the one before that one and the whole month.

So, my questions are...

1. I need to set different formulas for count and sum, that´s clear, but how can I make this autimatically without having to change the formula each week?

2. Do I need to consider the date my main file is modified, and count backwards?

As usual I am not sure I´m being clear, though I hope I´m getting better at this. I´m attaching an example where B2:D7 is similar to my main report, and G4:M12 is my DataTable.

The formulas in C4, C5, C6, D4, D5, D6 should be "automatic", so when I copy&paste the extra rows from the weekly reports into my datatable, those cells will count and sum without me having to change the period in the formulas.

View 9 Replies View Related







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