Hi all, i just want to count the number of cells contains "general" in E coloumn, in sheets contains SQI in sheetname, in a workbook. please guide me
Hi all, i just want to count the number of cells contains "general" in E coloumn, in sheets contains SQI in sheetname, in a workbook. please guide me
Hi,
You can use the below formula to get cells with value "general" in E column in a worksheet.
![]()
Please Login or Register to view this content.
Regards,
Paresh J
Click on "* Add Reputation" as a way to say thanks
hi pareshj, i want vba code for the same
Hi,
Check the below code and hope this is what you want:
![]()
Please Login or Register to view this content.
Regards,
Paresh J
The Code u entered is for Count the cells in "sheet1" only, i need to count for so many sheets and also the sheet name must contains "SQI". I will be very happy if u can answer this :-)
Hi,
What exactly is your requirement? Do you want count of word "general" individually on each sheet / as total on one sheet? What is sheet name must contain SQI? Is it that sheet names with SQI should only be checked for counting?
Regards,
Paresh J
Hi,
You can use the below code to get total count of word "general" from all sheets which contains SQI in their sheet names.
Put the below code in ThisWorkbook.
![]()
Please Login or Register to view this content.
Note: If you dont want SQI contains part, you can comment out the IF part in the code.
Regards,
Paresh J
Hi PARESH, i want count of word "general" as total on one sheet, sheet names with SQI should only be checked for counting! I am sorry to made you confused.
Hi,
Check out the below code, it gives result as expected by you. Please check the cell F1 of each sheet for the count.
Note: Please paste the below code in the ThisWorkBook section.
![]()
Please Login or Register to view this content.
Regards,
Paresh J
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks