Determine Latest Price Based On Couple Of Criteria

Apr 17, 2014

I have actual date , then I have names of customer and I have product reference. And what I want to find out is the latest price COLUMN D for which this specific product was sold to specific customer (Data in rows E,F,G,H are from another tab). So basically I want is to find out that latest price of product x27 sold to customer A on 15.7.2013 was 70 because on 12.7.2013 we have sold it to customer A for 70.

A
B
C
D
E
F
G
H

[code]....

View 5 Replies


ADVERTISEMENT

Find Latest Price By Each SKU In The List?

Dec 24, 2013

How to find the latest price by each sku in the list, the list contains many skus.

View 13 Replies View Related

Return Latest Date Based On Matching Criteria

Jul 25, 2014

I am looking for a formula that returns the latest Sale date for a each model of car. Below is sample data which I am trying to use the formula. I tried with below formula, but not successful.

=MAX(INDEX($A$1:$C$40,MATCH(A2,$A$1:$C$40,0),3),1)

MakeModelSale Date
AudiA4 11-Jan-14
AudiA4 quattro 12-Jan-14
AudiA4 quattro3-Jan-14
AudiA5 Cabriolet 14-Jan-14
AudiA5 Cabriolet q15-Jan-14
AudiA4 16-Jan-14
AudiA4 quattro17-Jan-14
AudiA4 quattro18-Jan-14
AudiA6 quattro19-Jan-14
AudiA4 10-Jan-14
AudiA4 quattro09-Jan-14
AudiA4 quattro10-Jan-14
AudiA4 11-Jan-14
AudiA4 quattro11-Jan-14
AudiA4 quattro11-Jan-14
AudiA8L 11-Jan-14
AudiA8L 11-Jan-14

View 3 Replies View Related

How To Determine Highest Value Based On Another Column Criteria

Jun 14, 2013

I am trying to determine for each account number in column A, the most popular method for accessing our services based on visits in column B. And then having those numbers summarized as a total for each method.

See below for an example. As you can see Mobile was the most popular for 2 clients Java was for 1 and Desktop was not for anyone. Not all accounts will use all methods.

Account
Visits
Method

1
10
Mobile

[Code] .......

View 5 Replies View Related

Deleting The Rows Based On A Couple Of Variables

Nov 25, 2008

I have a worksheet ( adage inventory ) and I am trying to clean up some un-needed rows.

I need this deleting of rows based on a couple of variables.

I need to keep any row that Col F has the text "QCCONTROL"
and
I need to keep any row that COL N has the text "HOLD"
and
I need to keep any row that COL N has the text "REJECTED".

Sub Delete_OK_Lots()
lr = Sheets("adage inventory").Cells(Rows.Count, "A").End(xlUp).Row

For x = lr To 2 Step -1
If Sheets("adage inventory").Cells(x, "N") "HOLD" Or Sheets("adage inventory").Cells(x, "N") "REJECTED" Or Sheets("adage inventory").Cells(x, "F") "QCCONTROL" Then
Sheets("adage inventory").Rows(x).EntireRow.Delete
End If
Next x
End Sub

View 9 Replies View Related

Randomly Select Cells Based A Couple Rules

Nov 6, 2007

I have a sheet that has 13 players listed in rows down column A. I have 6 columns each representing a quarter in a game. I was wondering what the best way would be to randomly select 5 players in each column and to distribute each cell selection as equally as possible over the 6 quarters.

So what I am doing is having excel designate equal amounts of playing time for each player each game.

Is this possible.

Can I base this off of previous games?

View 9 Replies View Related

How To Change Absolute Cell Reference Based On A Couple Of Conditions

Apr 28, 2014

I have a workbook that contains a column, G, which includes a formula that calculates distances (based on lat, long coordinates) to a training site ("TS" going forward) from other sites within the same district as that TS. There are numerous TS's in the company, usually 1 per district (but some districts do not have a training site), and I am trying to find a way to change my distance formula that will automatically detect which site is a TS, and then calculate the distances of those other sites in that same district to their respective TS's.

As it stands, I have to manually change an absolute cell reference every time I encounter one of these TS locations in the file (designated by a "TS" in Col F), and rerun the distance formula down the column. I would hate to have to do this several hundred times.

Attached is a sample file. Again, Col G contains the formula for distance calculation, and you will notice that the absolute cell references change each time a TS is encountered -- I have been doing this manually. Additionally, I would be curious to know if there is a way to spot any Districts that lack a TS, as in District 493, and specify that in Col G.

View 5 Replies View Related

Add Set Amounts To Price List With Different Criteria?

Oct 24, 2013

I need to add different amounts to a column of prices based on a column of zone numbers. I don't know if that makes sense but here is an example test.xlsx

View 3 Replies View Related

Median With Criteria - Price And Date Range

