Copy Values Down By Given Factor

Feb 3, 2014

See attached file. I am looking for a macro which can copy/paste down a value (column A) by a given factor (column B). The result should be a list of all values (column C). The amount of values and factors is unknown (the attached example ends at row 5).

copy.xlsb‎

View 4 Replies


ADVERTISEMENT

How To Sum Values Each One Multiplied By A Factor Obtained Using Lookup

Jul 15, 2014

I got a list of products and a price list. How to obtain a total for a given subset of products using a formula? Kind of sumif multiplied by a vlookup...

View 4 Replies View Related

Calculating Adjusted Factor Based On Variable Values

Feb 7, 2014

Here is a table with values from Factor1 to Factor 5. Underneath that, for a specific index, I can mark Y or N for factor values. For instance, for index 1, Factor1 and 2 is marked as Y. The goal is to calculate total factor based on variable and factor values. In this case, variable value is 6, factor 1 =1 and factor 2=1.25). So Total factor = 6*1.25*1.5 = 11.25. If all factor values are marked as N, then total factor = variable value (Example is for Index 3)

How this can be implemented. I tried using COUNT function to count the total number of Y but that works only if all factors have same values.

Table_factors.jpg

View 4 Replies View Related

Nested If Factor

Apr 17, 2007

I have the task of creating a spreadsheet that will track and give point value to our sales reps' daily accessory sales. The following is the point value criteria for dollars:

Sell over $30 - 1 point daily
Sell over $100 - 2 points daily
Sell over $150 - 3 points daily
Sell over $300 - 5 points daily
Sell over $500 - 6 points daily
Sell over $1,000 - 7 points daily

Each cell will have a different dollar value in it. I've tried so many different ways to do this IF factor that I have confused myself and spun in circles. Can anyone help me with this? I am about ready to pull out my hair, and really don't want to have to go in and manually do this daily for 30 reps.

View 5 Replies View Related

Rounding Up By A Factor

May 22, 2007

I am having a problem getting a number to round correctly in Excel. I know I can use =ROUNDUP(x,x) to get it to the nearest whole number but I also need the rounded number to be a factor of another number like you would use in =MROUND(x,x). The problem is the MROUND function also rounds down. As an example if I have the number 12.5 and I want this to be rounded up by a factor or 4 I would get 16.

View 8 Replies View Related

Formula For Present Value Factor

May 22, 2007

Which formula should I use to look for the present value factor if I have the interest rate and the # of periods. attached file.

View 9 Replies View Related

Smallest Prime Factor Of A Number

Apr 14, 2009

Is there any formula witch i can use to find the smallest prime factor of a number?

Example: In A1 i write 30 (30=2*3*5 (the prime factors))

in B1 i write a formula, and the result will be 2 (smallest prime factor)

What is the formula?

View 7 Replies View Related

Returning Nth Factor Of Number Via Formula?

Oct 15, 2013

Is there a way of returning the nth factor of a number via a formula?

That is to say, if I have 10, its divisors are 1, 2, 5 and 10, and if I wanted to return the second factor, it would be 2.

View 9 Replies View Related

Multi Factor Weighting To Delta

Feb 16, 2008

I have two factors that both change, resulting in two unique values. I'm trying to determine which portion of the resulting delta is attributable to each factor. Example:

Hourly Cost Run Rate Piece Cost (Hourly Cost / Run Rate)
$105.00 4,500 $0.0233
$126.10 3,000 $0.0420

Two unique results titled Piece Cost = Delta
$0.0420 - $0.0233 = $0.0187

How much of the $0.0187 is attributable to the change in Hourly Cost and how much of the $0.0187 is attributable to the change in Run Rate?

View 9 Replies View Related

Randomly Group N Elements (where N Is Factor Of 7) Into Groups Of 7

Oct 7, 2013

I want to group N elements which is a factor of 7 into groups of 3 randomly. For example, I have 21 elements:

ZSW
PMH
NYV
JTX
DEF
CRK
AOI

I want to group them into 6 more sets. Now, all in all 7 sets. Group them into other sets without the element repeating in the row it has occupied before. For example, for letter P. "P" has occupied row 2 in set 1, it cannot occupy row 2 anymore in other sets. Therefore, each element must have occupied row 1-7 in all the sets.

