krunal123

Board Regular
Joined
Jun 26, 2020
Messages
177
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
image_2021-09-07_093122.png


This Formula use , Missing Date find perfect , but we need Find "Bill Number " , Because my file Large Amount of Bill Numbers ( May be 3000 Bill Number )


=SMALL(IF(ISERROR(MATCH($E$2+ROW(OFFSET($B$2,0,0,$E$3-$E$2+1))-2,$B$3:$B$7,0)),$E$2+ROW(OFFSET($B$2,0,0,$E$3-$E$2+1))-2),ROW(A1))
( This formula only work date format.)
.
.
Pleased Help WE NEED FIND MISSING " BILL NUMBER " ( My Format was EXP/001/20-21 )
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try this:

VBA Code:
=FILTER(left(E2;4)&text(row(INDIRECT(mid(E2;5;3)&":"&mid(E3;5;3)));"000")&right(E2;6);
countif(A3:A7;left(E2;4)&text(row(INDIRECT(mid(E2;5;3)&":"&mid(E3;5;3)));"000")&right(E2;6))=0)
 
Upvote 0
Does this do what you want?

21 09 07.xlsm
BCDE
1
2EXP/001/20-21
3EXP/001/20-21EXP/009/20-21
4EXP/002/20-21
5EXP/005/20-21Missing
6EXP/008/20-21EXP/003/20-21
7EXP/009/20-21EXP/004/20-21
8EXP/006/20-21
9EXP/007/20-21
10
Missing
Cell Formulas
RangeFormula
D6:D9D6=LET(strt,MID(E2,5,3),seq,"EXP/"&TEXT(SEQUENCE(MID(E3,5,3)-strt+1,,strt),"000")&"/20-21",FILTER(seq,ISNA(MATCH(seq,B3:B7,0)),""))
Dynamic array formulas.
 
Upvote 0
.. or without hard-coding the prefix & suffix

21 09 07.xlsm
BCDE
1
2EXP/001/20-21
3EXP/001/20-21EXP/009/20-21
4EXP/002/20-21
5EXP/005/20-21Missing
6EXP/008/20-21EXP/003/20-21
7EXP/009/20-21EXP/004/20-21
8EXP/006/20-21
9EXP/007/20-21
10
Missing
Cell Formulas
RangeFormula
D6:D9D6=LET(strt,MID(E2,5,3),seq,REPLACE(E2,5,3,TEXT(SEQUENCE(MID(E3,5,3)-strt+1,,strt),"000")),FILTER(seq,ISNA(MATCH(seq,B3:B7,0))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,612
Members
452,661
Latest member
Nonhle

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