Jan 30, 2014

I am trying to find the median for a huge amount of data, so I have cut it down to just an example size. I have uploaded a copy of the example file.

I have three price ranges that I have to find the median for:

Under $5MM
$5 MM - $25 MM
$26 MM - $56 MM

I need to find the median for each price range for Signed units and Sold units. I also have to find a median within a date range (e.g. within the last six months) that includes the previous criteria.

For the first formula, I have tried using the following formulas:

=MEDIAN(IF($I$14:$I$34,"Signed",IF($F$14:$F$34,">="&0,IF($F$14:$F$34,"<="&5000000,$F$14:$F$34))))

=MEDIAN(IF($I$14:$I$34,"Signed",IF($F$14:$F$34,">=0",IF($F$14:$F$34,"<=5000000",$F$14:$F$34))))

(I remembered to do "CTL + SHIFT and ENTER" to make it an array.)

For the second formula, with the date range, I am able to find the total for the last six months, but not with a price range included.

The formula that I am using that works for the median of units Signed within the last six months is:

=MEDIAN(IF($H$14:$H$34="Signed",IF($G$14:$G$34>"07/31/2013"+0,$E$14:$E$34)))

However, once I try to find the price range, it does not work:

=MEDIAN(IF($H$14:$H$34="Signed",IF($G$14:$G$34>"07/31/2013"+0,$E$14:$EIF$34,IF($E$14:$E$34,">=0",IF($E$14:$E$34,"<=5000000",$E$14:$E$34)))))

View 2 Replies View Related

Price List - Detail In Tabular Form With Different Criteria

Sep 16, 2009

I have a some detail in the tabular form with different criteria as size, colour ,purity,cut ,by combining all these i have price list in a tabular form , if I want to intersect all this and find the price how can i do so

View 9 Replies View Related

Excel 2010 :: Multiplying Price By Variable Number Of Years And Annual Compounding Interest To Price

Sep 5, 2012

I need J22 to multiply based on years in B22 AND increase 5% for each of those years (compounding) after two years (excludes year 1 from 5% increase). In addition the cell needs to remain blank if D22 is blank. B22 = 1, then the stockprice needs to remain the same, and only increase by 5% after year 1.

Currently...
B22 = a number of years indicated by the formula: =IF(A22="","",DATEDIF(A22,I3,"y"))
J22 =IF(ISNA(VLOOKUP(D22,stockprices,2,FALSE)),"",VLOOKUP(D22,stockprices,2,FALSE))

Example:

If J22 stockprice lookup is $1000.00, and the number of years listed in B22 is 6, then the reported value in J22 needs to be $1494.40.

Windows 7 Ultimate / Excel 2010

View 1 Replies View Related

Calculate The Implied Volatility Which Minimizes The Sum Of Squared Differences Between The Observed Market Price And The Model Price For Each Day

Jun 9, 2008

I have calculated the implied volatility for different single options using the newton raphson method. But, I also need to calculate the implied volatility which minimizes the sum of squared differences between the observed market price and the model price for each day. I guess one needs to use vectors (jacobian matrix) to do this, but I do not know how to expand the code to be able to do this. Anyone have any idea how this can be done? I have attached the [code] I have used to calculate the implied volatility for one option.

View 2 Replies View Related

Removing Duplicates Based On Latest Revision?

Aug 20, 2012

I am importing some data from a source which every time I just want to have latest revision of documents and I want it to be dynamic so that every time I import data the deletion would be automatic the data I import is something like this

DOC NO.
DOC DEScription
status

[Code]....

and as you see I have duplicate documents with different revisions and I want to have the latest last revision only.

View 8 Replies View Related

Removing Duplicates From List Based On Latest Date?

Jan 6, 2014

I am working on a large data file (leasing file), that has many duplicates. The names on the file are duplicated due to the various variable costs associated with leasing. I need to remove the duplicates names based on the latest contract end date.

View 4 Replies View Related

Compressing Table To Capture Latest Instance Based On Each ID

Feb 6, 2012

I have a table that I am trying to compress to capture the latest instance based on each ID.

For example, let us say this is my data set:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Beginr | 56.00 | 27-Jan
ID-33 | Jill | Beginr | 32.00 | 28-Jan
ID-34 | Bill | Beginr | 78.00 | 28-Jan
ID-34 | Bill | Interm | 39.00 | 29-Jan *
ID-33 | Jill | Beginr | 62.00 | 31-Jan
ID-32 | John | Interm | 61.00 | 02-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb *
ID-35 | Mike | Beginr | 82.00 | 03-Feb
ID-35 | Mike | Interm | 85.00 | 04-Feb
ID-35 | Mike | Advncd | 89.00 | 05-Feb *
ID-32 | John | Advncd | 24.00 | 05-Feb
ID-32 | John | Advncd | 52.00 | 08-Feb *