See attached excel file for the example output : grouping7-final.xlsx‎

View 14 Replies View Related

Conditionally Importing Data From One Of Several Different Worksheets Based On 1 Factor?

May 22, 2014

I am currently working on a spreadsheet that records data from 11 different locations, with each location having it's own page within the workbook.

All of the pages are identical in terms of how the data is stored, the only difference is literally the name of each page (i.e. the location).

What I would like is to have a master page that then pulls through the relevant data, dependent on which location I choose from a drop down list on this page. As each individual page is identical in terms of lay-out, one formula will work for each page, with the only obvious exception is the page reference embedded in the formula. I know how to do a standard lookup for various figures, but I can't figure out a formula that would work with 11 different options... Is there any way to accomplish this?

View 1 Replies View Related

Excel 2010 :: Sumproduct - Calculating Dollar Weighting With One Isolation Factor

Apr 30, 2013

Using excel 2010: I am calculating a dollar weighting with one isolation factor, the state where the sale took place. My current formula is below. Each dollar amount in AG3:AG2000 has a corresponding weighting in AB3:AB2000. The results are isolated by the corresponding state in the range E3:E2000.

I want to add in an additional isolation, the month when the sale took place. The months are located in H3:H2000. Where in my current formula would I insert the isolation for the month?

=SUMPRODUCT(--(Sales!$E$3:$E$2000='2013 NB'!S8),
Sales!$AG$3:$AG$2000,Sales!$AB$3:$AB$2000)/
SUMIF(Sales!$E$3:$E$2000,'2013 NB'!S8,Sales!$AG$3:$AG$2000)

View 9 Replies View Related

Copy/paste Values (copy Values Of Cells From B4 Till B-empty To C Column)

Jun 26, 2009

Sheet linked from external file, new data coming daily. How to copy Values of cells from B4 till B-empty to C column? The attached file has a properly displayed data.

View 3 Replies View Related

Add This Number To The Start Time, Factor In Break Minutes And Get To The Projected Completion Time

Mar 3, 2009

I am trying to provide a tool for department leaders to monitor productivity for order processing in their departments. The variables I have are: Number of orders(variable), number of pickers (variable), start time(variable). Then, I know each order takes 1 picker 4 minutes to pick on average, and there are 45 minutes worth of breaks during the picking process. So after entering the variables I used =(((C3*4)/60)/D3) to come up with the time needed to process the orders. What I can't get to is how to add this number to the start time, factor in break minutes and get to the projected completion time. I have Excel 2003 at work. Clearly I need to take a class!

View 4 Replies View Related

VBA - Copy Range With Multiple Same Values Based On Other Cell Values

Aug 31, 2012

I want to build a database where the user can select a specific time period. I have a static file with the time periods and the related values. For instance I have in column A1:A15 the time periods from January 2011 to Dezember 2011, but I have some dates multiple times as there are more values attached to it. For instance I have in the first 4 rows January 2011...what I want is when someone puts in the value January 2011 in cell B1 and Dezember 2011 in cell B2 that the whole static file gets copied to another location (including the multiple dates) displaying the chosen time period. Similarly if someone puts in the value March 2011 to November 2011, I want only those values to be copied.

View 4 Replies View Related

Select Range To Copy, Find Values And Copy

Feb 2, 2010

I have a base document that i can import another data document with a button (this is working).

I then have another WS ("search") in the base document with lots of identifiers which I want to use as my search range to look through the document that I just imported (column A).

I need a msg to ask the user what month they would like to find the $ value on (Ie, January) in the imported WS... this way it doesnt copy the entire line only cell in the selected month column.

Then I want to the user to be able to click a button that will check through the identifiers on the "search" WS and if the same identifier appears in the imported WS in column A, then for the $ value in the column selected to be copied to the search Range work sheet.

If the idenfifier is not matched then in place of the $ value copied can be the string "no in XXX WS" .

I have attached the document with dummy data in each work sheet with details more cleary what I have meantion above.

View 9 Replies View Related

Find Values, Copy, Check Date & Copy

Aug 6, 2007

The following macro does what it is designed to do and needs to be run from a control sheet called "Guide". When I run it from this Guide sheet it stops at around row 53 (out of 1400 rows) on each of the specified sheets in the macro. I have struggled with this problem and have now discovered that the macro will run correctly when run from one of the worksheets specified in the array, e.g. sheet "200 and 100".

