다른 셀을 기준으로 한 Excel 조건부 서식

색을 바꿀 셀을 선택한 뒤 Excel에서는 홈 > 조건부 서식 > 새 규칙 > 수식 사용, Google Sheets에서는 서식 > 조건부 서식의 맞춤 수식을 씁니다. 임계값은 별도 셀에 두고 =$B2>=$F$1처럼 절대 참조하세요. F1만 바꾸면 규칙을 고칠 필요가 없습니다. 수식은 선택 범위의 왼쪽 위 셀 기준으로 작성합니다.

목차

빠른 답변

색을 바꿀 셀을 선택한 뒤 Excel에서는 홈 > 조건부 서식 > 새 규칙 > 수식 사용, Google Sheets에서는 서식 > 조건부 서식의 맞춤 수식을 씁니다. 임계값은 별도 셀에 두고 =$B2>=$F$1처럼 절대 참조하세요. F1만 바꾸면 규칙을 고칠 필요가 없습니다. 수식은 선택 범위의 왼쪽 위 셀 기준으로 작성합니다.

=$B2>=$F$1

확인 사항

2026년 11월 12일 확인에서 F1이 2000일 때 2500은 TRUE, 1800과 1200은 FALSE였습니다. 행 전체 규칙은 열만 잠급니다. 동부이면서 매출 2500인 AND는 TRUE, 동부 1200은 FALSE입니다. 날짜 비교에는 실제 날짜 값이 필요합니다.

주의점 및 호환성

다른 시트의 임계값은 시트 이름을 붙인 절대 참조로 지정합니다. 이전 Excel이 다른 시트 참조를 거부하면 이름을 정의하거나 같은 시트에 두세요. 색을 세지 말고 같은 조건의 COUNTIFS를 쓰세요. 드롭다운이 있으면 표기 불일치를 줄일 수 있습니다. 수식은 활성 셀 기준으로 쓰고 절대 참조와 상대 참조를 구분하세요.

영어 상세 예제, 수식 및 작성자 메모

Tested in: The threshold and comparison formulas below were evaluated in Google Sheets on 12 November 2026. Excel 365 menu names are the current desktop labels; I did not click through the rule dialogs in Excel this session.

This page is about rules that look at a different cell than the one being painted. For color scales, built-in “greater than” rules, and the basics of formula rules, see Conditional Formatting in Excel.

One threshold cell, many rows

Put the cutoff in its own cell so you can change it without editing the rule. On 12 November 2026 I used 2000 in F1 and tested three sales figures:

=2500>=$F$1
=1800>=$F$1
=1200>=$F$1

Those returned TRUE, FALSE, and FALSE. So 2500 would be formatted; 1800 and 1200 would not. If you write =$B2>=2000 instead, you have to open the rule every time the cutoff moves.

In Excel 365

  1. Type the threshold in F1.
  2. Select B2:B10 (the sales column, not F1).
  3. Open Home > Conditional Formatting > New Rule.
  4. Choose Use a formula to determine which cells to format.
  5. Enter =$B2>=$F$1. Write it as it should read for the active cell, usually the top-left cell of the selection.
  6. Set a fill or a font color, then click OK.

In Google Sheets

  1. Select B2:B10.
  2. Open Format > Conditional formatting.
  3. Set Format cells if to Custom formula is.
  4. Enter =$B2>=$F$1.
  5. Choose a color and click Done.

If the colors land on the wrong rows, the formula was probably written for a different active cell than the one Excel or Sheets is using. Select B2 first, then extend the range down, then write the formula with B2 in it.

Highlight a whole row from another column

Select A2:C10, not just column B, and lock the column you want to test:

=$A2="East"

Every cell in row 2 now looks at A2; row 3 looks at A3. In the same Sheets check, "East"="East" was TRUE and "West"="East" was FALSE.

To require both a region and a threshold, combine the tests:

=AND($A2="East",$B2>=$F$1)

With F1 still at 2000, AND("East"="East",2500>=$F$1) returned TRUE, and AND("East"="East",1200>=$F$1) returned FALSE. East with sales of 1200 does not pass, because 1200 is below the cutoff. A missing $ on A, such as =A2="East" applied to A2:C10, will test B2 and C2 as they walk right, and only the first column will behave.

The same pattern works for a quantity target in another cell: =$E2>=$G$1. A 40-unit order against a target of 35 returned TRUE in the 12 November 2026 check (=40>=35).

Dates, and a cell on another sheet

To format rows whose date is on or after a start date in F1 (a real date, not text), use:

=$A2>=$F$1

In the test workbook, =DATE(2024,3,4)>=DATE(2024,3,1) was TRUE and =DATE(2024,2,5)>=DATE(2024,3,1) was FALSE. If F1 is text that only looks like a date, the comparison will mis-fire; see dates stored as text.

A threshold on another sheet is just a qualified address:

=$B2>=Settings!$A$1

Keep Settings!$A$1 absolute so every row uses that one cell. If an older Excel build rejects a cross-sheet reference in a conditional formatting formula, define a name that points at Settings!$A$1 and use the name in the rule, or place a copy of the threshold on the same sheet.

The $ signs, and things that look like a broken rule

Write the formula for the active cell, then decide what should stay put. A threshold is almost always absolute ($F$1). A column that supplies the test for a whole row is mixed ($A2). Two columns compared in the same row, such as “actual vs target on this row,” are usually relative in the row and locked in the column: =$B2>=$C2.

Conditional formatting does not change the value in the cell, and you should not count colors with a formula. If you need a count of rows that meet the same test, use COUNTIFS or SUMPRODUCT with that logic, as in COUNTIF vs COUNTIFS vs SUMPRODUCT.

A drop-down for the region, from How to Add a Drop-Down List in Excel, keeps the text in column A consistent so =$A2="East" does not miss "east " with a trailing space. Existing values that were typed before the drop-down was added still need a cleanup.

Stop after you have one working rule and a threshold you can edit. A pile of overlapping formula rules, each pointing at a slightly different cell, is harder to debug than a helper column that holds the TRUE/FALSE test and a single format rule that looks at that helper.

Oscar

스프레드시트 수식과 오류 해결을 소개합니다. 검증 환경과 미확인 사항은 각 글을 참고하세요.

Tested in Google Sheets (via Sheets API) on 12 November 2026: a threshold of 2000 in F1, sales of 2500/1800/1200, AND with a region test, and two date comparisons. Excel 365 menu names are the current desktop labels; I did not click through these rules in Excel this session..

다음 글: 데이터 정리 및 입력 Excel에서 날짜 조건부 서식(연체, 임박, 주말)