Hello My Masters ,please Help me to Modify the equation to bring in the

which in column A from Total Sheet to Get Date From Column A in Sheet1 Sheet Based on the available amounts in columns

thanks with my Best Regards

**dollar**data first. then**egyption Pound**after that
Code:

`=IFERROR(INDEX(Sheet1!$A$2:$A$45,AGGREGATE(15,6,ROW($A$1:$A$310)/(MATCH(Sheet1!$A$2:$A$45&Sheet1!$A$2:$A$45,Sheet1!$A$2:$A$45&Sheet1!$A$2:$A$45,0)=ROW($A$1:$A$310)),ROWS($2:2))),"")`

**F & G**,To Get supplier name first For**USD**Curr. and After That For**Egyption Pound**thanks with my Best Regards