From this data set I wish to extract only the 4 entries with a "*" next to them. These entries give me the updated latest status for each student.

So the output table would look like:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Advncd | 52.00 | 08-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb
ID-34 | Bill | Interm | 39.00 | 29-Jan
ID-35 | Mike | Advncd | 89.00 | 05-Feb

View 7 Replies View Related

If Criteria Met Then Determine The Average Time

Jul 3, 2013

I'm trying to sort column G for any "Approved" or "Denied" outcomes then find the time difference between columns E and F then divide that difference by the number of approved or denied in column G. I've tried a number of combinations of SUMIFS, IFS, COUNTIFS, and Ave formulas but can't come up with one that works. Here's an example of what I'm trying to do:

Sum E-F if G= "Approved" or "Denied" / the number of "Approved" or "Denied" outc

View 12 Replies View Related

Return Rows Based On Latest Date AND Highest Quantity For Given ID

Dec 10, 2012

I'm trying to return a distinct list of rows that filter based on the latest date and largest quantity for each distinct AccountID and ProductID combination.

I tried some variant of the =max function, but I need two filters.

The purpose of this is to create a data set of all company accounts with the most recent number of products used to upload to a database.

The simplified and original data set is as follows:

AccountID
ProductID
Company
Date

[Code].....

View 7 Replies View Related

Deleting Duplicate Rows Based On Earliest Or Latest Time?

Mar 19, 2014

Below is an example of an Excel sheet I'm working with: [URL]

Basically, I'm trying to delete the duplicate rows by matching ID, Date and Type. If ID, Date and Type are the same, then, I want to only keep the record with the earliest Time in case of Type = In and the latest Time in case of Type = Out.

So, for example, in the case of ID = 1, there are 3 records for In, I only want to keep the one where Time is: 8:01 as this is the earliest. The other 2 records should be deleted.

Similarly, in the case of ID 3, I want to keep the record where Time = 18:05 as this is the later time out of the 2.

Can this be achieved by Conditional Formatting or Macro or VBA?

View 1 Replies View Related

Calculate Price Based On Quantity

Apr 21, 2009

