More than Conditional Format between values in two dynamic tables

EvenS8245

New Member
Joined
Mar 25, 2022
Messages
25
Office Version
  1. 2013
Platform
  1. Windows
Hello all.

I have mulitple dynamic tables that update when I change information with a drop down list. I’m trying to add a conditional format formula to highlight each cell that is more than the its counterpart on another table.

In the example below, I want to highlight each cell for the Site Avg that is more than the Monthly sales. So, February (Site Online Avg) is more than February (Online) and I would need that cell highlighted.

1674495717546.png



I’m trying to do this without entering a different formula for each individual cell in columns F:G (Site Avgs). I tried to select multiple cells within the table and it creates a SUM amount.

All the data on these tables will refresh month over month, when i plug in new data (report is built for a 12 month review).
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
probably use a lookup to compare values

are the dates real dates or text

how about something like

Book2
ABCDEFG
1site average
2February 2252.10%64.20%February 2260.10%58.20%
3March 2253.20%64.80%March 2259.50%61.20%
4April 2254.30%65.40%April 2258.90%64.20%
5May 2255.40%66.00%May 2258.30%67.20%
6June 2256.50%66.60%June 2257.70%70.20%
7July 2257.60%67.20%July 2257.10%73.20%
8August 2258.70%67.80%August 2256.50%76.20%
9September 2259.80%68.40%September 2255.90%79.20%
10October 2240.00%69.00%October 2255.30%82.20%
11November 2262.00%69.60%November 2254.70%85.20%
12December 2263.10%70.20%December 2254.10%88.20%
13January 2364.20%70.80%January 2353.50%91.20%
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:C13Expression=C2>INDEX(G$2:G$13,MATCH($A2,E$2:E$13,0))textYES
B2:B13Expression=B2>INDEX(F$2:F$13,MATCH($A2,E$2:E$13,0))textNO


Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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