Identify Start Month And Repeat Same Value In Next 12 Cells

Jun 3, 2014

I am working on a formula by it is repeatedly failing.

Based on input 1 which is the month name, I am looking for a formula to identify the position across columns as the starting cell and then the value in input 2 needs to be repeated 12 times from there.

Example:
Input 1 is Apr-14
Input 2 is 51.8

I have columns with month names starting Apr-13 to Mar-15

Since the input 1 is Apr-14, the formula should identify the appropriate column named as Apr-14 and from there it should copy the value (input 2 ) 51.8 for the next 12 cells which is until Mar-15. I have attaches the examples for your quick reference.

View 3 Replies


ADVERTISEMENT

Identify Repeat Purchases Within Specific Time?

Jan 21, 2014

I am trying to identify repeat customers with a view to removing the purchase if the customer buys the same product within 5 days.

If the same customer buys a different product each day then I would like to count each purchase.

If the same customer buys the same product every day I would only like to count it once every 5 days.

I have tried using COUNTIFS for this. Formula in column D where A contains the Customer, B the Purchase Date and C the Product:

Formula:

View 5 Replies View Related

Identify Distinct Start Stop Times?

Aug 21, 2014

I am attempting to create a datasheet to track the actual time an agent takes a break or lunch. Here is an example of the data that I am using.

name Date Lunch Sch Brk1 Sch Brk 2 Actual Time
BrandonHolt8/19/201411:10 8:30 1:20 8:24:20 Break
BrandonHolt8/19/201411:10 8:30 1:20 11:42:34 Break
BrandonHolt8/19/201411:10 8:30 1:20 12:57:46 Lunch

Because I have two break times, possibility of more depending on the agent, how do i create a formula that will look at this data, take the schedule time for say break one and only apply that against the time that is more in line with the closest actual time?

View 1 Replies View Related

Repeat Amount For Number Of Columns With Month Name Starting From Delivery Date?

Feb 12, 2013

I want formula which can automatically populate the amount based on the number of months starting from the date vehicle is received. For Eg.

Nissan patrol Rent is AED 5800/- per month & we deliver it on month Sept 2011 for 24 months then i want excel to automatically populate AED 5800/- for next 24 months starting from Sept 2011.

View 5 Replies View Related

Formula For Start Of Month

Feb 11, 2009

i have a report that needs to be filled out with total purchases daily that keeps a running total. So each day i have a column with a new figure. Looks like this:

Date Purcahses Total
30/01/09 10 10
31/01/09 10 20
01/02/09 10 30
02/02/09 10 40
etc

On the 20th of each month, i want to create a macro that wipes out the historical data prior to 1st of that month. i.e. on Feb 20, i want to lose all the january rows.

View 2 Replies View Related

Find Start And End Of Month

Apr 16, 2013

I want to put "Jan" (as in January) in a cell on Sheet1 and in cell A1. In cell A2 I want to dispay the start of the month and in cell A3 the end. So if I change A1 to "Feb" or any other month it will display the correct start and end dates.

I then want to use either the month or the dates to do a SUMIF statement. It a simple one like -

=IF(C5="","",SUMIF(April!R:R,"="&C5,April!G:G))

But I don't want April in the formula as I just want to update the cell in A1 to read in the data for a different month. BTW, April is on another sheet along with a sheet for each month.

View 9 Replies View Related

Record YTD Value At Start Of Each Month

Sep 26, 2007

I have a PM (Preventive Maintenance) spreadsheet which tracks the progress on all our maintenance workorders providing a % of PM's complete each month. It has been manually updated each month, but I want to have Excel remember the percentage for each given month and record it in a seperate cell. I.E. D100 tells me PM compliance is 97% MTD for September, but when October 1 arrives I have to remember to take the number as it was on the last day of the month and record it somewhere else. I want to have excel automatically save the number (%) as it is on the last day of each month and keep it. I have used a simple IF function ( IF(C90>09/01/2007,D100,"") to get the cell to record the number during the active month but I lose it as soon as the next month starts.

Is there any way to have excel recognize the new month then save that number in another cell when the next month begins?

View 3 Replies View Related

Want To Display Start Of Month On X Axis?

Jun 1, 2014

I'm trying to prepare a Gantt chart and I'm unable to display the start of month date in the x axis. Currently I'm able to display each month by giving an interval of 31 days, but I'm not sure how to display the start of month in the chart. Tried to add a secondary horizontal axis,but the secondary axis is not intersecting with the y axis and the grid is not getting aligned properly.

View 1 Replies View Related

Calculate The 6th Month From Start Date?

Dec 25, 2013

I need a formula to calculate a date 6 months forward from the start date. However, in the calculated 6th month, I need it to the day before the start date.

ie: start date: 26/12/13 -- End date: 25/06/14

View 3 Replies View Related

Trigger Macro At The Start Of The Month

Feb 18, 2009

is possible to trigger a macro at the start of every month. I have a fairly simple bit of VBA, but just want it to execute on the 1st of every new month.

View 3 Replies View Related

Start Or End Date Through Month Of January

Feb 3, 2014

