I need assistance in seeing if there’s a formula to the below excel dilemma:
(Note - dash lines are used as separators indicating different column)
Currently I have a spread sheet with the below data: 2 columns (A--B)
Abby -- apple
Abby -- orange
Abby -- lime
Bob -- orange
Bob -- apple
Carol-- lime
Carol-- orange
David-- apple
Is there a formula that tells Excel to pick up identical text in Column A and consolidate the respective Column B items into one Cell in Column C? : please find below the end result that I’m after:
Abby -- apple ---- apple orange lime
Abby -- orange
Abby -- lime
Bob -- orange ---- orange apple
Bob -- apple
Carol-- lime ---- lime orange
Carol-- orange
David-- apple ---- apple
Thank you in advance.
Regards,
Kit
You may be able to modify the answer to this question to fit your needs. It's more complex than what you need since you are only matching on a single column instead of two or more, but the underlying concept is actually the same.
Related
Would anyone be able to assist me with the following table?
Name
Apple
Pear
Banana
Bob
Yes
Bob
Yes
Alice
Yes
Alice
Yes
John
The goal is to have the all these rows merge/join and fill in all empty columns if the unique name is present. See below for the end goal.
Name
Apple
Pear
Banana
Bob
Yes
Yes
Alice
Yes
Yes
John
Please note that I am restricted in terms of using only Excel (2016) with no ability to add add-ons.
Much appreciated!
You can do it manually easily in 3 steps:
Replace all "Yes" values with number 1
Inside "Data" tab, Consolidate data
Replace all number 1 with "Yes"
Take a look at the video:
And probably you can record a macro with this for sure and make it instantly.
This question already has answers here:
Generate All Permutations in Excel using LAMBDA
(4 answers)
Closed 12 months ago.
Please forgive me if this sounds stupid, I have 0 excel experience under my belt but I am trying to help a friend out with his file.
I am wondering if it is possible to mix(concatenate or other type) the value of A1 with all the values of B column and C column. Example:
A Apple, Pear, Grape
B Red, Yellow, Blue
C Large, Medium, Small
Desired output:
Column D output: Apple Red Large, Apple Red Medium, Apple Red Small, Apple Yellow Large, Apple Yellow Medium, Apple Yellow Small, Pear Red Large, Pear Red Medium Etc.
I am looking to combine the values from A column with each of the values from B and C column as shown above. Is it possible or am I just complicating things ?
Thank you in advance for your time,
Dan
=CONCAT(B6," ",C6," ",D6)
I am looking for help to sum values in a table using a mapping table..
Tried Xlookup and sumif. Not sure where I am going wrong.
Simplifying it in an example
Basically, I have two tables.
Food type
Food
Fruits
Apple
Fruits
Orange
Vegetable
Spinach
Vegetable
Fenugreek
Food
Cost
Apple
$10
Orange
$15
Spinach
$20
Fenugreek
$10
So, if my input is Foodtype = Fruits, then I should get an answer of $25 (as it will sum up Apple and Orange)..
The combination of sumifs and xlookup is only giving one answer ($10) whereas I need $25.
please let me know.
I cannot combine the tables, as I have to use the first mapping table in multiple places.
Thankyou!
You can try:
=SUM(SUMIF(E2:E5,FILTER(B2:B5,A2:A5=I2),F2:F5))
This uses XLOOKUP and SUM.
=SUM(XLOOKUP(FILTER($B$2:$B$11,$A$2:$A$11=G2),$D$2:$D$5,$E$2:$E$5))
I'm trying to find a value on a table, and getting an index on the same row. Something like this:
I have a table like this:
name id1 id2 id3
Jorg pear -- apple
Anna lemon banana --
and on another page I have this:
pear
apple
lemon
banana
And I want the match like this
pear jorg
apple jorg
lemon anna
banana anna
Does anyone know a quick way to do it? I tried with match to find the row and then triying to find the cell but I wasn't able to do it.
Use AGGREGATE not MATCH:
=INDEX(A:A,AGGREGATE(15,7,ROW($B$2:$D$3)/($B$2:$D$3=F2),1))
e.g. There are 300 apples. There are 100 people. Each person has a preset value (represented as a number 1 to 5). 1=1 apple, if their value is 5 they get 5 apples etc. But there are 300 apples available so each person is going to get more then the value says they "deserve". Or one day there are only 200 apples and every one gets less then what the value states says they "deserve". Is this possible in excel?
NAME VALUE
john 5
james 5
sam 4
matt 5
mike 3
steve 2
etc...
This absolutely sounds like a perfect problem for Solver to handle. As you know, this in included within Excel's addins. It can deal with all the variables you mentioned.