Conditional format

julievandermeulen

Board Regular
Joined
Jan 25, 2020
Messages
67
Office Version
  1. 2013
Platform
  1. Windows
4​
6​
Strawberry
2​
1​
strawberry
13​

I'm looking to highlight A2 and A4 because the word "Strawberry" is in C2 and C4, (regardless of whether it's Capitalized or not), and put the total in cell B6.

Is that possible and how would I do it? Can I do it with conditional formatting or do I need to put a formula in B6 and Conditional format column A separately.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try:

Book1
ABC
14
26Strawberry
32
41strawberry
513
67
Sheet15
Cell Formulas
RangeFormula
B6B6=SUMIF(C1:C5,"strawberry",A1:A5)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=$C1="Strawberry"textNO
 
Upvote 0
Try:

Book1
ABC
14
26Strawberry
32
41strawberry
513
67
Sheet15
Cell Formulas
RangeFormula
B6B6=SUMIF(C1:C5,"strawberry",A1:A5)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=$C1="Strawberry"textNO
Is it possible to do it in one step with just conditional formatting?
 
Upvote 0
Sorry, no. As the name indicates, "Conditional Formatting" just changes the formatting. If you want a value displayed on the sheet, you need a regular formula.
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top