How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask NewITZone Your Own Question

NewITZone, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 90
Experience:  I have been using Office Pro for 10 years and implemented applications for business use.
Type Your Microsoft Office Question Here...
NewITZone is online now
A new question is answered every 9 seconds

GoogleDoc Spreadsheet Combination

Customer Question


***I'm also currently in the googledoc spreadsheet above where there is a chat box in case you have questions. Thanks!***


Hello. Ok, so I am somewhat familiar with google spreadsheets. I am currently working on a task which requires me to
compare the probability of something. Long story short, I will know 22 predetermined words. (every scenario will have
different words, however there will always be 22 words). I know that in every scenario, I will have 21 letters out of 26. I
do not know these letters ahead of time. My goal is to input the 22 words into the spreadsheet and have the spreadsheet run
through all 65780 possible combinations of 21 of 26 letters, and then give me a breakdown of how many times out of 65780 I
got 0 words per the 21 letters, how many times I got 1 word per the 21 letters, etc. etc. Does this make sense? I can share
my googledoc spreadsheet with you which has a baseline for what I am looking to accomplish.

Submitted: 3 years ago.
Category: Microsoft Office
Expert:  Russell H. replied 3 years ago.
It sounds to me as if arrays would be the best way to accomplish that task (which sounds to me like a problem with permutations, not probability strictly speaking - though some view permutations as a subset of probability theory.)

It sounds to me - correct me if I'm wrong - as if you are getting a 'sample' of 22 words, and each one and all of them use only 21 letters of the alphabet.
The spreadsheet formula is supposed to go through permutations of 21 letters (why 65780 of them? you must have a criterion about maximum word length or some such...), generate all possible permutations (again, presumably with a limit on word length), and produce as a result the breakdown of how many 'hits' among the 22 words in the sample, are matched in those permutations.

I want to check on what you are trying to get done, exactly, before making any statement as to how to do it or whether it is feasible etc. Thanks.
Customer: replied 3 years ago.

If you take a look at the spreadsheet it may help. The 22 words are alway going to be different. However, we know that there are 26 letters in the alphabet and we know that I will be given 21 letters. I don't know which 21 letters I will get. The letters I receive then all have to be in a word in order for me to successfully have a completed word. My goal is to see for every possible combination of 21 letters I receive how many words I will have successfully completed.


My method of thinking is that abcdefghijklmnopqrst-u is compared to all the words that I have inputted. Next abdefghijklmnopqrst-v is compared to all the words that I have inputted. Next abdefghijklmnopqrst-w is compared, and so on and so forth.


Basically the 22 words I input are alway checked againt all 65780 combinations. I am not concerned about permutations because if I am given the letter 'A' example, it applies to all words that have the letter 'A' in it. I do not need multiple 'A's to complete other words. One given letter gets to be reused for every word. Therefore, from my understanding, there are 65780 combination for 21 selected letters out of a possible 26.

Expert:  Russell H. replied 3 years ago.
Is each word checked, by itself... or are all words checked together as a unit?

If I understand correctly - the set that is being matched, is the set of 21 out of 26 letters, but not just 21 letters, but any 21 out of *all* those 26, am I right?

So if the set to be matched is A through U, then the word 'COUGH' is a match but 'ZEBRA' isn't because of the Z - right?
Customer: replied 3 years ago.

Yes, paragraph 2 and 3 are correct. I am unsure about how to answer the first paragraph.


I don't really know what is being checked. I just know that I will have 22 different words every time. Those 22 words are going to be comprised of upto 26 different letters. I will only be receiving 21 letters to use as many time as applicable. Finally, my goal is to find out how many complete words as you describe in paragraph 3 can be made from the every single possible combination of 21 out of 26 letters.

Customer: replied 3 years ago.

Any word on the status of this?

Expert:  Russell H. replied 3 years ago.
I don't think I'm going to make much progress on this, given that I'm not very good at spreadsheet macros. And I can't seem to understand the exact details of the task that is being asked about... and I have taken much too long trying. I am Opting Out, with apologies for not doing better, in favor of any other Expert here who, I hope, may find this problem more compatible with their abilities.
Customer: replied 3 years ago.

I can understand that. How am I able to get another expert to view and answer this? Thanks.

Expert:  Rachel-Mod replied 3 years ago.


I’m a moderator for this topic. It seems the Professional has left this conversation. This happens occasionally, and it's usually because the Professional thinks that someone else might be a better match for your question. I've been working hard to find a new Professional to assist you with your question, but sometimes finding the right Professional can take a little longer than expected.

I wonder whether you're ok with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, feel free to let me know and I will cancel this question for you.

Thank you!


JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland

Meet The Experts:

  • jstinehelfer


    Information Systems Manager

    Satisfied Customers:

    A+ Comptia Certified computer repair
< Last | Next >
  • jstinehelfer's Avatar


    Information Systems Manager

    Satisfied Customers:

    A+ Comptia Certified computer repair
  • JasonJames122's Avatar


    Computer Enthusiast

    Satisfied Customers:

    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    Computer Software Specialist for more than 10 years
  • The-PC-Guy's Avatar


    Computer Manager

    Satisfied Customers:

    20 years experience providing remote computer support
  • James K.'s Avatar

    James K.


    Satisfied Customers:

    Technical Director of IT Company
  • IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    Bachelor's Degree in Information Technology, Microsoft Certified Professional
  • Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    Certified Expert with over 10 years experience.