Hi,
I am looking for a formula that will count entries of "D54" in range M2:V however I need it to count only one per row, Can anyone help with this?
Many Thanks
Johnny
Hi,
I am looking for a formula that will count entries of "D54" in range M2:V however I need it to count only one per row, Can anyone help with this?
Many Thanks
Johnny
Sorry, I can't visualise the data.
Please attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
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.
See attached workbook
Excel is correct: there are 14 instances of D54 in the range specified, not 12.
The formula you are using does not know that you only wish to count the value once in each row.
I'm not sure how to do this with a formula - there may be an array formula that will do it.
Can you explain why you think it should be 12? I reckon it should be 10 based on what you have said.
Last edited by AliGW; 10-17-2016 at 05:28 AM.
There are only 2 instances of duplicates in rows 4 & 9 which would mean that it should be 12.
OK. Try this:
=SUM(N(MMULT(N(M2:V26="D54"),TRANSPOSE(COLUMN(M2:V26)^0))>0))
You must confirm this by clicking CTRL+SHIFT+ENTER (NOT just ENTER).
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
Thanks for the rep!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks