Highlight Match Old And New SKU From Two Columns And Change Price
Jun 18, 2014
We are currently working on uploading product (XML) to our website, we have some old product data done and now there are some new product sheet came out and we have 30 of them. Between the new and old product sheet, we have to add new products, remove discontinue products and update all the old product's pricing.
First come to first, we need to find out which are the old products and which are the new products. Yes, the manufacture didn't separate the new from the old. I have put together a sample Excel, please see attachment.
I need to compare them and highlight the cells in in GREEN on both columns when they are match.
Column A (Old SKU)
Column B (New SKU)
Column C (New COST)
Column D (New MSRP)
Column E (New SPECIAL PRICE)
Update new pricing from NEW Columns C,D,E to OLD Columns F,G,H when the cells from Column A and B are highlighted
Column F (Old COST)
Column G (Old MSRP)
Column H (Old SPECIAL PRICE)
Can that be done within Excel build in functions?
View 8 Replies
ADVERTISEMENT
May 27, 2014
Please see the attached example. I'm trying to highlight cells only if 2 values in the row match 2 values in another row. If a book title/author combination matches that of another title/author combination in a different row, it would highlight. Some alternate rows will contain different titles by the same author, and some rows will have like titles by different authors...but they should not highlight.
The only situation where highlighting would occur is if the title/author pairing appears in another row.
I'm trying to decide if this would be a conditional formatting/highlighting rule, or if it would be a macro/vbs?
I'm using Excel 2013.
Pairing example.PNG
View 14 Replies
View Related
Nov 7, 2008
Is it possible to compare two columns side by side to highlight/change color of difference between the two cells
I need to compare and show the changes to the record from previous version and generate a report which will highlight the changes (Rather than just saying that record has changed It should tell what has changed)
For example if the
Column 1 (Previous Version) :The structure contains Wire, Bolt, Stmaps etc
Column 2 (Current Version) : The structure contains Wire, Bolt, Stamps etc
Data Changed: YES
In report is should show two columns side by side and in Column 2 it should highlight "Stamps"
View 9 Replies
View Related
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
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
Nov 11, 2008
I have a list of stores across the ABC columns and a list of items down the number rows.
I need to sort the lowest price from the A2,B2,C2 row and place it in another cell (possibly L2) along with the store name (from A1,B1....) in M2.
View 3 Replies
View Related
Feb 28, 2014
A
B
C
D
1
$10
$2.95 to $11.00
$4.50 to $19.00
$17.45 to $40.00
Is there a formula that will add column A to the left and right sides of columns B and C to give me an overall answer range in column D?
View 2 Replies
View Related
Jul 18, 2006
I'd like to have a list printed of all the "qualifying people" found in a range, and then sort their corresponding price values from highest to lowest in Columns A and B. EXAMPLE:
RANGE: D3:D20 - Numerical
RANGE: E3:E20 - Text (names)
RANGE: F3:F20 - $$$
I'd like to search column D for any values of 2 or higher. When it finds a 2 or higher, I want it to find the corresponding name in the SAME ROW in column E, and of course the corresponding price in the SAME ROW in column F. Then I would like only those qualifying people "with value of 2 or higher" to be listed in order from highest price to lowest price in Column A, and B.
COLUMNS
D--------E-----------F---
0-----Mike Bob-----$52.65
1-----Dave Jon-----$42.50
2-----Jane Doe-----$37.65
0-----Gary Lon-----$25.50
0-----Joey Saw----$35.65
2-----Mike Jon-----$35.65
1-----Kate Low-----$38.68
2-----John Doe-----$40.00................
View 3 Replies
View Related
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
Jul 10, 2009
I have a worksheet with 20+ columns. For this macro, I only need to focus on 4 of them. However, none of these columns are ever in a fixed position so the macro would need to find them by name and NOT by column position. Here they are...
1. Vacation Type (will only have a text value of either "Cold" or "Warm")
2. Vacation Started (will always have a date *x/xx/xxxx)
3. Vacation Ended (sometimes it will have a date '*x/xx/xxxx' and sometimes it will NOT have a date and will be truly blank)
4. Number of Days (currently has ALL truly blank cells)
THIS WHOLE MACRO SHOULD NOT BE CASE SENSITIVE ANYWHERE
Here's what I would like the macro to do...
Scenario 1 - for "Cold" values Find "Cold" text values in the "Vacation Type" column
"Cold" values WITH a date in the "Vacation Ended" columnIF there IS a date in the "Vacation Ended" column in the same row, put the number of days difference between the "Vacation Started" column and "Vacation Ended" column in the "Number of Days" column.
The amount of days in the "Number of Days" column will determine whether these cells should be highlighted GREY or RED.
Scenario 1-AIF the number of days difference is 7 days or less, highlight the cells in the "Vacation Ended" column and "Number of Days" column RED.
OR…
Scenario 1-BIF the number of days difference is MORE than 7 days, highlight the cells in the "Vacation Ended" column and "Number of Days" column GREY..................................
View 2 Replies
View Related
Jan 7, 2010
is there any way that i can match the date in a data and apply a color if match?
sample: column a2: 11/5/09 $15.00
column b2: 11/5/09 house $15.00 -> then the column B2 must be filled with color because they have the same date with the column a2.
View 4 Replies
View Related
Aug 17, 2009
I am able to to use the Vlookup to look up for value in the "Sheet sept". All value can be updated expect the item called "mug" as it is not listed in the "Sheet all". How do I highlight the missing item in the "Sheet all"? Attached herewith a file for better understanding.
View 11 Replies
View Related
Nov 12, 2009
.....
In the table above in cells A3:F4 is the draw result.
Option1: in the column H played numbers are separated by semicolon
Option2: in the column I played numbers are separated by coma
Option3: in the column J played numbers are separated by space
Is there any formula or conditional formatting method to highlight match numbers out of any one of three options?
View 9 Replies
View Related
Oct 31, 2009
Within conditional formatting I use =COUNTIF(Task,I4)=0 and it highlights the non-matches. Task is a named range which works fine, but how could I actually just use a string instead of the named range? The named range only consists of Major and Sub. My first guess would be =COUNTIF({"Major";"Sub"},I4)=0 but this is not working.
View 4 Replies
View Related
Aug 14, 2009
I have a row D2:ND2 where each cell contains a date from October 1st through to September 20th). I also have a column NI3:NI13 that contains various dates such as Easter or bank holidays. Would it be possible to use conditional formatting (or something else) to highlight all rows below D2:ND2 if the dates specified in each cell in D2:ND2 match any of the dates in column NI3:NI13?
View 4 Replies
View Related
Jan 3, 2013
I have two cells with values that are strings.
I would like to know of a macro that can compare each two cells(start from E2 and compare with E3)to see if the values are NOT equal.
If they are equal, do nothing and if they are NOT, highlight the value.
Example:
compare E2&E3, E4,E5,E6,E7,.... if for example E2&E3, E4,E5,E6,E7,.... each hat same string, do nothing, but if they were not the same highlight it with red.
This code checks two cells and highlights one cell when there is duplicate, I like the opposite one, but don't know what to change!
Code:
Sub CompareCells() Dim r As Range, cell As Range Range
("E2", Range("E" & Rows.Count).End(xlUp)).Name = ("MyRange") Range("MyRange").Select
' clear all colors from selection Selection.Interior.ColorIndex = xlNone
' loop through cells and compare Set r = Selection Set r = Selection.Resize(r.Rows.Count + 1)
For Each cell In r If cell.Offset(1, 0).Value cell.Value Then
cell.Offset(1, 0).Interior.ColorIndex = 3 End If Next End Sub
View 3 Replies
View Related
Dec 3, 2008
A:2007 Email Addresses
john@yahoo.com
Sam@hotmail.com
etc
etc
>6000 more email address9000 more email addresses)
I need to match up & clearly highlight the pairs (duplicates) in each coloumn.
What's the trick for this?
View 9 Replies
View Related
Mar 4, 2008
The Problem: There is data in a step chart from left to right. On a separate step chart, Conditional formatting is set to lookup values from the first step chart and highlight non empty cells in the row. The formatting should only format the first non empty cell from left to right in the row. After formatting the first non zero value in the time line the formatting should cease. Note: the conditional formatting value and the value of the cell being formatted are not the same in either value or time but are related. The formatting is to illustrate the relation
Current Formatting formula:
=VLOOKUP($B395,$B$5:$DB$211,K$242,0)
Syntax for Vlookup(Lookup_Value,Table_array,Column_index_num,Range_Lookup)
View 8 Replies
View Related
Jul 24, 2006
All data is located within one book. I have two sheets with material codes in each sheet which include pricing (existing and current)
Sheet1 (has existing material codes plus existing pricing) Has about 1200 lines
Sheet2 (has current material codes plus current pricing), has about 36000 lines
I need to cross check if the material code (taken from sheet1) are still available in sheet2, and if they are, copy the current price back to sheet1. The current price needs to be pasted back into sheet1 (next to the existing price). If the material code doesn't exist (for whatever reason, in sheet2), the program needs to move onto the next line and leave the current price for that material code blank. The program should finish once all the lines in sheet1 are completed. I have attached a sample of what I'm trying to do,
View 7 Replies
View Related
Feb 12, 2010
I have have a large array of prices (across rows) and am looking for the closest price to match a price that I have been provided with. It's a basic benchmarking exercise on a row by row basis....and the price can be positive or negative. Is there a clean way to reference the closest price?
I have come across a fair amount of solutions, but none worked optimally - particularly the =INDEX(Data,MATCH(MIN(ABS(Data-Target)),ABS(Data-Target),0)) approach....it just didn't work for some lines, and only worked for values less than source price in other instances.
I would also like to reference the source on the next column.
View 12 Replies
View Related
Feb 25, 2009
Excel 2003 > In a given row, I need to change the fill-color of the cell in column C if the user changes any value in columns D through Z. How to? Need a VBA code snippet.
View 2 Replies
View Related
Jul 22, 2014
I'm finding it hard to explain what I am trying to do (which may be why I can't find a solution through Google), so I have an example. I am using a much larger spreadsheet than this sample(18,000 rows)
ID
First_Name
Last_Name
Company
[Code]....
I want to highlight rows if there are multiple instances of ID and # values - I included a column at the end showing which rows in this data set would be highlighted.
View 2 Replies
View Related
Sep 28, 2007
I've been asked to assist with modifications of an excel spreadsheet. One of the features is a column that has a formula of what the total order should be. For example, 1 base order of 25.00, plus 1 bonus order of 18.00, plus 2 bonus orders of 15.00 would be $73.00 due. Then data entry persons enter the actual amount collected. Is there a way to highlight either the cell or the result if the amount collected does not equal the amount due? I know I can accomplish this with another column, but they want to keep the columns to a minimum.
This is for a non-profit agency and the orders are now at 1000 that must be entered within a day or two period, so they want to keep the fields to a minimum so as to make the entry easier for those doing the input. And they would like the data entry person to see an immediate flag if what he or she enters as collected does not equal what is due.
View 9 Replies
View Related
Mar 17, 2009
I am trying to do an if statement where I ask if the 2009 price is .50 or less away from the 2008 price, bring back "Check" See below:
2008 2009
$23.95 $24.15
Using excel 2007
View 3 Replies
View Related
Dec 15, 2013
[URL]
What im trying to do is match columns A & B from AUDIT Sheet to Columns A & B in MASTER sheet. If they match then pull columns C, D & E from MASTER into AUDIT.
View 9 Replies
View Related
May 16, 2014
I have a sheet that I have item numbers in a column that i want to highlight and change color when they are not the same. I want the colors to be unique to each number. I am currently using conditional formatting (Format cells based on their values (3-color scale)). I works alright but not perfect.
condition formatting.PNG
View 2 Replies
View Related
May 11, 2014
In a column in which there are repeating numbers is there a formula I can enter into conditional formatting that will highlight a cell when the number doesn't match the value from the value above it?
So in this example the values with an * would be highlighted.
1*
1
1
2*
2
2
2
3*
4*
4
5*
5
View 2 Replies
View Related
Nov 3, 2011
I'm trying to put a report together that shows the most recent salary increase for each employee. Below is a snap shot of what my pivot looks like - How can I format the report to only show the most current change - Which in this case would be the 2 highlighted rows....
View 1 Replies
View Related
Apr 11, 2008
I have a whole spreadsheet of data which looks confusing so I need to make it look more attractive to the viewer.
I have column A which shows a number of the branch conducting the transaction and the column will contain numerous different branches which I have sorted into branch order.I think there are too many branches to use the conditional formatting condition (probably 5000 different numbers)
What I wish to do is change the colour of the cell when the branch name changes.
For example
Column A= Branch number
123
123
123
345
345
345
456
456
456
789
789
What I need is to highlight all branches 123 with a colour (any colour say red) but when the change in branch number occurs to 345 use a different colour to highlight all the branches (cells) with the number 345 (say grey).Then when the branch changes to 456 use the same colour that highlighted branch 123 (ie red) .Then again when the branch changes to 789 change the colour back to grey again so the spreadsheet shows rows highlighted when a different branch occurs
The above example would look like
Column A
all branches with 123 ( cell highlighted any colour but say red)
branches 345 cells highlighted grey
branches 456 cells highlighted red
branches 789 grey
View 9 Replies
View Related
Apr 18, 2008
I am sure that a worksheet change would be the best way to go for this, but I am unsure how to test for this.
I am looking to prevent users from using a select set of colors for highlighting. If the user tries to highlight using one of these invalid colors, I would like to flag a message telling the user that this color is reserved and highlight the selection to the previous color.
The previous color may be a tricky part as I do not know if this can be done.
View 9 Replies
View Related