2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Measures of Central Tendency - Mean, Median, and Mode of values with specific text in the next column

Hello, I have been trying to find a formula or function where values will be picked and converted through measures of central tendency (Mean, Median, Mode) if the next column of the same row matches a specific keyword, i.e. "Yes", "No". In my case, I am using the types "Witch" and "Normal". I have provided a small example of what I'm supposed to find. The data provided represent a few skins from a small game I like that I am trying to analyze.

https://preview.redd.it/mtmgv0u283yg1.png?width=336&format=png&auto=webp&s=1f0d01ba180281d899294394947a4bfc53da65cc

I am still new to Excel 2019, and I am using a laptop to do my work. My tries for Mean, (I did random stuff and hoping it would work)=ROUND(AVERAGEIF(J3:J73,COUNTIF(K3:K73, "Witch"),0)) return an equation error and =DAVERAGE(J3:J73,"Cost","Witch") (this feels like it is not appropriate to the situation) return to an error of value.
I will probably use this formula/function (if provided), on more tasks that include "types".

Edit: I found an answer for the Mean by myself. I'm still finding a solution for Median and Mode, unfortunately.
=ROUND(AVERAGEIF(range of type,"=type",range of data),0)
I'm now only wondering for the Median and the Mode, which do not have a MEDIANIF or a MODEIF in the function list.
Edit 2: I accidentally mislabeled Excel 2019 as Excel 2013, sorry about that.

submitted by /u/pointedarrow_
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#generative AI for data analysis
#natural language processing for spreadsheets
#Excel compatibility
#Excel alternatives
#AI formula generation techniques
#big data management in spreadsheets
#conversational data analysis
#real-time data collaboration
#intelligent data visualization
#data visualization tools
#formula generator
#enterprise data management
#big data performance
#data analysis tools
#data cleaning solutions
#rows.com
#row zero
#no-code spreadsheet solutions
#financial modeling with spreadsheets