I have about 80,000 dates. What I need to do is to place an x by the date if it falls inbetween January. For example, I have start Date in A1 and End date in B1. If the start date was 10/20/2013 and the end date was 6/11/2014 then that woub give me an "x" because it went through January. If the start date was 11/23/2013 and the end date was 1/1/2014 that would give me an "x" because it fell in January but if I had 8/4/2013 as a start date and 12/29/2013 then that would be blank. Hope that I made myself clear enough.

View 2 Replies View Related

Automatically Populate 12 Month Calendar With Result Depending On Start And Finish Dates

Mar 26, 2014

I've just started working on an FTE calculator and wish to populate a 12 month calendar with FTE depending on the start and finshed dates.

FTE Calculator non nursing.xlsx

I've attached the file. In Column D the user would select the month the staff start and in the Column E the month the staff will finish. I would like the fte that is calculated in Column Z then to populate in the 12 columns AB:AM (Jul to Jun) with corresponding month start and finish.

View 2 Replies View Related

Formula To Calculate Based On Start Month Number And Duration Number Of Months

Mar 14, 2014

I need a formula that will calucalte the monthly total based on the following conditions:

Col A = Yearly Cost
Col B = The number of the month when the costs are starting (1=Jan etc)
Col C = The duration or the number of months for which the costs are to spread
Col D is Year 2013 with the months across columns D-O. Row 1 above those columns shows the month's corresponding number.

Right now I have =IF($B3<=D$1,$A3/$C3,0) however if my start month is 1 and my duration is 5, I need the costs to stop after May. I've attached a sample file. Calculate based on start month and duration.xlsx

View 3 Replies View Related

Pasting Equal To Cells So That They Repeat Correctly?

Dec 11, 2012

What I'm trying to do is have a row one sheet of a workbook equal a column in another sheet. So ideally it would look like:

Sheet1!A1=Sheet2!A1
Sheet1!B1=Sheet2!A2
Sheet1!C1=Sheet2!A3

But what's happening is it seems like the destination cell keeps moving forward. So when I paste I get:

Sheet1!A1=Sheet2!A1
Sheet1!B1=Sheet2!B1
Sheet1!C1=Sheet2!C1

I've tried adding $ to no avail.

View 2 Replies View Related

Repeat Insert Row And Formula For Selected Cells

Jul 8, 2009

I am in the process of developing a budget template for next year and here is what I want to accomplish through Macro to avoid the tedious mannual manipulation process (hope that's achievable). BTW, I am only an entry-level Macro user who has no background in coding.

I have attached an Excel sample but let me explain:

In each of the expenses tabs (1, 2, and so on (only 1, 2 given in the sample)), I want to be able to select a range of the data cells (A19:Q34 in "Expense 1" and A10:Q28 in "Expense 2") and run this Macro so that:

1. 10 blank rows be inserted between selected data rows

2. A sum created for each month from the four rows below) with different color

3. A Year to Date Actual and To Year End Forecast created based on the VLOOKUP of the "P&L" matching the account code by month

4. Finally grouping of the first 9 rows.

the above is what I have manually created for the first account code in the "expense 1" tab. I have 7-8 expenses groups and about 200 account codes. So mannually creating the above for each expense groups is not that terrible if this will make life easier for Macro.

I would think this is a very typical Macro issue but can't really come up with anything.

The other issue I ran into the VLOOKUP for the YTD Actual and TYE Forecast. It is to look up accont code in the "P&L" tab and match the #s. But the column numbers in the VLOOKUP do not change automatically when I copy across. Thus I have to change mannually, which is really a pain in the butt. I also know I can't copy down because that will change the account code that I want it to match. Because to be able to copy the VLOOKUP formula across the same account code, I need to use the $ to fix the account code. But to copy down I think I need that to be without the $ sign. Any solution on that?

View 9 Replies View Related

Repeat Data As User Fills In Other Cells

Dec 27, 2006

I've been trying to find something that can do the following. I would like Column D and E to auto fill with a repeated data when the user fills out column B. For example,

Column B | Column D (auto filled) | Column E (auto filled)
101 | 1 | 1
102 | 1 | 1
103 | 1 | 1

View 2 Replies View Related

Repeat Cells In Column Depending On Change In Another Columns

Jan 23, 2013

Here is an example list:

Networks
Hardware
Networks
Software
Networks
Resources
Apps
Hardware
Apps
Software
Apps
Resources
Domain
Hardware
Domain
Software
Domain
Resources
Print
Hardware
Print
Print

All I'm trying to do in the second column is something that can say if there is a change in column A, then restart the order, or not..

View 9 Replies View Related

Combine Multiple Cells Into One Cell With VBA Code And Repeat Until Last Row?

Aug 26, 2013

I am using the code below to combine the rang of cell values into 1 cell. with this code I need to select the range of cells manually and run the code then repeat it on the next row manually.

What I need is automatically find the range from selected cell till last cell in the row and run the cod for this range then do the same on next row until last row of the sheet.

Code:
Sub JoinAndMerge()
Dim outputText As String[code]....

View 1 Replies View Related

Identify Cells Using Particular UDF

Dec 28, 2007