Sub Calculateclosingtrades1()
Dim r As Long, c As Integer, LastRow As Long, rcheck As Long
LastRow = Range("J65536").End(xlUp).Row
Dim shtTemp As Worksheet
Dim vntName As Variant

For Each vntName In Array("200 and 100", "100 and 50", "50 and 25", "40 and 20", "20 and 10", "15 and 10", "18 and 9", "200 only", "100 only", "50 only", "40 only", "25 only", "20 only", "15 only").............

View 7 Replies View Related

Search Arrays For Specific Values And Copy "associated" Values To A New Location

May 26, 2006

Given the following data located in Sheet1 of a Workbook -

•I have seven columns (assume header row names are “A, B, C, D, E, F, G”) each containing numeric data in random order.
•All columns are of the same length (equal number of rows), followed by a blank cell, but the number of rows is unknown.
•Columns with header row names A-E will only contain numbers from 0 to 100, while F and G may contain numbers from -127 to +128.

Here is what I would like to do –

I would like to be able to analyze the data in columns A-D to locate rows that contain specific combinations of values (ex. row 41 contains the values 50, 0, 0, 0 and row 239 contains values 100, 0, 0, 0 in columns A – D, respectively, etc.).

For each row that is found to contain one of these combinations (there are many different combinations required), I would like to copy the associated values from columns E, F, & G for that row, and paste them into their respective (E, F, & G) columns located on Sheet2 of the same workbook. However, I would like to paste the E, F, & G values into a specific row order on Sheet2, DETERMINED by the value of the A – D combination identified on Sheet1.

Continuing with the ex. above, let’s say I would like to have the EFG values from row 239 in Sheet1 copied to row 10 in Sheet2, while the EFG values from row 41, Sheet1, are to be copied to row 11 in Sheet2.

In effect, I would like to create a table of this subset of data, in a specific order, from which I could work later.

I can do this manually using “ AutoFilter” to locate the data I need and then write formulas to copy the data from Sheet1 to Sheet2 in the order that I need, but every time the order of the original data on Sheet1 changes I have to start all over.

View 9 Replies View Related

Seach Values (Sheet 1) And Match Values (Sheet 2) And Copy And Paste?

Apr 11, 2014

I am trying find a match from multple "text" values.

The values I'm using are flight numbers from sheet "Indiv case" in column (range H2:H51). The flight number could occur multiple time in the column.

The associated flight number sheet "Code & categories" in column (range H2:H257) are associated with the last port of embarkation (range I2:I257) in "Code & categories" sheet.

I need to copy & past the name of the Last port of embarkation from sheet "Code & categories" into sheet "Indiv case" adjcent to the flight numbers in column (I2:I51).

Example: Sheet "Indiv case" from Column (H2:H51) Fligh number Data: UA863, VA4148, EK432, BA15, BA15, VA98, QF8, AC33 etc Using these value from "Indiv case" from Column (H2:H51) search and match valuse in "Code & categories" in column (range H2:H257)

If match found copy valuse from sheet "Code & categories in column (i2:I257) in to sheet "Indiv case" into column (I2:I51) Last port of embarkation".

H2;H257, I2:I257
Flight, Last Post
3k111, Singapore
3k131, Singapore
AC33, Vancouver

Copy and Past "Last Port" into sheet "Indiv case (I2:I51) adjcent to matching flight code.

View 1 Replies View Related

Match Cell Value Then Copy And Paste Values Cell Values Into The Same Row?

Jun 27, 2014

write a script to match a cell value then copy and paste the matching row across two worksheets - "Master List" and "Demographics".

These two worksheets have the same cell values in Column A, the key difference is the Column A cell order in the second worksheet "Demographics". This Column A cell order is set arbitrarily by another system and will vary over time.

I would like to match the rows, then paste the three columns from the second worksheet into the first worksheet.

For example:

"Demographics" Worksheet Cell A2 = "Master List" Worksheet A45 - then copy cells A2, B2 and C2 and paste into A45, B45, C45 respectively.

"Demographics" Worksheet Cell A49 = "Master List" Worksheet A12 - then copy cells A49, B49 and C49 and paste into A12, B12, C12 respectively.

