Conditionally Formatting using SUMIF in a structured table

mhroberts

New Member
Joined
Oct 13, 2010
Messages
23
I'm banging my head against a wall here. Can anyone help? Bascially, I've got a structured table where the last x# columns are week ending dates for staff and the user will fill out hours in each column for each staff member. However, the trick is that each staff member may be on multiple rows (each row represents a staff member on a project). I want to be able to use conditional formatting to tell me if that person (rows) have achieved 40 hours per column. Here's the formula I came up with, understanding that conditional formatting won't straight up accept structured references, so apologies for all the **** INDIRECTs.


Code:
=SUMIF(INDIRECT("table_Area1[Full Name]"),INDIRECT("[@[Full Name]]"),INDIRECT(INDEX(INDIRECT("table_Area1"),,MATCH(F$1,INDIRECT("table_Area1[#Headers]"),0))))=40


Let me know if you need me to attach an example.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,459
Messages
6,124,946
Members
449,198
Latest member
MhammadishaqKhan

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