Highlight Excel Cells Related to Two Different Multiple Values - excel

Have a problem to solve. I am creating a file with category ID’s (numeric) and have different specification fields for each category, some of them are the same some are changing depending on category ID.
Let's say:
I have category ID’s for cell A2 (cat id: 111), A3 (cat id: 222), A4 - (cat id: 333) and so on.
Category “111” contain specifications like: Price; Condition; Size; Colour; Brand.
Category “222” contain specifications like: Price; Condition; Brand; Manufacture; Shape; Model.
Category “333” ………
My list looks like that:
A1-Cat ID B1-Price C1-Cond. D1-Size E1-Colour F1-Brand G1-Colour H1-Manufacture I1-Shape J- Model
A2-111
A3-222
A4-333
As you can see I have a list of specifications and different category ID’s related to a particular specification.
My question is: how can I highlight cells of each specification which is related only to particular ID. I have about 40 specifications and 15 different ID’s so it is frustrating every time scroll through the rows, remember ID that you work with and follow separate specifications sheet related to ID’s? Specifications must stay in a list all the time, leave empty cell if doesn’t match with ID.
Not sure if this is the best way so if any of you guys have other options to consider, please let me know.
Thank a lot for any answer and help.

Related

NetSuite Saved Search To Find Subsidiary NOT Set For Customer

We use multiple Subsidiaries; obviously every customer has at least one. Most have multiple, and I'm trying to get a list of all of the customers that don't have a particular subsidiary (call it 'XYZ').
The most obvious approach is to use:
Subsidiary : Name does not contain 'XYZ'
or, as a formula(numeric):
case when {msesubsidiary.namenohierarchy} != 'XYZ' then 1 end
That doesn't work because every customer has at least one subsidiary that isn't XYZ, so all customers satisfy the condition and get returned.
I've got a feeling the solution will involve counting the number of {msesubsidiary.namenohierarchy}s for each customer which = 'XYZ' and returning only the ones where that number is 0, but that's not an area I'm very knowledgeable on.
I don't have access to a OneWorld system, but I've done the same thing looking for items that don't have a preferred bin in a given location, and works where you want to show any record where a sublist doesn't contain any desired value. And you're right in your thinking :
Make the Customer your first "Results" column, and set the summary type to "Group".
Set your "Standard" filters as required e.g excluding inactive, only certain sales reps, etc.
Create a "Summary" filter :
Type = Sum
Field = Formula (Numeric)
Formula = case when {msesubsidiary.namenohierarchy} = 'XYZ' then 1 else 0 end
Condition = EQUALS 0
This creates a search, where for each customer, the subsidiary sublist is checked, and if ANY row matches XYZ then it sets the flag to one, and the condition (EQUALS 0) then only presents customers where NONE of the subsidiaries are XYZ.

SUMIFS with Substring

I'm using SUMIFS function to compute commissions based on invoice data. One of the fields I need to check has a product code with many meanings based on position of the data within the code.
For example, product code of "NCH - R - OTF - CH" indicates owner of product is NCH, R meaning Retail, OTF meaning Off the Shelf, and CH meaning commission on Chinese Herbs.
I need to add additional condition in my current SUMIFs function to check if the product code in column “D” has commission code of "CH". I need to only check the last two characters of the product item code.
=SUMIFS('Invoice Items'!$M$2:$M$30000,'Invoice Items'!$F$2:$F$30000,"Product",'Invoice Items'!$A$2:$A$30000,"=Paid")
You can add
'Invoice Items'!$D$2:$D$30000, "*CH"
as a set of criteria to SUMIFS
it will look like:
=SUMIFS('Invoice Items'!$M$2:$M$30000,'Invoice Items'!$F$2:$F$30000,"Product",'Invoice Items'!$A$2:$A$30000,"=Paid",'Invoice Items'!$D$2:$D$30000, "*CH")

Visual Studio 2012 - Coded UI Test Builder: Assertion Formula?

