Hi,
Is there a way to count the number sheet with condition in a workbook? Like for example i want to count all sheet with starting name PO. I have attached file with desired output.
Hi,
Is there a way to count the number sheet with condition in a workbook? Like for example i want to count all sheet with starting name PO. I have attached file with desired output.
Click * below if this answer helped
That's not really "counting" but, whatever, the only way I can think of doing it would be to use VBA.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Still need VBA. Is that what you want?
Create Name Manager "Work_sheets" by using =GET.WORKBOOK(1)&T(NOW())
then M2=IFERROR(INDEX(MID(Work_sheets,SEARCH("]",Work_sheets)+1,256),ROWS(M$2:M2)),"")
TRY THIS AND COPY TOWARDS DOWN
G5=IFERROR(INDEX($M:$M,SMALL(INDEX((LEFT($M$2:$M$47,LEN(G$4))<>G$4)*10^10+ROW($M$2:$M$47),0),ROWS($G$5:$G5))),"")
AND COPY ACROSS
find the attached file
as TMS said it is a VBA
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
It will not works but you can to the following
After getting the sheet names with the above, you need to copy the sheets names and paste them as pastespecial > values
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks