简体   繁体   中英

How to check excel cell style using formula?

I had one problem to how to make separate column which is bold among 4. Let me explain in detail I'm using excel win 2010. i have questions with 4 multiple answer i want to make separate column with true answer. true answer is bold. In 4 answers one of is bold so checking all 4 which is bold one copy to true answer column check attached screenshot. 在此处输入图片说明

Here's a solution by filtering:

  1. Apply a filter on the columns containing the answers
  2. Select the columns containing the answers and do a replace (or hit Ctrl + H )
  3. Hit the Options >> button and click on Format for the Find and pick Font > Bold
  4. For the replace, do the same thing but pick Fill > Yellow (or any other colour you like). You should get something like this now:

    在此处输入图片说明

  5. Click Replace All button so that all the bold answers are now highlighted.

  6. Filter the first column of answers by colour so that you have only the highlighted cells. Assuming that the first answer A is in cell B2, put the formula =B2 in the last column (ie 4 columns before and same row) and fill down the formula.
  7. Repeat step 6 for all the other answers making sure you are taking the right column in the formula.
  8. Remove the colours from the answer columns.

For A, you should have something like:

在此处输入图片说明

For B...

在此处输入图片说明

etc.

At the end, you should have something like this:

在此处输入图片说明

I have added column G to show the different formulas.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM