Trying to get a compliance formula based on content of a vlookup list.

Johnny247

New Member
Joined
May 4, 2019
Messages
1
Hi all,
I am slowly getting through a spreadsheet I am trying to make to show requirements for training, date taken, then highlight when it becomes due, or overdue. This will then allow you to email a copy of the sheet, or drop a graph straight into powerpoint for you.
Most of it is done now, I am struggling with the final formulas for the graph.
The formula needs to count any cell from a range the first worksheet (Current), and any that is empty, or have a date of earlier than today based on the criteria of a vlookup table, then it should count it. The same would be for today+30 days and today+90 days. (which then all go into the graph to show training either overdue, or due in 30 days or 90 days.
The formula I thought was based on the conditional formatting rules
File-Copy-icon.png

<code style="font-family: monospace; font-style: inherit; font-weight: inherit; line-height: 100%; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">=counts(Current!G8:M59<>"",TODAY()>Current!G8:M55+VLOOKUP(Current!G$5,dayslookup,2,0)-30)</code>

but obviously doesn't work
I am not sure how to attach the sheet for you to see though
Any help appreciated please.

EDIT
Also posted here
https://www.excelforum.com/excel-ge...rmula-based-on-content-of-a-vlookup-list.html

 
Last edited by a moderator:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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