Color formatting using multiple Criteria

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
I just want to do a color formatting for regional sales in column B (from B2 to B8) using the value in cell A1 and add the total number of the same color/Region in E column (E2 to E5).

Desired Result
A1B1D1E1
WEST50,000EAST=60,000+10,000= 70,000
EAST60,000WEST=50,000+25,000= 75,000
NORTH70,000NORTH=70,000+25,000=95,000
SOUTH50,000SOUTH=50,000 =50,000
NORTH25,000
EAST10,000
WEST20,000

<tbody>
</tbody>

Thanks for your help and time.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I just want to do a color formatting for regional sales in column B (from B2 to B8) using the value in cell A1 and add the total number of the same color/Region in E column (E2 to E5).

Hi,

I have No idea what you mean by above in red.

But for Column E, your sample answer for WEST is incorrect:


Book1
ABCDE
1WEST50,000EAST70000
2EAST60,000WEST70000
3NORTH70,000NORTH95000
4SOUTH50,000SOUTH50000
5NORTH25,000
6EAST10,000
7WEST20,000
Sheet420
Cell Formulas
RangeFormula
E1=SUMIF(A$1:A$7,D1,B$1:B$7)


E1 formula copied down to E4
 
Upvote 0
If I understand correctly, you want something like this:

<a href="https://imgbb.com/"><img src="https://i.ibb.co/Wg11s3L/Capture.png" alt="Capture" border="0"></a>



1. Select cells A2:B8

2. Click ALT+O+D to open conditional formatting dialog.

3. Click New Rule.

4. Under "Use a formula to determine which cells to format" enter =$A2=$A$1 and set a format using the "Format" Button...

5. Click OK.
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,787
Members
449,188
Latest member
Hoffk036

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