I have created a sample spreadsheet here; - List Schema.xlsx

View 2 Replies View Related

Get Values To Copy?

Jul 6, 2012

code is as follow:

VB:
LastRow = Worksheets("Sales").Range("B65536").End(xlUp).Row
Sheets("invoice").Range("A11:J18").Copy Worksheets("Sales").Cells(LastRow + 1, "B")

it works exaclty as I want it to, with one exception, I need it to copy values instead of the formulas that are within the range.

View 4 Replies View Related

Copy Values Across Columns?

Feb 18, 2014

I am having a hard time with a copying values, it is best if I make an example. The idea is: if A1 is "Toyota" and there is some other text also in B1, B2 and B3 then A1,A2 and A3 are "Toyota"

Book1.xls

View 4 Replies View Related

Compare Values And Copy?

Mar 19, 2014

I have 2 tables on different sheets:

Table 1:

A1 B1
Product id | Contract

12 | aaa
13 | bbb
14 | ccc
15 | ddd
21 | eee
22 | fff
... |

Table 2:

A1 | B1
Product id | Contract
|
21 |
15 |
22 |
13 |
... |

I want to put the contract value on the product id correspondent on the table 2. How can i do this?

View 13 Replies View Related

Copy Values Instead Of Formulas

Oct 24, 2007

I am working with an Address Worksheet where the house#, street name and street type are 3 seperate columns. I need to combine that data into one "Address1" column. I can use a Concatenate() formula to combine the data, but I need to be able to have that data output to a new column, independent of the formula.

The problem that I am having is if I try to "copy" the concatenated data to either a new column or new worksheet it only wants to copy the formulas. I don't need the formulas anymore, I need the data.

View 3 Replies View Related

Copy Columns Values To Row

Jul 30, 2013

What vba code can transpose ALl column A values from sheet 1 to get a row values to sheet 2.

example in sheet 1 column A i have

Apple
Orange
Mango
Guava
Pineapple

and in sheet 2 it will be as

A B c d

Apple Orange Mango Guava and etc.

View 1 Replies View Related

Copy Row Then Paste Values Below?

Feb 7, 2014

By using a macro on the attached report I like to copy the row values named "Section Total" in red and and paste them over the values starting with "Aged Debt" in blue (the rest of the wording cahanges every month so "Aged Debt" is the key word for that row).

View 1 Replies View Related

Copy Rows Containing Given Values

Jul 7, 2014

I have a workbook with data in columns A:HN.

What I'm trying to do is copy any rows where the range O:HN contains a 3, 4, 5, 6 or 7 to a new sheet.

I have been using the following code:

[Code] ....

And running it 5 times (with 3 as string, then 4, then 5 etc...)

However, I'm getting duplicates. I imagine where rows contain for example a 5 and 6? Is there a more accurate way to do this?

View 3 Replies View Related

Copy Only Columns That Have Certain Values?

Feb 26, 2014

I have a worksheet with values that change weekly (sample, attached). The number of rows and columns may change as well. However, columns A, B, and C will always have date, name and location data and therefore must be preserved. Aside from the headers, the values in the columns from D onward will include only the numbers 0, 1, 2, or 3.

I need to copy the columns to Sheet2 and then delete all of the columns from D onward that do not have a 2 or a 3 in them. In other words, I need to always keep columns A, B, and C, and also keep any column (and all of its data) if a 2 and/or 3 shows up anywhere in the column.

I imagine there is even a quicker way to cherry pick the first three columns, as well as any other columns that have a 2 or 3 in them, and then paste them to the second worksheet. However, either approach will meet the need well enough.

View 3 Replies View Related

Copy Destination Of Values Only

May 1, 2012

Is there any way to use the formula below and send only the values?

FY07.Copy Destination:=Sheets("Age Roll Up").Range("A1")

I know that I can copy and paste special, but was wondering if I could tweak the above line in any way to?

View 7 Replies View Related

Copy Values With Formatting?

Oct 10, 2012

I want to copy the values of a cell with the formatting. ok, this is easy with paste special and keeping formatting.

What I wanna do is ... lets say the value is 400 , applying (special) formatting to cell the value becomes 500400. When I copy the value I want to copy all the number and not just the 400 but the whole number 500400 as one wthout the need to apply format to the destination.

View 9 Replies View Related







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