Pivot Table won't sum - excel

Have tried all online advice. Cannot get Pivot table data to sum. Have 2 columns that begin:
7847050 CANADA INC 4.50 
ACADEMY OF MANAGEMENT (NY) 16.50 
ALM MEDIA PROPERTIES, LLC 3.50 
AMERICAN ACADEMY OF SLEEP MEDICINE 21.50 
AMERICAN ASSOCIATION FOR CANCER RESEARCH 36.50 
AMERICAN ASSOCIATION OF CLINICAL ENDOCRINOLOGISTS (AACE) 16.50 
AMERICAN ASSOCIATION OF PETROLEUM GEOLOGISTS 9.50 
AMERICAN CHEMICAL SOCIETY 42.50 
AMERICAN CHEMICAL SOCIETY 42.50 
AMERICAN DIABETES ASSOCIATION 21.50 
Have tried all advice re putting numbers in number format. Multiplied by 1, text to table etc. Just get zeroes for the sum column. Help!

Related

Transform Excel table columns (not all) into rows - long to wide transformation

Need to transform an Excel table's column into rows. I tried converting a pivot table's values into text but could not find a way to replace the value fields with its underlying data (to show as text). I am open to a different approach on transforming the table in question.
I tried using using Power Query and unpivoting columns and also transposing but could not get the desired result.
Current table includes 2,000+ rows with legal names, but only three different groups for such rows, so having the group names side by side is more legible and easier to reference. The structure of the table resembles the below records:
Group
Legal Name
DBA
A
2023 LTD, Inc
2023 LTD Inc
B
2023 LTD, Inc
2023 LTD
C
2023 LTD, Inc
2023 LTD Inc.
A
XYZ Enterprises
XYZ Enterprises Inc.
A
Aerotec, LLC
Aerotec
B
Aerotec, LLC
Aerotec LLC.
C
Aerotec, LLC
Aero
Desired Result:
Legal Name
A
B
C
2023 LTD, Inc
2023 LTD Inc
2023 LTD
2023 LTD Inc.
XYZ Enterprises
XYZ Enterprises Inc.
Aerotec, LLC
Aerotec
Aerotec LLC.
Aero
This image portrays what it is shown in the above tables but with additional records to show realistic examples
In PQ, highlight the Group column and select pivot from the ribbon.
Fill in as follows and you're done:

EXCEL: Look for cells in column with fuzzy duplicates

my problem is as follows:
Imagine I have a large Excel dataset that has a company identifier in column (A) and long string texts within cells in column (B). These texts in those cells contain many words, imagine it as being the company description. I need to find fuzzy duplicates in this database, i.e. an example could be:
In cell B2 I have:
"Amazon.com Inc (Amazon) is an online retailer and web service provider. The company provides products such as apparel, auto and industrial items, beauty and health products, electronics, grocery, books, games, jewellery, kids and baby products, movies, music, sports goods, toys, tools and other related products."
and in cell B222 I have:
"%& COMPANY DESCRIPTION: Amazon is an online retailer and web service provider. Amazon provides products such as apparel, auto and industrial items, beauty and health products, electronics, grocery, books, games, jewellery, kids and baby products, movies, music, sports goods, toys, tools and other related products. Amazon is a great company."
So my point is: is there a way to find B222 fast and somehow show in B2 that there is a fuzzy duplicate, e.g. with an 80% match, in B222?
I have tried multiple tools such as Ablebits and the Levenshtein Distance in VBA. However I am not 100% satisfied with the result.
Thank you for any help!
Best,

Excel COUNTIF for comma separated values

I have the following range of values:
National museum of Natural History
Archaeological Museum, Art Museum, Agricultural Museum, Marine Museum
National museum of Natural History, Art Museum
National museum of Natural History, Archaeological Museum, Science Museum
Open-air Museum, Art Museum
This means there can be more than one value in one column, separated by commas.
I want to count each value, for example: all "Archaeological Museum" in this range. I have used the COUNTIF method but it seems not to be enough:
COUNTIF(A1:A6, "Archaeological Museum")
=> result: 0
=> expected result: 2
Is there an only way to spilt the column based on comma or is there any other ways without creating a new column?
This is not a dumb question. This one has been asked and answer many time prior.
I would do it like show on this answer

Excel sports template rank table

I am currently working on a sports template prediction for the upcoming Euro 2020. I haven't gotten that far yet but below is an example of a group. So the "Tecken" column says which team won the game, if there is a 1 there the home team won, if there is a X there it was a draw and if it's a 2 there the away team won. What I would like to do is have a formula in the points column in the second table that checks which is the home team playing and if there is a 1 under the "tecken" column add 3 points to the points table. And if there is a X I would like to add 1 points for that team. I also need to do this for the away teams and add points (if there is a 2 in the "tecken" column) to the points table. Sorry for the bad explanation, is that clearer?
So for spain it would check the first game and see that spain is not playing. It would check the second game and see that spain is the home team and that there is a 1 in the "tecken" column and add 3 points to the points table and so on.
(GF is goals scored by each country and GA is goals scored against each country and GD is the goal difference)
You can use a formula with CountIFs. Conceptually:
Count how many times the Home team is Spain AND the Tecken is 1 and multiply by three
Count how many times the Home team is Spain AND the Tecken is X
Count how many times the Away team is Spain AND the Tecken is 2 and multiply by three
add these values together.
Something like this. Adjust the ranges to your sheet.
=(Countifs(C:C,K2,I:I,1)*3)+Countifs(C:C,K2,I:I,"X")+(Countifs(E:E,K2,I:I,2)*3)

search for multiple words in a column and then return the position of that term

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

Resources