简体   繁体   中英

Excel - Conditional formatting and field name look up

What I need to do is find which cell in a row is the lowest value and highlight it. Very simple, I can do this. However, I cannot figure uot how to copy this conditional formatting into the proceeding rows. I have tried "Paste Special > Formats" to no avail.

Also, in a separate column, I to display the field name9column name) of the specific cell that has been returned with the lowest value.

Any suggestions?

I see two questions:

First, how to copy conditional formatting. Simply select the formatted data, click the "Format Painter" tool on the Home tab, and select the additional data you wish to format.

Second, how to display the cell with the lowest value.

Use the MIN function to do this. If your range is A1:A100, use =MIN(A1:A100)

Use the following: =INDEX(A1:E1,MATCH(MIN(A2:E2),A2:E2,0))

A1:E1 is the range containing your column names. A2:E2 is the row with your values. Note that if the values are not unique, this will return the first instance of the minimum value, starting from the left.

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