B Bibhuti Mohanty New Member Mar 12, 2016 #1 Dear Excel Expert. Please suggest me how to find the First & Last Invoice no on a given column. For your reference please find the attached file. Thanks & regards, Attachments Find.xlsx 8.6 KB · Views: 16
Dear Excel Expert. Please suggest me how to find the First & Last Invoice no on a given column. For your reference please find the attached file. Thanks & regards,
Deepak Excel Ninja Mar 12, 2016 #2 First =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47) Last =LOOKUP(2,-1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47)
First =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47) Last =LOOKUP(2,-1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47)
B Bibhuti Mohanty New Member Mar 12, 2016 #3 Dear Expert, Thanks for your helpful & prompt reply. In addition i need the first date & last date on the reference of invoice no. would you please suggest.
Dear Expert, Thanks for your helpful & prompt reply. In addition i need the first date & last date on the reference of invoice no. would you please suggest.
B Bibhuti Mohanty New Member Mar 12, 2016 #5 Thank your sir. but whenever i am using this formula to find the invoice no from another sheet it does not working. Please suggest.
Thank your sir. but whenever i am using this formula to find the invoice no from another sheet it does not working. Please suggest.
Deepak Excel Ninja Mar 12, 2016 #6 Bibhuti Mohanty said: Thank your sir. but whenever i am using this formula to find the invoice no from another sheet it does not working. Please suggest. Click to expand... Would you pls share that what have you done in real data so that i can help you in more elegant way!
Bibhuti Mohanty said: Thank your sir. but whenever i am using this formula to find the invoice no from another sheet it does not working. Please suggest. Click to expand... Would you pls share that what have you done in real data so that i can help you in more elegant way!
B bosco_yip Excel Ninja Mar 12, 2016 #9 Deepak said: First =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47) ...... Click to expand... =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5531")*ROW($C$2:$C$47),$C$2:$C$47) The First Invoice formula will give #N/A, if the criteria changed from 5530 to 5531 Regards Last edited: Mar 12, 2016
Deepak said: First =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5530")*ROW($C$2:$C$47),$C$2:$C$47) ...... Click to expand... =LOOKUP(2,1/(LEFT($C$2:$C$47,4)="5531")*ROW($C$2:$C$47),$C$2:$C$47) The First Invoice formula will give #N/A, if the criteria changed from 5530 to 5531 Regards
B bosco_yip Excel Ninja Mar 12, 2016 #10 For Invoice no range from 5530, 1] The First Invoice no / Invoice date, formula copy across : =INDEX(D$2:D$47,MATCH(1,INDEX(FIND( 5530,$C$2:$C$47),0),0)) or, =INDEX(C$2:C$47,INDEX(MATCH( 5530&"*",$C$2:$C$47&"",0),0)) 2] The Last Invoice no / Invoice date, formula copy across : =LOOKUP(1,-FIND( 5530,$C$2:$C$47),C$2:C$47) Regards Bosco Last edited: Mar 12, 2016
For Invoice no range from 5530, 1] The First Invoice no / Invoice date, formula copy across : =INDEX(D$2:D$47,MATCH(1,INDEX(FIND( 5530,$C$2:$C$47),0),0)) or, =INDEX(C$2:C$47,INDEX(MATCH( 5530&"*",$C$2:$C$47&"",0),0)) 2] The Last Invoice no / Invoice date, formula copy across : =LOOKUP(1,-FIND( 5530,$C$2:$C$47),C$2:C$47) Regards Bosco
Deepak Excel Ninja Mar 12, 2016 #11 Oh! By bad one was that! Check this! =INDEX($C$2:$C$47,SMALL(IF(LEFT($C$2:$C$47,4)="5530",ROW($C$2:$C$47)-1),1)) =INDEX($C$2:$C$47,LARGE(IF(LEFT($C$2:$C$47,4)="5530",ROW($C$2:$C$47)-1),1)) Both are array formula so use, Ctrl+Shift+Enter not just Enter...
Oh! By bad one was that! Check this! =INDEX($C$2:$C$47,SMALL(IF(LEFT($C$2:$C$47,4)="5530",ROW($C$2:$C$47)-1),1)) =INDEX($C$2:$C$47,LARGE(IF(LEFT($C$2:$C$47,4)="5530",ROW($C$2:$C$47)-1),1)) Both are array formula so use, Ctrl+Shift+Enter not just Enter...
B BrajaKishore New Member May 10, 2020 #12 can any body help me out to get latest date, where value is greater than zero. file attached Attachments lastet date of value.xlsx 25.6 KB · Views: 5
V vletm Excel Ninja May 10, 2020 #13 BrajaKishore As You a new member and You have read Forum Rules ... today, then You should reread those rules again and please, follow too. = You should open a new thread as written.
BrajaKishore As You a new member and You have read Forum Rules ... today, then You should reread those rules again and please, follow too. = You should open a new thread as written.
A Ateeb Ali Member May 11, 2020 #14 check attached file if this helps press like button if problem solved Attachments lastet date of value.xlsx 35.7 KB · Views: 6