Linking Values Over Time

Nov 15, 2013

I have in the attached file data for three months and I am trying to create a less cumbersome way of linking the three monthly Contributions for a product to calculate its contribution for the full 3-month period. For example, Product A had contributions of 0.90%, -1.52% and -1.99% for the three months. In column H the formula used to link the monthly contributions into a 3-month value (-2.62%) is demonstrated.

As you can see in column F, the process of compounding the contributions for each product over the 3 months is a cumbersome process, and it becomes even more unwieldy if the calculation period covers more months, so either a formula or a few lines of VBA code, to link together more efficiently the contributions for any number of months?

View 1 Replies


ADVERTISEMENT

Linking Macros & Pass Values/Variables

Oct 18, 2006

I have a worksheet which I've set to read-only, I am trying to get it to pull in information from external worksheets. I've created a Macro that will automatically bring in the data however it will only go into a pre-defined cell/row. I have another Macro which looks up the next available row (which is where I want the data to go) but can't get it to link into the macro's. In short, Macro1 brings in data, Macro2 finds next available row, Macro3 brings in another worksheet, Macro4 finds next available row etc etc.

Sub Macro3()
With ActiveSheet.QueryTables.Add(Connection:= Array( _
"OLEDB;Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=C:Documents and SettingsjspencerDesktopExcelAMMH.xl" _
, _
"s;Mode=Share Deny Write;Extended Properties=""HDR=NO;"";Jet OLEDB:System database="""";Jet OLEDB:Registry Path="""";Jet OLEDB:Database" _
, _
" Password="""";Jet OLEDB:Engine Type=35;Jet OLEDB:Database Locking................

View 2 Replies View Related

Creating Payroll Spreadsheet With Dropdown List Linking To Values

Dec 3, 2013

I am trying to attempt to create a payroll spreadsheet with certain aspects and with multiple worksheets. so what im trying to accomplish is this

1/ on my main worksheet would have the payroll template there would be 2 columns (1) would be "routes" (2) would be the dollar value of that route.

2/ i want to be able to pick from a drop down list in colume (1) which will have various routes such as A,
B, C, D, E etc

3/ once i have selected a route in colum (1) i want to have the dollar value that is associated to that route to show up in column (2)

ex/ route A worth $1
route B worth $2

create a dropdown list but thats about it, i have not been able to link any values together.

View 11 Replies View Related

Average Values If Associated Time Of Occurrence Falls Within Certain Time Range?

May 2, 2014

Refer to the attachment. I am trying to average the data in the Y column, if the times fall into the range between column R and S. I am having trouble with the averageif function. Is there a better way to parse through column W, check if the values fall between the ranges of S and R, and if they do, average the associated values in column Y?

Attached image: Capture.JPG‎

View 5 Replies View Related

Converting Time Values From One Time Zone To Another?

Sep 3, 2013

* Need a normal date calculation according to selected time zone. * Formula required in [D7], facing problem in Negative TimeValue.

View 7 Replies View Related

Sum Time Values Based On Other Cell Values

Dec 19, 2013

I have a table of times which shows how long it took someone to process a form. If this value is longer than 10 minutes the cell next to the duration time contains the value 'Break Over Ten'. This is only true when the time is outside of 12:00 to 14:00. If the break is within this time period it shows 'Lunch'.

Is it possible to sum all of the time values that are over flagged as 'Break Over Ten'? This is how it looks

Event Date Start Time End Time Duration Breaks Duration Of Break
19/12/201308:43 08:43 00:00:35 00:00
19/12/201308:43 08:44 00:01:03 00:01
19/12/201309:05 09:19 00:13:15 BREAK OVER TEN00:13
19/12/201309:05 09:19 00:13:15 BREAK OVER TEN00:13

I was thinking of using SUMIF but can't work out how to total the values in the duration of break column when the cell to the left reads break over ten. Is it possible to do this?

View 1 Replies View Related

Time Values (put In Values Along The Lines Of 3:09:87)

Nov 16, 2009

I am trying to report on race with splits that involve hundreds of secs, secs and minutes. I wish to rank individual splits and overall. Problem is I can't put in values along the lines of 3:09:87, it comes up with something odd?!

Have attached file that i'm thinking of using

View 3 Replies View Related

Sum Of Time Values

Aug 12, 2008

I've a field on my database table that is of "Short Time" format. I've some values like this:

0:14
0:06
0:05

I want to add the whole record, to update the record and have the value of the field to show "0:25"

View 2 Replies View Related

Holding Time Values

Apr 23, 2007

I wish to enter a number in cell D5 and have the entry time recorded in A5.
The code below does that, however, each time I add subsequent data, the original times update to the most recent entry.

I want each entry to remain static or fixed.

Col A Col D
8:56PM 6520

=IF(D5>0,NOW(),"")
=IF(D6>0,NOW(),"")
=IF(D7>0,NOW(),"")
=IF(D8>0,NOW(),"")

View 14 Replies View Related

Compare The Time Values

Dec 7, 2009

Excel seems to be miscalculating some formulas and I was hoping someone might have seen this before:

I'm attempting to do math on two cells and return the result in a third cell

Jx = time typed manually
AAx = time that is the result of a lookup function from data in a different worksheet
ABx = the result

Here is the formula that I am putting in ABx: =IF(ISERROR(AA39-J39),"",IF(AA39>=J39,(HOUR(AA39-J39)*60+MINUTE(AA39-J39)),-(HOUR(J39-AA39)*60+MINUTE(J39-AA39))))

J39 contains the time 18:31
and AA39 contains the time 18:30.

When the formula evaluates, the error #NUM is returned. Here are the calculation steps:

IF(FALSE,#N/A,IF(TRUE,HOUR(-.00069444444431)*60........)))

What is happening is excel is evaluating the If(AA39>=J39) as true, even when J39 contains 18:31 and AA39 contains 18:30.

View 6 Replies View Related

Countif Between 2 Time Values

Nov 4, 2009

I am trying to calculate the number of times I have values in a column that fall between 00:10 and 00:14 (10 and 14 minutes). Every formula I have tried either gives me 0 value or ######. Range is e3:e102 and times are being calculated by subtracting 2 adjacent cells with actual times in them.

View 3 Replies View Related

Convert The Time Values

Oct 10, 2008

Is there some way to write a formula that would convert these time values (usually in a HH:MM:SS format) into a "minute" value (by rounding 30 seconds or more up to an additional "minute" as well as multiplying each hour by 60 minutes which will all be added to the MM or "minute" format for a grand total of how many minutes were involved with each transaction)?

When I try to re-format the data it changes to a date/time format which makes no sense.

Here is a sampling of some of the data I am trying to calculate:

:04:41
:39:15
:07:53
:28:45
:04:10
:20:20
:02:17
:16:47
:14:56
:38:59
:17:49
:32:49
:51:20
:07:02
:08:26
:07:57
01:29:08
:15:15
:11:25
:04:15
:30:37
:47:09

View 9 Replies View Related

Adding Time Values

May 1, 2009

I'll admit that the database I'm currently working on is not a vital on - it's my CD collection but I do use it as a testbed for spreadsheets at work so please bear with me!

I'm trying to add running times of CDs together, but of course can't simply use SUM as it will assume the values are base 10

I've got some extra columns in to separate the minutes and seconds, then for totals to divide the seconds by 60, add the result to the total minutes and finally add the remainder of seconds to this but........

is it possible format a cell so it won't allow erroneous time entries (ie, if I tried to put in 45:65 it would reject it?)

View 9 Replies View Related

Add Time Values To ComboBox

Oct 24, 2006

Add Time Values to ComboBox. Is there a way to shorten this code

ComboBox1.AddItem ("0:00")
ComboBox1.AddItem ("8:00 AM")
ComboBox1.AddItem ("8:15 AM")
ComboBox1.AddItem ("8:30 AM")
ComboBox1.AddItem ("8:45 AM")
ComboBox1.AddItem ("9:00 AM")
ComboBox1.AddItem ("9:15 AM")
ComboBox1.AddItem ("9:30 AM")
ComboBox1.AddItem ("9:45 AM")
ComboBox1.AddItem ("10:00 AM")
ComboBox1.AddItem ("10:15 AM")
ComboBox1.AddItem ("10:30 AM")
ComboBox1.AddItem ("10:45 AM").........................

View 3 Replies View Related

Add & Subtract Time Values

Jan 8, 2008

I am trying to find a formula that will take the time in cell B2, add one minute to it and place it into cell C1. Also, I can't figure out the formula that will give me the minute difference between the two times in cells B1 and B2.

View 4 Replies View Related

Getting Total Values Within Time Interval

Mar 14, 2014

I need to get the total values within a criteria. Please see attached sample file.

View 5 Replies View Related

Changing Time Values In Column

May 6, 2009

I am looking for a way to simply change the values in column B (start time) back by one hour, for instance 06:00:00:00 would become 05:00:00:00. Because this schedule is a broadcast schedule, time is shown in 4 fields hour, minutes, seconds, and frames (hh:mm:ss:ff).
I can't find a way to quickly adjust it, and because my company broadcasts in a lot of different timezones, I spend a lot of time manually adjusting the values myself. It seems frustrating because I know excel recognizes the values, because it is capable of sorting them, of course that may mean absolutely nothing. I have attached a sample file that I hope should make my problem a little clearer.

View 5 Replies View Related

Values Based On Time Of Year

Jun 10, 2014

I have a SSheet that determines when it is time to change air conditioning filters. It's based on duration of time and usage. Every filter has a different periodic cycle.

I want to incorporate a formula that will shorten the duration during certain seasons of the year. (shorter duration when AC is running more, such as hot summer, longer in Spring and Fall) .

View 1 Replies View Related

Inserting The Current Time As Values

May 7, 2009

I'm Working on a sign-in sheet for the employees at my office...

I'm looking for a way to insert the current time as a value without having to copy and paste special (values).

View 9 Replies View Related

Loading And Saving Time Values

Feb 19, 2007

I have created a userform which is initiated off a button in her spreadsheet, where if she enters an order number, it will display the values from the row containing that order number. I have made it so she can load from the excel sheet the values into textboxes, where she can change values then save them back into the excel sheet.

I have also include the ability to insert a new row at the end for a new order.

Everything works fine except the date values and I'm a bit stumped, I have searched but can't find anything that helps (I thought DateSerial helped but it didn't).

I've had two problems. the first was that the day and month swapped, I could load 1st Mar 2007 from the excel sheet and when stored back it changed to 3rd Jan 2007. This I presume to be due to US and UK date formats, I am in the UK.

I thought I had fixed this by changing:

oDisplay.Value = vStoreArea .............................

View 9 Replies View Related

Determining When Multiple Values Occur At The Same Time?

Aug 4, 2014

I am a behavior specialist and I have created a spreadsheet to determine what possible antecedents trigger certain behaviors. In other words, I want to know what occurs, like being around an unfamiliar person, right before a person engages in an "acting out behavior" like becoming verbally or physically aggressive. In my spreadsheet I have a number of possible antecedents with a number of possible behaviors. It is tracked by the date that the behavior occurred.

View 6 Replies View Related

Creating Outcomes For Normative Values Using Time Hh:mm:ss

Aug 6, 2014

I seem to struggle with excel formulas when time is involved. I am trying to create a spreadsheet that reviews outcome measures (walking tests in this case) to outline firstly if someone has improved or not (Outcome in the blue columns) which seems to be working alright. This takes into account the 2 aspects of time taken to complete the test and the walking aid required.

What I would now like to be able to do is compare each individuals 'After' score with a normal range for that test. I have put a list below the table of the ranges I am looking for. I have tried to put time formats into a long IF formula to try and get the ranges covered for the TUAG test, but doesn't seem to be working.

The 10 metre walk test is a little trickier as this is looking at change in velocity between the before and after scores. I think I need to be able to work out the velocity for each test and then do a comparison, but again bit stuck with the time formatting.

View 2 Replies View Related

Adding Text Values Representing Time

Aug 23, 2005

The times listed in column A are formatted as text.
When trying to add them using a simple SUM formula (=SUM(A2:A5)), a false result of 0 is returned.
How can we add text values correctly?

Solution:
Use the SUM and TIMEVALUE functions as shown in the following Array formula:
{=SUM(TIMEVALUE(A2:A5))}

To apply Array formula:
Select the cell, press

View 9 Replies View Related

Plot X Values At A Time In Dynamic Chart

Sep 26, 2007

I have over 5000 cells of data. I want to take 4 data points at a time, average them then plot them on a dynamic chart. I know how to do the dynamic chart but how can I take the average of the the first 4 numbers store it in a different cell, then the next 4 and so on...

View 4 Replies View Related

Display Time Values In Pivot Table

Feb 11, 2008

why when pivot tables display individual or single time values they are rounded up or down. i.e. a value of 1:31.5 is displayed in the pivot table as 1:35.0 etc. I have tried custom formatting the table itself but to no avail.

View 3 Replies View Related

Count Unique Values, And Also Average The Time Per Assignment

Jul 28, 2009

I am working on a Productivity Log and can't figure out a way to count unique values, and also average the time per assignment.

Assignment with the action code A - should take 2 hrs to complete, all other action codes should take 20 minutes.

I need to show how many of each action codes were done for the day, and what was the average time taken to complete each. Even better, how much for A action codes, and how much for all other.

View 3 Replies View Related

Unique Values Should Listed In Sheet 2 And 3 Every Time When Activated

Sep 16, 2012

I have below set of value in Sheet 1 (it has category & Name), whenever I open the Sheet 2 & Sheet 3, unique values should get automatically posted in D column..

Category
Names

Pet Animal
Dog

Pet Animal
Cat

Wild Animal
Elephant

[code]....

I have two requirements on this..

1. Unique names should listed in cell D of Sheet 2

2. Unique value of both category & name should listed in Cell D of Sheet 3

View 1 Replies View Related

Excel 2010 :: Adding Negative Time Values

Mar 16, 2013

I have a problem with adding time values. The idea of my spreadsheet is to count time worked, and then calculate any variance from the normal shift length (i.e. 7h 30m). My formulas work fine until I work less than 7h 30m in a shift.

Example:

A1=start time
A2=end time
A3=IF(A2="","",MOD(A2-A1,1))
A4=IF(A3="","",(A3-(TIME(7,30,0))))

When the duration is over 7h 30m, A4 correctly returns the value of extra minutes. But when the duration is under 7h 30m the return is #####.

PS A1:A2 are formatted in a custom format hh:mm and A3:A4 are formatted as h:mm, and I'm using Win7 & MS Office 2010.

View 5 Replies View Related

Using Spinner Button To Change Time Values In Textbox?

Mar 14, 2014

I am having difficulty trying to find a walkthrough or any other information on how to pair a spinner box to a textbox. Preferably I would like it to show 12:00 and move in 15 minute increments and I seem to be hitting many roadblocks and errors.

View 1 Replies View Related

Date And Time Values To Be Represented On Timeline Automatically

Jun 19, 2014

I have been trying to formulate a condition to fill up my timeline by checking the start and end times and date of jobs.

In my attached worksheet, I have an example (which was done manually) what I would expect the timeline to look.

[URL]...

For example,

SLIS900H has a start of 6/8/2014 11:54:05 AM and end of 6/8/2014 12:03:15 PM

As such, the TimeLine entries 06/08/14 11:00 and 06/08/14 12:00 would be shaded (or at least have some indication that it is to be shaded). After which, the Main Task from which SLIS900H belongs to (TSOH Extraction), would also have its Timeline shaded.

View 5 Replies View Related







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