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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,526
Messages
6,125,329
Members
449,218
Latest member
Excel Master

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