this formula is working fine up to 20 but i need it to go to 100 but sometimes here is more blanks than results
=INDEX($A$5:$A$20,MODE(MATCH($A$5:$A$20,$A$5:$A$20,0)))
how do i get excel to ignore the blanks and give the expected result?
this formula is working fine up to 20 but i need it to go to 100 but sometimes here is more blanks than results
=INDEX($A$5:$A$20,MODE(MATCH($A$5:$A$20,$A$5:$A$20,0)))
how do i get excel to ignore the blanks and give the expected result?
Exactly the same issue is currently being discussed here: https://www.excelforum.com/excel-for...ber-error.html
I would not normally suggest you hijack another thread, but in this particular case, as this is coincidentally an almost identical request, you might want to look in there.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution is also shown (mock up the results manually).
3. Make sure that all confidential information is removed first!!
4. Try to avoid using merged cells. They cause lots of problems!
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
This link will show you how to avoid the Blank cells.
https://exceljet.net/formula/most-fr...occurring-text
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Got the correct fix from here https://www.excelforum.com/excel-for...ber-error.html thank youo AliGW i used this but changed what i need from this
=INDEX(C5:C5000,0,MODE(IF(C5:C5000<>"",MATCH(C5:C5000,C5:C5000,0))))
to this
=INDEX($A$5:$A$100,1,MODE(IF(A5:A100<>"",MATCH($A$5:$A$100,$A$5:$A$100,0))))
this was the original i posted
=INDEX($A$5:$A$20,MODE(MATCH($A$5:$A$20,$A$5:$A$20,0)))
than you all for your help
or maybe this one normal entered:
=INDEX($A$5:$A$2o,MODE(MATCH($A$5:$A$2o,NOT(ISBLANK($A$5:$A$2o))*$A$5:$A$2o,0)))
change o to 0
You're welcome!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
or =INDEX($A$5:$A$100,MODE(IF(A5:A100<>"",MATCH($A$5:$A$100,$A$5:$A$100,0))),) (CSE)
ignore my previous post
Last edited by sandy666; 07-21-2017 at 08:56 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks