Return formula by drop down list

anna82marie

New Member
Joined
Jan 22, 2014
Messages
15
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
So, I have a formula (see below) to return training in date, upcoming and expiring (RAG). This returns the status for the entire workforce. I need to get it to work against a specific row matching the employee name in a separate drop-down. I'm totally stuck!

=IF(IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A")))))))=0,"N/A",IF(H$3="N/A",COUNTIF(H$11:H$1003,"<>"&""),IF(H$3=Data!$A$25,COUNTIF(H$11:H$1003,">"&Data!$C$32),IF(H3=Data!$A$26,COUNTIF(H$11:H$1003,">"&Data!$C$33),IF(H$3=Data!B27,COUNTIF(H$11:H$1003,">"&Data!$C$34),IF(H$3=Data!$A$28,COUNTIF(H$11:H$1003,">"&Data!$C$35),IF(H$3=Data!$A$29,COUNTIF(H$11:H$1003,">"&Data!$C$36),IF(H$3=Data!$A$30,COUNTIF(H$11:H$1003,">"&Data!$C$37),"N/A"))))))))

Any help would be appreciated - I've been scratching my head for hours.

A x
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
would you post a small sample of the data and desired result here

this is your 3rd thread with the same question it's hard for the forum trying to help without some sample data
 
Last edited:
Upvote 0
I have temporarily closed the other two threads pending an answer to my above question
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

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