I have this vague idea that I should be able to use the above formulas to compile a list of combined values. There may be a much easier way to do this but my brain has started down this track so I thought it best to float it out there and see what it is that I get back.
I've made an example wherein I have 4 donut shops, they each have more than one location and I would like to perform two functions: One would (using the small function and the countif value) go through and return each value in a new cell in the same row, Second would be using the countif and small functions to concatenate each value into a orderly string.
My thought with this is I will then be able to use conditional formatting on each of the individual listings in a Search function (or index match) to tell me which names from database one (as associated with Company A) lineup with names as listed in database two (as associated with Company A). I know I'm referencing an example set and the corresponding application to an actual data set.
Count Towns
Dunkin Donuts Norwell Dunkin Donuts 6
Honey Dew Hanover Honey Dew 3
Dunkin Donuts Springfield Beard Papa 2
Cronut Walnut Creek Cronut 2
Beard Papa Culver City
Cronut Santa Monica
Dunkin Donuts Summerville
Honey Dew Charlestown
Beard Papa Oakland
Dunkin Donuts Dorchester
Dunkin Donuts Jamaica Plain
Dunkin Donuts San Francisco
Honey Dew Agoura
Related
Before I begin this question, I would like to state that I have read a few articles, I have tried a couple of functions (=REPLACE, =SUBSTITUTE) but I'm not able to get the results required, I'm new to Excel.
The following is a homework question.
Question: Use appropriate text functions to shorten the variable names to something like Arizona Females Young, Arizona Females Old, and Arizona Females All, also is there a way to do it automatically for all variables in 1 function. The screenshot is attached.
If you need change headers:
Licensed Drivers Alabama Female 19 and under # -> Female 19 and under #
Licensed Drivers Alabama Female 19 and under # -> Female 85 and over #
function "Find and Replace" is the best solution.
You also can extract value to other place by formulas:
=SUBSTITUTE(A1,"Licensed Drivers Alabama ","")
=SUBSTITUTE(B1,"Licensed Drivers Alabama ","")
I am working with excel and need some inputs on how we can search for multiple words in a column and then return the position from where the match was found. For example the table whose words i want to check are:
Column A Column B
North Carolina
South Boston
West Coast
East Central
The table i want to check these phrases in is below:
Column C
North West Carolina
Western Coastal
Eastern Time for Central
Southern Boston
The final output should give me something like below:
Column A Column B Column D
North Carolina 1
South Boston 4
West Coast 2
East Central 3
Note that we are searching for words in the 2nd table irrespective of the order in which they are. For example even though the first row in 2nd table is North West Carolina, we get a match. The output basically gives us the position of the phrase where we could match our text.
Can this be done in excel somehow?This seems to me like a combination of match() and search() somehow but i haven't been able to crack it. Can it be done?
I tried the formula listed below but its not working:
VLOOKUP(and($A1&"*",$B1&"*"),'Table2'!$D$2:$D$5,1,FALSE)
But this doesn't work
Thanks
Try this (assuming data starts in row 2)
=MATCH(1,ISNUMBER(SEARCH(A2,C$2:C$5))*ISNUMBER(SEARCH(B2,C$2:C$5)),0)
entered as an array formula using CtrlShiftEnter
i need help on excel
i have table looking like this(it's an example):
cheese tomato chocolate cream
Pizza 2 3
cake 1 1
And i want to have names of ingredients for each plates from the highest one to the lowest if we consider that the numbers are the lead time for each ingredient and if the lead time is the same i don't want to have the same name in both cells.
like this:
Ingredient 1 Ingredient 2 ingredient3
pizza tomato cheese nothing
cake chocolate cream
thank you, please help :)
Try the formula as shown in the image,
=IFERROR(INDEX($B$1:$E$1,MATCH(LARGE($B2:$E2,COLUMN(A1)),$B2:$E2,0)),"nothing")
Am not sure how you want to represent data if the lead time is same. The formula currently shows chocolate twice. You may have to alter it according to your needs. Drag the formula to right and then down for the complete range.
I'm a bit of an Excel novice. I have searched but couldn't find an answer. Based on input from Columns A and B:
Column A
Gonnella Italian Soft Rolls
Gonnella Sub Buns
Healthy Life 100% Whole Wheat Soft Style Sandwich Buns
Healthy Life Wheat Hot Dog Buns
King's Hawaiian Bread Round Original Hawaiian Sweet
King's Hawaiian Original Hawaiian Sweet Hamburger Buns
Column B
Gonnella
Healthy Life
King's Hawaiian
Wheat
Italian
Sandwich Buns
Hamburger Buns
Hot Dog Buns
I am looking for output in Column C like so:
Gonnella|Italian
Gonnella
Healthy Life|Wheat|Sandwich Buns
Healthy Life|Wheat|Hot Dog Buns
etc...
I want to search for keywords in Column A using the keywords that are in Column B and have the results in Column C (as shown above) separated by | between each keyword.
I know I can use =IFERROR(LOOKUP(2^15,SEARCH(B$1:B$10,A1),B$1:B$10),"") but it only gives me one result.
Is it possible to get multiple results into one cell using the search and lookup function (or any other function)?
Yes, for example with your formula and &"|"& and then another formula (without = at the start of that) - all in the one cell.
If the formulae either side of the pipe are the same then so should the results be, or Excel would be showing inconsistency.
The & is a short way of concatenating and with a pipe between the two formulae the results will always be strings.
The separator is more commonly a comma and hence will usually include a space: &", "&
The situation is akin to the following:
Assume I am a store selling fruits, I would like to record the costs of each type of fruit. Assume the customer has specific tastes, and they can differentiate everything.
A fruit can be an orange, apple,
pear, or peach
It could be n days fresh from the vendor
The fruits come from different countries and have different taxes for export
Fruits are also valued by weight
Fruits could have handling requirements (Fridge,water sprigs)
Fruits could also be valued just because of different origins
One idea is to do what is done in some industries, assign a unique product code for each variation: e.g. Orange5dayfreshAustralia200gfridgeSydney
This however, would be a HUUUUUGE long list of values, and should any costs change, it would be hell to search for Apples from Turkey that are 200 grams have now 20cents more export tax. Adding new variables would also massively mess up the whole table and require much recoding.
The other way is to assume a standard orange, peach, apple and pear and different weight(2 dimensional table). On other tables, prepare a list of cost savings/increase for any given deviation. (Law of probability should show me I have 80% "standard" fruits, and 20% niche fruits from funky places having funky costs)
E.g. a 1 day fresh orange compared to a standard 4 day fresh orange is 50cents more, regardless of weight.
(Yes, this means the primary table would need to have at least one variable that dont affect the others)
Final constrain: The data entry is done by hired hands, needs to be simple to enter in Excel. The programing can be difficult, but not the general interface.
Any suggestions?
If the information needs to be encoded in the product code, you can use subcodes to build a complete product code.
Type of fruit
AP - Apple
OR - Orange
PR - Pear
PC - Peach
You can use Country Codes for the country, and other subcodes for handling and origin.
EXAMPLE:
AP06BR145HROR
is a Brazilian apple, six days old, weighing 145 grams, with HR handling and OR origins.
Obviously you would need a lookup table and foreign keys for each of the code types.
You seem to have twigged your problem - your data structure is wrong.
Your list is really a collection of attributes that apply to each "batch" of stock you purchase - except perhaps for "n days fresh" where the attribute is the difference between the attributes of date picked and date delivered.
So what you really want is a data table for each attribute type, and then a transcation data table where you add the attributes. The input is a form where the attributes are loopups.
You also need your pricing rules in a table, which you can use to calculate prices.
If your transaction table records both sales and purchases then you can filter on the attributes to report by any combination you like.
But the bit that interests me is how you work out how old the fruit is you are selling. You might know from the paperwork that you have purchased x oranges from Spain on one day and y oranges from Italy on another day, but in the box oranges are just oranges - so how do you tell which are which? Or are you planning to use a FIFO or LIFO scheme?