Help with find Same date

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
406
Office Version
  1. 2021
Platform
  1. Windows
1.JPG

2.JPG


Dear sir, I have data from A2 to F11.

I want that from A2:A11,C2:C11,E2:E11 find date and it is automatically put in H2.
next coming date from the same data are and put in to J2,
Next date put in L2...same repeat.....in N2, P2, R2, T2.

(Do not repeat Same date)

Image 1 is blank and Image 2 have answer I typed Manually.
so which Formula can I put in H2, J2, L2, N2, P2, R2, T2 ??


Please help
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try copying this H2 formula to J2, L2, etc

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. You will get more potential helpers and faster responses.

24 08 15.xlsm
ABCDEFGHIJKLMNOPQRSTU
1Datepay 1Datepay 2Datepay 3Date 1Amount 1Date 2Amount 2Date 3Amount 3Date 4Amount 4Date 5Amount 5Date 6Amount 6Date 7Amount 7
215/08/20242517/08/20243017/08/20243515/08/202417/08/202420/08/202423/08/202426/08/202427/08/2024 
317/08/2024520/08/202435
423/08/2024526/08/20248
527/08/202410
6
7
8
9
10
11
Dates
Cell Formulas
RangeFormula
H2,T2,R2,P2,N2,L2,J2H2=IFERROR(INDEX(UNIQUE(SORT(FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF($A$1:$F$1="Date",$A$2:$F$11,""))&"</c></p>","//c[.>0]"))),COUNTIF($H$1:H$1,"D*")),"")
 
Upvote 0
Try copying this H2 formula to J2, L2, etc

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. You will get more potential helpers and faster responses.

24 08 15.xlsm
ABCDEFGHIJKLMNOPQRSTU
1Datepay 1Datepay 2Datepay 3Date 1Amount 1Date 2Amount 2Date 3Amount 3Date 4Amount 4Date 5Amount 5Date 6Amount 6Date 7Amount 7
215/08/20242517/08/20243017/08/20243515/08/202417/08/202420/08/202423/08/202426/08/202427/08/2024 
317/08/2024520/08/202435
423/08/2024526/08/20248
527/08/202410
6
7
8
9
10
11
Dates
Cell Formulas
RangeFormula
H2,T2,R2,P2,N2,L2,J2H2=IFERROR(INDEX(UNIQUE(SORT(FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF($A$1:$F$1="Date",$A$2:$F$11,""))&"</c></p>","//c[.>0]"))),COUNTIF($H$1:H$1,"D*")),"")
yes, This is Working as I want....

But I want to add 1 more thing
4.JPG

5.JPG



I want that if I type invoice number like A21 in I2 than search it from A2:A11 and then our past formula work.
In short I want one condition in formula.


please help ...
 

Attachments

  • 4.JPG
    4.JPG
    213.9 KB · Views: 1
Upvote 0
I want that if I type invoice number like A21 in I2 than search it from A2:A11 and then our past formula work.
In short I want one condition in formula.
Try

Jagat Pavasia.xlsm
ABCDEFGHIJKLMNOPQRSTUVWX
1InvoiceDatepay 1Datepay 2Datepay 3InvDate 1Amount 1Date 2Amount 2Date 3Amount 3Date 4Amount 4Date 5Amount 5Date 6Amount 6Date 7Amount 7
2A2115/08/20242517/08/20243017/08/202435A2115/08/202417/08/202420/08/2024    
3A2117/08/2024520/08/202435
4B2223/08/2024526/08/20248
5B2127/08/202410
6B23
7B23
8A21
9B2230/08/2024
10C22
11C23
Dates
Cell Formulas
RangeFormula
K2,W2,U2,S2,Q2,O2,M2K2=IFERROR(INDEX(UNIQUE(SORT(FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF($B$1:$G$1="Date",IF($I$2="",$B$2:$G$11,IF($A$2:$A$11=$I$2,$B$2:$G$11,"")),""))&"</c></p>","//c[.>0]"))),COUNTIF($K$1:K$1,"D*")),"")
 
Upvote 0
Solution
Try

Jagat Pavasia.xlsm
ABCDEFGHIJKLMNOPQRSTUVWX
1InvoiceDatepay 1Datepay 2Datepay 3InvDate 1Amount 1Date 2Amount 2Date 3Amount 3Date 4Amount 4Date 5Amount 5Date 6Amount 6Date 7Amount 7
2A2115/08/20242517/08/20243017/08/202435A2115/08/202417/08/202420/08/2024    
3A2117/08/2024520/08/202435
4B2223/08/2024526/08/20248
5B2127/08/202410
6B23
7B23
8A21
9B2230/08/2024
10C22
11C23
Dates
Cell Formulas
RangeFormula
K2,W2,U2,S2,Q2,O2,M2K2=IFERROR(INDEX(UNIQUE(SORT(FILTERXML("<p><c>"&TEXTJOIN("</c><c>",1,IF($B$1:$G$1="Date",IF($I$2="",$B$2:$G$11,IF($A$2:$A$11=$I$2,$B$2:$G$11,"")),""))&"</c></p>","//c[.>0]"))),COUNTIF($K$1:K$1,"D*")),"")
THANK YOU VERY MUCH PETER....................THANK YOU SO MUCH AGAIN...
IT IS WORKING AS I SHOULD PERFECTLY.....THANKS AGAIN
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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