Formula to find missing dates for invoices.

Kyletok

New Member
Joined
Sep 16, 2017
Messages
47
  • I have an invoice table with all the invoices for all the accounts.
  • Each invoice belongs to an account.
  • We log the Invoice Date for each invoice.
  • Each account should have 1 invoice per month.
I want to make another table where all the account numbers are listed, and the second column would be "Missing Invoice", which would pull the missing date (aka could not find an invoice for the month of), and if there isn't any missing invoices it'll just say NA.

so, if Account 001 has an Invoice for January, and an Invoice for March, but no Invoice for February, then the table would have February in the second column, letting me know there's an invoice missing.

It would compare with the earliest date for that account and the latest, and find the dates missing in between. So if account 002 has January and February, but not march, there's no need for it to show march because nothing has been skipped yet.

also, the invoice date is exactly the same every month, so if it were 1/20/19, itll then be 2/20/19 - so there's no need to show just the month if it makes it harder, and just show the date missing in the sequence of numbers.

could someone help me figure out how to pull this off? assuming itll have to be an array formula.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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