Automatic Target Adjustment
Nov 3, 2008
I am building a sheet of sales targets for 2009. With each month allocated a certain percentage of the annual target.
I wish to be able to take into account a change of target at some point in the year.
If i were to change the annual target in June, i need the spreadsheet to only change the monthly targets from June onwards, January - May are finished.
In the example attached there is a change in annual target in June. How do i calculate what the remaining month's targets need to be in order to meet the annual target while taking into account what has already been achieved and the shape of the budget as indicated by the percentages??
View 5 Replies
ADVERTISEMENT
Sep 1, 2007
i am needing to issue a dos command in excel? basically i need to send a target link to a file. i cant use a hyper link for several reasons, and this is the only way i know how to go about this.
View 2 Replies
View Related
Feb 27, 2010
A board member helped me with a macro, but my example had the wrong columns, and I did not know how to adjust the macro.....
I have 3 columns.
Column 'W' Needs to return a value derived from 'fourth and fifth character' of Column K.
Column 'X' needs to return a value for the Sixth and 7th Character of Column K.
Column 'K' is a 7 Alphanumeric part #. example AI3-HDSS.
(first three alphanumeric characters change, but are not relevant.
The 11 combos are all the combos in the spreadsheet.
Col. Y
Col Z
Col AA
Col AB ...
View 9 Replies
View Related
Feb 6, 2007
code is pulling data for forecasts for the following 10 days, and the code is the following:
WHERE (((dbo_ACTUAL_HDD_DAILY. DATE)>=Now()-1 And (dbo_ACTUAL_HDD_DAILY.DATE)<Now()+9)
All he wants modified is to pull data for the entire current Month (Ex. if it is in the middle of July, he would want the data from July 1-July 31, or if February from Feb 1-Feb 28) It would be nice to do this without having to change the VBA every month.
View 4 Replies
View Related
Oct 1, 2008
I am trying to find a way to have a cell look into a group of other cells and display the first available things it comes to. Then have the next cell look in that same group and display the next item.
cells A1:A5 have 3 pieces of information in them scattered among that column (A1, A3, A5 might have the info in it one day, then A2, A3, A4 the next day)
I want B1:b4 to find the info in the A1:a5 and display it in order as it appears in the A column.
View 9 Replies
View Related
Dec 3, 2012
I have main worksheet (target a) that I am trying to populate data from target(worksheet) b. The data I am trying to get from target b changes every month,(declining balance) based on a new month. So how can I get financial data from different cell each month from "b" into same cell in "a"? (so "A" # would be overwritten in same cell based on new # from "B". I have tried VLookup but can't be doing something correct.
View 2 Replies
View Related
Feb 15, 2012
I'm trying to determine how to indicate which month an adjustment will post to an invoice.
Column A= billing cycle date
Column B= Market
Column C= Adjustment Approved Date
Column D= Adjustment Amount
Column E = Which invoice will credit post to:
So I'm trying to build a formula in Column E that will look at the cycle date in Column A compared to the Adjustment approved date in Column C and then kick out which invoice the adjustment will appear on. The values in Column E were placed mannually to show what I'm trying to accomplish. if the adjustment approved date is = to a cycle date it will show up on the same invoice. ie if approved on the 1st and the cycle date is the 1st the invoice will reflect the approved adjustment.
ABCDE1Cycle Day of MonthSales MarketAdjustment Approved DateAdjustment Amountposted invoice21Salt Lake12/15/2011-$1,300.00Jan '1232Denver12/22/2011-$3,802.01Jan '12411Atlanta1/12/2012-$5,292.00Jan '1255Dallas1/23/2012-$6,000.00Feb '12628New York2/1/2012-$5,000.00Feb '1272Denver12/5/2011-$500.00Jan '1283Seattle2/4/2012-$440.74Mar '12912San Diego1/4/2012-$500.00Jan '12101Phoenix1/17/2012-$257.87Feb '12112Denver1/18/2012-$1,220.92Feb '12123Seattle2/5/2012-$911.03Mar '12134Spokane1/30/2012-$20,391.86Feb '12145Dallas12/6/2011-$45.63Jan '12151Phoenix12/7/2011-$7,176.14Jan '12
View 2 Replies
View Related
Aug 22, 2007
The code below puts a green border around the cell that is beneath 10 in my chosen range, however I wish to add the border to the row of information instead of just the cell. My columns of data are from columns E to M, but the criteria for whether or not the data gets a green border is in column D....so lets say D15 is less than 10, I would want a border to go around E15:M15.
Sub Test()
For Each c In Range("D2:D350")
If c < 10 Then
c.select
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 4
End With
View 9 Replies
View Related
Oct 28, 2008
I need to paste a picture from the Clipboard to my Worksheet. I select the origin and paste it with the macro.
I need to adjust that picture to fit in a defined space from left corner of Range($J$10) to the right corner of
Range($BJ$35)
Actually, i'm using this procedure
ActiveSheet.Unprotect
RANGE("graphique_PL").Select
ActiveSheet.Paste
Selection.ShapeRange.LockAspectRatio = msoFalse
Selection.ShapeRange.Height = 358.25
Selection.ShapeRange.Width = 725.
The problem with it is, the Height and Width is arbitrary to the size of the cells at the moment. I would like to had a procedure to calculate does value. They represent the distance between the defined cells location for the image. Actually, if cells width or height change, the picture is misplaced.
View 9 Replies
View Related
Feb 1, 2009
Im having alot of difficulty preventing the result FALSE when one or more of my >20 count within an index table doesnt have a result to display.
Is there anyone able to understand the following? That can perhaps provide a solution that returns no FALSE word??
=IF(ISERROR((VLOOKUP($A22,'C Number'!$A:$N,B$1,0)))=FALSE,VLOOKUP($A22,'C Number'!$A:$N,B$1,0))
Ive tried ISNA but I always get an error appear when i try to use it, perhaps you could edit the command above so that ISNA works whenever FALSE is the result?
View 9 Replies
View Related
Jun 29, 2009
I have Office 2007 and i use this code on my word.docm to insert selected photos. the problem I'm having is that it insert photo at top of page. can additional code be added so that it will insert photo in same table as command button. and in front of button, so that it will hide button
Private Sub CommandButton1_Click()
Dim sFileName As String
Dim ilImage As InlineShape
With Dialogs(wdDialogInsertPicture)
.Display
If .Name "" Then
sFileName = .Name
Set ilImage = ThisDocument.InlineShapes.AddPicture(sFileName, , True)
With ilImage
'set any additional properties such as left, top, etc., here
End with
Else
Exit Sub
End If
End With
End Sub
View 9 Replies
View Related
May 19, 2014
when "Update"(code is under "Update"button) button is pressed to copy the data from userform to the database sheet exactly into columns where both column heading match, for example if userform has heading "Qty Received " all data from that column should be in the database column with the same header "Qty Received"
I attached my file when you will open the file you will find screenshot how it should look.
View 14 Replies
View Related
Jul 18, 2007
Have this formula which works fine for finding the largest sequence in a list. (c/o Domenic from [url]
=MAX(FREQUENCY(IF('Overs-Unders'!B3:B1827"",IF(ISNUMBER(MATCH('Overs-Unders'!B3:B1827,{0,"n/a"},0)),ROW('Overs-Unders'!B3:B1827))),IF(('Overs-Unders'!B3:B1827="")+ISNA(MATCH('Overs-Unders'!B3:B1827,{0,"n/a"},0)),ROW('Overs-Unders'!B3:B1827))))
Now i need to:
(a) from the cells B5:CC5 that this formula runs through find the highest figure and return the name in Row 1 of that column.
(b) adjust above formula to get something now that ignores any run that contains 7 or more consecutive "n/a"s
(c) get a formula that counts the latest run. eg. from the bottom up (at the moment data only goes down to row 200)
View 9 Replies
View Related
Jun 4, 2008
I am using a piece of track changes VBA code mentioned on this site, which among other things creates a new column that reports the number of any cell that has been changed (e.g., $K$32). What I would like to do is, next to that cell, report the title of the row in which that cell appears. In other words, if someone changes cell $K$32, for easier reference I'd like others to be able to see that this cell appears in a row titled "New Sales". I'll be happy to clarify with more specifics if need be.
View 2 Replies
View Related
Aug 13, 2014
Is it possible to modify the attached code so that it will copy bold text and border as shown in attachment sample1 and paste in sheet Shop. Currently the code just copy's and pastes without bold text and borders.
Sample1.PNG
View 4 Replies
View Related
Nov 7, 2009
I've adjusted a jonmo code to add an item in col B which is not in col A to the bottom of col A. - fab code, thanks jonmo.
But.. i want to:
insert rows beneath those in column A to accommodate the added items and shade those cells in list A once they been added ( so the users now they've been moved )
I've posted the code below ( including my attempts at colour change where it shade the right cell but in the wrong column ) ...
View 9 Replies
View Related
Jun 15, 2014
Assume I have a cell M24 with a formula like
=M10 + $H24 - $I24*0.35
As you can see B10 is a fix reference (due to omitted $) which should NOT be auto-adjusted but be kept.
Now I want to copy the formular to lots of cells below cell M24. therefore I mark cell M24 and click copy in context menu.
Then I drag/expand the blinking cell border to lets say the 20 cells below. As I result I expect e.g. in cell M25 a formula like
=M10 + $H25 - $I25*0.35
Unfortunately I got
=M11 + $H25 - $I25*0.35
So the fix reference is adjusted as well.
How can I tell Excel 2007 to NOT auto-adjust fix references in formulas?
View 2 Replies
View Related
Aug 22, 2014
I want to create a chart that shows "Gap to Target. See attached Sample spreadsheet for more info.
Note how the yellow part of the chart is formulaic...is actually the chart...and the green bar over it is manually pasted. That green bar is supposed to be "result" and that yellow gap is supposed to represent the difference between Targeted sales and the actual Result.
How to actually build the green part into the chart? Every time I try, it just adds them together and doesn't show the gap.
Example.xlsx‎
View 4 Replies
View Related
Jan 30, 2014
Is it possible to add a value to a target cell without VBA Ie I have 3 worksheets and I would like to pull a varying cell value from each sheet to give me cumulative total on another sheet in a single cell.
View 2 Replies
View Related
Mar 25, 2014
I have a simple sub below (CopyData) to copy a cell value (I2) to next unused row in column O. If I run the sub from the VB editor, it runs fine doing exactly what I intend to do.
I've tried several macros to cause this sub to run when the value of cell I2 changes but they all behave the same way. I am initiating worksheet changes using the F9 function key. I2 changes every time I press F9 but the CopyData sub doesn't run.
Below is the latest attempt:
Code:
Sub CopyData()
Range("I2").Copy
Sheets("Calculations").Range("O" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues
End Sub
Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$2" Then
Call CopyStuff
End If
End Sub
View 2 Replies
View Related
Jan 29, 2008
Im tring to run the procedure called KeyEventsOn ONLY when a single cell in range E29:E30 changes.
The Intersect and Target are borrowed from a book , I dont fully understand how these work. I am assuming that 'Target' should simply reflect the currently selected range, and the 'intersect' function runs a check as to whether the target is in the range to be checked.
The problem Im having is the variable 'Target'. If the above is true, why for example when I type 'ABC' into the current selected cell does the variable 'Target' show as "ABC" and not "$E$29" (or whatever cell is selected)...
View 9 Replies
View Related
Mar 21, 2008
what the Taget.Address relates to in VBA. I cant figure it out, how can this be used?
View 9 Replies
View Related
Apr 30, 2007
in selection change event how to identify formula in target?
View 9 Replies
View Related
Feb 3, 2014
what i need to do to track daily sales with 10% growth from previous year total sales.
I have 12 separate sheets for each month.
On each sheet i have separate columns"date" "goal" "actual" "% from goal".
What function/formula is needed to calculate the daily target goal taking into account that weekends are busier
View 1 Replies
View Related
Dec 24, 2012
I'm working on a spreadsheet to measure performance.
Target is 10% and below
If actual is below or equal to 10%, then 100% achievement
If actual is above 10%, From 11% to 20%, then achievement is 90% and so on down until 0%
If actual is beyond 20%, then achievement should not exceed 0%
View 5 Replies
View Related
Apr 14, 2014
I am trying use target Bval in a sheet. Can I give conditions like if only the value is number then trigger the code else no. Is there a possibility???
View 6 Replies
View Related
Dec 17, 2007
Basically, I'm trying to do this:
View 11 Replies
View Related
Jan 20, 2009
How would I set up a series of CASES depending on the Target.Value (a doubleclick code within spreadsheet) such that IF target value isblank, then change to Ö. If target value is Ö, then change to "NA". If target value is "NA" then clear contents
Would CASE be the best way to go or a series of IF's?
View 3 Replies
View Related
Apr 20, 2010
I have a row of data that holds dispatch values by week. I have a second row of data that holds stock levels by week. I simply want to create a third row that tells me how many weeks of demand a stock level will cover.
The data looks like this (comma deliminated):
Week, 1, 2, 3, 4, 5, 6, 7, 8, 9
Stock, 26490, 24490, 22490, 20490, 18490, 14239, 17898, 13646, 9393
Dispatch, 2000, 2000, 2000, 2000, 4251, 4251, 4252, 4253, 2350
In this example week 1 would have 9 weeks of stock cover, week 2 - 8 weeks and week 3 - 7 weeks of cover.
This is calculated by summing along the dispatch row until the cumulative sum of dispatch exceeds the current week stock level; then counting the number of weeks in the sum that cumulatively are less than (but closest to without being over) the total stock of that week.
Currently we manually create a massive array that sums along up to 26 weeks in advance and then have a manual formula that finds the maximum value below the target. This then outputs the column reference and then calculates the number of weeks based on the difference between the week column and the column highlighted.
View 8 Replies
View Related
Oct 21, 2011
How can I target just a "date" in any format?
=IF(A2>"any date",A2,B2)
View 7 Replies
View Related