Gesyca_is_joy
Board Regular
- Joined
- Apr 24, 2014
- Messages
- 90
- Office Version
- 365
- Platform
- Windows
Hello, so I have a pretty monster excel workbook that tracks a TON of information and rocks some pretty sweet formulas in it, but due to the amount of data it is becoming overwhelming to track what needs attention and I'm making a dashboard tab (don't ask\y why this project is still in excel when by all rights it should be a database. just gonna go with budget cuts and leave that there)
So one of the dashboard items is to tell us how many active vendors we have at any one point in time. currently I do this by a formula resides on the Master Vendor tab that has a column which finds all the active vendors and either has a value of "yes" or blank. (the dashboard will count the number of "yes" values in a column.
this formula works by finding the vendor name in the Invoices tab and matching it to the vendor name in column A of the Vendor Master tab; if we have invoiced them then its a "Yes".
Formula: =IFERROR(IF(MATCH(A4,Invoices!B:B,0),"Yes",),"")
However, I am now supposed to expand this count to rule out any vendors that haven't invoiced us in the past year, I was thinking about taking the above formula and adding in a lookup to find the vendor, then check the INVOICE DATE column (Invoices!E:E) and if there are no dates less than 365 from today return the value "Inactive". I say it this way because you figure, some vendors we get invoices from each month, others not so much. this formula could very well find anywhere from 1-50 records that match the vendor name, if even one of those records has a date within the past 365 days then the vendor is considered active. only if EVERY record is older than 365 days are they inactive.
I can't use an INDEX MATCH because I'm not asking it to return an indexed value. The complete formula should ultimately return a "Yes", a "Inactive" or a blank cell. and I'll be honest, I suck at date formulas. I cannot get this thing to work.
So one of the dashboard items is to tell us how many active vendors we have at any one point in time. currently I do this by a formula resides on the Master Vendor tab that has a column which finds all the active vendors and either has a value of "yes" or blank. (the dashboard will count the number of "yes" values in a column.
this formula works by finding the vendor name in the Invoices tab and matching it to the vendor name in column A of the Vendor Master tab; if we have invoiced them then its a "Yes".
Formula: =IFERROR(IF(MATCH(A4,Invoices!B:B,0),"Yes",),"")
However, I am now supposed to expand this count to rule out any vendors that haven't invoiced us in the past year, I was thinking about taking the above formula and adding in a lookup to find the vendor, then check the INVOICE DATE column (Invoices!E:E) and if there are no dates less than 365 from today return the value "Inactive". I say it this way because you figure, some vendors we get invoices from each month, others not so much. this formula could very well find anywhere from 1-50 records that match the vendor name, if even one of those records has a date within the past 365 days then the vendor is considered active. only if EVERY record is older than 365 days are they inactive.
I can't use an INDEX MATCH because I'm not asking it to return an indexed value. The complete formula should ultimately return a "Yes", a "Inactive" or a blank cell. and I'll be honest, I suck at date formulas. I cannot get this thing to work.