I have written a UDF to do some calculations i a workbook. I would like to run a sub, checking the cells in the spreadsheet to see if my formula is present. and if so, then add or change an argument in the formula. My problem is:

How do I write the code so that it will recognize my formula ? Is it possible to attach a tag to a formula which Excel can search for ? I cannot search for the formula including arguments from specific cells, relativ to the formula cell, as the user is free to input the arguments with reference from anywhere in the workbook.

View 3 Replies View Related

Find Text In Column Then Select Non Blank Cells To Right And Repeat

Jul 13, 2012

I would like to search Column C for an instance of the text "Std. Residual", then cycle through the non blank cells to the right and run some formatting code:

VB:
'this line will be modified so that i cycle through the non blank cells that i have found
For row_cycle = 1 To 7
'not signifcant
If Abs(ActiveCell) < 1.96 Then
Selection.Interior.Color = 255

[Code] .....

I then want to search for the next instance of "Std. Residual" in Column C, do the same again, and so on for the entire Worksheet.

View 3 Replies View Related

Highlight Repeat Cells In One Column If Cells In The Adjacent Column Contain Specific Text?

Apr 14, 2014

I am trying to find a solution for highlighting cells in a column that are repeats, ie. >3. I also need these cells to only be highlighted if the adjacent cell in the next column contains specific text. I have tried using conditional formatting with a countifs formula to no avail.

View 2 Replies View Related

Identify #N/A Cells Via Code

Aug 19, 2006

i got a little problem with a piece of code that i can't seem to understand.

i have a column that is dedicated for a vlookup and there are some #N/A values.

im trying to take these #N/A values and copy and paste them somewhere else.


If Range("P" & i & "").Value = "#N/A" Then

View 9 Replies View Related

Identify Cells & Copy Row

Jan 9, 2007

I need some code to identify a cell value in a row and copy the entire row to a new worksheet, then move down to the next row and repeat to the end of the worksheet.

There are 4 vlues I would need to identify:1,3,7 and 28.

View 4 Replies View Related

Identify/Highlight When 2 Corresponding Cells Are Different

Jun 8, 2008

Am looking for a VBA code that will highlight a changed/edited text from a particular cell. For example - If I have a text in cell B2 as - TEST, and the same text is in C2 as well. However, when I change text in C2 to TEST1 or TES, the change should be highlighted.

View 6 Replies View Related

VBA Conditional Format Range Of Cells Based Upon Criteria In One Cell / Repeat For All Rows

Apr 3, 2014

Code is trying to

1. Where there is data in column B
2. Goto first row of data
2. If column J = "Closed"
3. then select Cells from column B to J in that row and colour these cells in red
4. If column J= "Open"
5. the select Celss from column B to J in that row and colour these cells in grey
4. Repeat for next row until you get to cell in column B where there is no data.

Recieve run time error 1004: Method 'RAnge of object_GLobal failed

===============================================================
Sub Colourclosed()
Sheets("Risks").Select
Dim LastRow As Long
Dim i As Long
LastRow = Range("B" & Rows.Count).End(xlUp).Row
For i = 8 To LastRow
If Range("J" & i).Value = "Closed" Then Range("B", "J" & i).Select
Selection.Interior.ColorIndex = 3

[code].....

Note: I've managed to do it for one cell ie for Column B by replacing "If Range("J" & i).Value = "Closed" Then Range("B", "J" & i).Select with "If Range("J" & i).Value = "Closed" Then Range("B" & i).Select" This works but only colours in cell in column B, how do i do this so it colours range of cells

View 4 Replies View Related

How To Identify Blank / Empty Cells

Aug 14, 2014

What is the best way to track blank/empty range cells?*Have tried 'IsBlank' but it keeps showing "False" (cell range: H7:P7, no value and spaces)

View 3 Replies View Related

Macro To Identify Red Cells In Sheet?

May 1, 2013

I have an excel sheet that has conditional formatting. Whenever few cells are not in required format, the cell's backcolor will become red. I am trying to design a macro to check if there are any cells in red due to conditional formatting.

View 1 Replies View Related

Identify And Pull ONLY Numbers Out Of Cells

Jul 31, 2009

I am working on a spreadsheet in Excel '07 that will pull data from online and reformat it in a way that another program can digest. The last thing I need is for excel to recognize if there is a 6 digit number in a specific column.

This is tricky for two reasons:
1. Numbers come in three different formats, ### ###, ######, and ###.###
2. Sometimes there is also text within the cell, however I need to pull out just the 6 digits, and place them in another cell with format ### ###

View 10 Replies View Related

Identify Which Cells Equal A Total Value

Aug 25, 2006

Is there a formula or macro that will identify which cells on a spreadsheet containing various dollar values will add up to a predetermined total? I work in Accounts Receivable and sometimes vendors send in payments for several invoices with no instructions as to the application. I want to be able list the available invoice amounts on a spreadsheet, and be able to tell which of the cells add up to the payment amount.

View 2 Replies View Related

Identify Locked Cells On Worksheet

Oct 19, 2006

Is there an easy way to show/return any Unprotected Cells on a Protected Worksheet?

View 8 Replies View Related







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