I`m relatively inexperienced with Excel, searched for a few days and have not been able to figure out how to calcuate this value. I have multiple worksheets to work out financials. I have a separate worksheet with the pricing breakdown based on volume. 2 columns

0 - 99,999 0.05
100,000 - 499,999 0.04
500,000 - 999,999 0.03
1,000,000+ 0.03

On a separate worksheet I want to add I6+I7, depending on the value multiply it by the value in the second column. So if the total is 520,000 then multiply it by 0.03.

View 5 Replies View Related

Adjusting Price Based On Volume?

Sep 17, 2010

I am trying to figure out if something here is even possible. I have an order form and a price list. I get different pricing based on the quantity I purchase. I would like to have the price auto populate based on the quantity entered. The price will be on another sheet.

I couldn't find a lot of info but I also may not know where to look.

example:

if (b2<62) then price is ($sheet2.b2)
if (b2<124) then price is ($sheet2.c2)
if (b2<372) then price is ($sheet2.d2)

Is this even possible to put into a formula?

View 6 Replies View Related

Calculating Price Based On Profit

Jun 26, 2012

I'm using a spread sheet to determine what I should charge customers. I want to make at least $300 profit on every job. If my profit is not at least $300 then I must up my price until profit reaches $300. Currently I'm manually adding a percentage (Factor) to the original price until I reach $300 profit. In the image below:

A is the original price
B is the factor by which I multiply the original price to increase it
C is the new figure which is reached after multiplying (1+B2)*A2
D is the costs related to that job (I enter these manually on a separate sheet within the workbook)
E if the profit (C-D)

I use a factor in B because when I increase the price, then I have to increase several parts of the job by the same percentage so I multiply each part by this factor to increase the price of each by the same percentage.

Now what I would like to do is if E2.

View 2 Replies View Related

Calculate Price Based On Minimum

Jan 1, 2008

Trying to create a Math formula that allows for Taking advantage of sale pricing.

In Excel the following:

Qty to Order (G3), Std Package(I3), Price per Unit(J3), Sale Price(K3), =

Extended Price(L3)

Example

2case X 40peices per case,1.00Reg Price,.90Sale Price = 72.00

Not quite sure how to handle the Sale price taking over regular pricing

View 9 Replies View Related

Lookups For An Item's Price From A Price List

Jan 4, 2010

The analysis basically has 2 data components to it:
The 1st part, is a basic transaction list of shopping items bought through the year. Each transaction's shopping item also has the quantity of that item purchased at that time.

The 2nd part, is a pricing sheet for all the different types of shopping items. The pricing sheet has different prices for different quantities at which the item is purchased.

What I am trying to do is to find the relevant price for shopping item, which depends on not only what the item is, but also the quantity. In point form, it should follow the logic below:

1) Identify the item in the shopping list (worksheet 1) from the list of prices (worksheet 2)

2) Find quantity in the prices worksheet that is closest to the quantity in the shopping list (i.e. where the difference between the quantity on transaction list and the quantity on the pricing sheet is the least)

3) Pull the price for this "closest quantity"

I have uploaded a worksheet showing the structure of that data.
[url]

Is there some VB code I need to do this, or can it just be a few simple formulas?

View 4 Replies View Related

Sum Quantity And Price Across Sheet Based On Items

Jun 18, 2013

I have an issue when I use the sumproduct formula, it only sum the quantity and price orderly which is not matched

I have attache the file for example : Sale monthly.xlsx

View 9 Replies View Related

Function That Will Generate A Price Based On Three Fields

Jul 6, 2007

I'm a graphic designer and i'm trying to build a spreadsheet that will help me in doing my accounts.

Ok, so i'm trying to set up a function that will generate a price based on three fields:

Lamination:YES or NO
Duplex: YES or NO
Stock: Around 14 different stock options.

I had it working using a nested IF but I ran out of the 7.

I then tried using CONCATENATE using "&" to seperate but excel said the formula was too long.

View 14 Replies View Related

Price Breaks Based On Volume And Threshold

May 22, 2013

1 TO 10 25.00
11 TO 50 15.00
51 TO 100 9.00
101 TO 250 5.40

In this there is an area where it is cheaper to buy for example 12 instead of 10 and I am trying to work out a formula to deal with this funny step change down as people buy more.

View 2 Replies View Related

Formula To Calculate Price Based On Sheet2

Apr 23, 2009

I am looking for a formula that can change the price of some of the items on sheet1 in column C by the amount found on Sheet2 in Column D. I would like it to base the calculation on column C in sheet2 (so I can choose if I want to add, subtract, multiply, divide, or make the price exact). I would like all prices that don't match these UPC codes to remain unchanged.

Intended Results can be seen on Sheet1 in Column E. Not sure if I should a formula with the Vlookup function or a macro, or maybe there is even a better solution.

Example spreadsheet may be viewed at http://spreadsheets.google.com/ccc?k...WLMyhNJLiPLTfA.

View 9 Replies View Related

Excel 2003 :: Calculate Sum Based On Partial Text Match And Latest Date

Jun 19, 2014

I need a formula to do a partial text match on column B to find all rows that contain "825-CL-A", then sum column C for all applicable rows with the latest date. In this example the result should be "4.25 + 6.50 = 10.75". I'm using Excel 2003 for this project.

A B C
7/1/2012 0:00825-CL-A-41091-REG4.00
7/1/2012 0:00825-CL-A-41091-REG6.25
7/1/2013 0:00825-CL-A-41456-REG4.25
7/1/2013 0:00825-CL-A-41456-REG6.50
1/1/2014 0:00825-CL-A-41640-REG4.25
1/1/2014 0:00825-CL-A-41640-REG6.50
3/1/2014 0:00825-CL-E-41699-REG3.00
3/1/2014 0:00825-CL-E-41699-REG4.00

View 14 Replies View Related

Move Latest Updated Cell In Sheets In A Workbook Based On Time And Date

Mar 1, 2014

I am having rows of data, that i will be updating from time to time. I want excel to move the latest updated rows, in any column if updated, to move to the top, to easiy know that i updated those records. It should be that when i updated more rows than one, then the first updated cell would be in lower, in order, than the latest updated cells. I do not want any cumbersome vba. I want in formula or in conditional formatting. The row no may be total not limited to some rows.

Because, you naturally would have updated the 200 th record and would have saved. It saved as it is, so when you next opens it it is there, but how can i know that that is the last row of data i edited.

View 5 Replies View Related

Varying Price Points Based On Hour Intervals

Jan 18, 2014

I have a client where I have agreed to a variable price per hour depending on how many hours is used.

So the first 40 hours of a month costs X USD
The next 40 hours of a month costs Y USD
The next 40 hours of a month costs Z USD
The next 40 hours of a month costs Q USD
And all hours above 160 in a month costs T USD

All hours are registered as decimal with 15 minutes as a minimum, so 0.25, 0.5, 0.75, 1, 1.25 etc.

Now the challenge for me is to set up a formula calculating the total cost based on how many hours is registered each month.

I.e. if I register 46 hours in one month the first 40 hours should be multiplied by X and the last 6 hours by Y. And if I register 173 the calculation looks like this:

40 * X
40 * Y
40 * Z
40 * Q
33 * T

And I can't figure out how to make the formula calculate based on what is between the various intervals.

View 3 Replies View Related







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