While automating testing of a website shopping experience, I am attempting to verify that the subtotal, total, and tax are calculating properly. Since the price and/or tax will change in the future, I cannot simply assert the actual price value inside the control. Instead, I would need to build a calculation based upon the controls themselves and assert that quantity multiplied by individual price for each item added together equals the subtotal, and so on.
For example, say my controls for each are named such (control names are in asterisks):
Quantity = *UIItem2Cell*
(InnerText has a Value of 2)
Individual Price = *UIItem249Pane*
(DisplayText has a value of 2.49)
Individual Product Total (price x qty) = *UIItem498Pane*
(InnerText has a Value of 4.98)
Instead of validating the values are the actual numbers, can I write an assertion formula using the identifiers as variables?
Keep in mind, I am using the Coded UI Test Builder rather than writing the code outright.
If the Individual Product Total InnerText assertion comparator is AreEqual, can the Comparison Value be something like:
UIItem2Cell-InnerText * UIItem249Pane-DisplayText
A. Is this sort of formula possible?
B. If so, how do I write it?
(Please forgive me, as I am very green when it comes to this.)
You most certainly can. First off in your app itself it would be greatly useful to use IDs on your controls so you can match on just that criteria. that way your not using calculated values for search criteria.
Now as is in your question you will need to pull those values from the cells, calculate the Value and use it in your Search Criteria
// I'd recommend trimming text values:
// depending on how tables and such are rendered you'll have extra white-space characters
var firstValue = Double.Parse(UIItem2Cell.InnerText.Trim());
var secondValue = Double.Parse(UIItem249Pane.DisplayText.Trim());
var calculatedValue = string.Format("{0,N2}%", firstValue * secondValue);
// assuming your in a web app
var totalDiv = new HtmlDiv(currentHtmlDoc);
totalDiv.SearchProperties.Add(new PropertyExpression(HtmlDiv.PropertyNames.InnerText, calculatedValue, PropertyExpressionOperator.Contains));
Assert.IsTrue(totalDiv.TryFind());
SringAssert.Contains(totalDiv.InnerText,calculatedValue);

Hide a column of a specific Row-Grouped Table in RDLC

I have a matrix which contains a rowgroup and groups my products based on the Category. I have three categories: Laptops, Tablets, Televisions. My first two categories contain columns i.e. RAM which I don't want to display for the Televisions. Each category is separated by a page break.
I'm trying to hide the column 'RAM' if the Category name is 'Televisions' but only for the specific page
My structure:
[Categories]
[ProductID] [Processor] [RAM] [Colour] [etc]
Desired result:
[Laptop]
[125] [Intel Pentium] [250 MB RAM] [Black] [etc]
Desired result:
[Television]
[126] [Ix TV processor] [White] [etc]
Current result:
[Television]
[126] [Intel Pentium] [need to hide this] [White] [etc]
It is possible to do. The reason you're having trouble with it is because the matrix column falls outside of the category row-grouping scope. To hide the entire column, you have to move the category group above it. The easiest way to do that is to nest your matrix inside of a list control. Put your Category grouping/page breaks at the List level, and then set your RAM column of the matrix (which is now entirely inside of the category grouping scope since it is inside the list control) visibility based on the value of the Category as follows:
=Iif(Fields!Category.Value = "Televisions",True,False)

Vlookup this text string

I would like to know how to go about this. Imagine a text string such as this
/search/p300_action/search?catid=1&makeid=0&modelid=0&locid=1&yearmin=min&yearmax=max&pricemin=min&pricemax=max&conid=0&displaylocal=1&searchtext=Enter+Keyword(s)+/+AutoID
and I want to break down the info into respective categories such as makeid, modelid, yearmax etc... and relate the relevant categories into another page that have values for it. E.g lets say makeid: 0, 1, 2, 3 .... stands for makename: HP, samsung, compaq, acer respectively.
Kindly give me a simplified way to go about this.
I'm not at all clear what you require (and I'm not alone!) but maybe Text To Columns (Delimited and Other: & as delimiter) then something like =VLOOKUP(VALUE(RIGHT(B1,1)),Sheet2!A:B,2,FALSE)

Resources