Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

D asked in Computers & InternetSoftware · 1 decade ago

How can I get Excel to produce a random sample of data?

I need Excel to highlight (conditional formatting) every 10th row OR have Excel generate a new worksheet with a sample including every 10th row. Is this possible? If so, please tell me how. Thank you!

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    This procedure will highlight every 10th cell / row

    1) Create a column nearby with the numbers 1 to the last number row you have. I'll assume this starts at cell A1

    2) Highlight all the cells that you wish to have highlighted

    3) Click Format > Conditional Formatting

    4) Click on "Cell Value Is" and change to "Formula Is"

    5) In the next field enter this formula:

    =MOD($A1,10)=0

    6) Click Format and choose your highlight (Font, Border, Patterns)

    7) Click OK and OK

    If you wish to, you can hide the column of numbers (1,2,3 etc) by clicking on any cell in the column and clicking Format > Column > Hide, but make sure there is nothing else important in the same column otherwise this will disappear as well.

    Hope this helps

Still have questions? Get your answers by asking now.