tlrobinson512
New Member
- Joined
- Jun 24, 2014
- Messages
- 21
Okay, so as quickly as I discover the answer to one problem, I create a completely different mountain to climb!
As an extension of my last post, I used the Find.Method to find the Header to the column I was looking for. No problem, I have gotten that down. What I can't figure out, is how to insert a the Application.CountIf function for the column in which I have found. This column will vary from report to report, which is the reason for the Find.Method.
With the CountIf, I need to point the results of that formula back to a cell on my main worksheet. For posting purposes, let's say workbook "Summary" worksheet "Sheet1" Cell A1.
Any thoughts on this? Thanks!
As an example, in the current test sheet I am working with, the column for was column "CF". So I would want to do a =COUNTIF(CF,"BK") and return that value to my main sheet. As stated, please remember that I had to search to find the BK is in column "CF", so I could not pre-define the range for the COUNTIF.
As an extension of my last post, I used the Find.Method to find the Header to the column I was looking for. No problem, I have gotten that down. What I can't figure out, is how to insert a the Application.CountIf function for the column in which I have found. This column will vary from report to report, which is the reason for the Find.Method.
With the CountIf, I need to point the results of that formula back to a cell on my main worksheet. For posting purposes, let's say workbook "Summary" worksheet "Sheet1" Cell A1.
Any thoughts on this? Thanks!
As an example, in the current test sheet I am working with, the column for was column "CF". So I would want to do a =COUNTIF(CF,"BK") and return that value to my main sheet. As stated, please remember that I had to search to find the BK is in column "CF", so I could not pre-define the range for the COUNTIF.