redspanna
Well-known Member
- Joined
- Jul 27, 2005
- Messages
- 1,604
- Office Version
- 365
- Platform
- Windows
Hi all
Is there a way to do this using VB.....
Search through column A in sheet 1 to find the name "Fred"
When "Fred" is found check the corresponding date in column B
If this date falls into the range 01Apr05-31Mar06 then count it.
Loop this until all rows through column A where "Fred" is found.
Place the total of times Fred and date is in range 01Apr05-31Mar06 into cell I2
thanks in advance
Is there a way to do this using VB.....
Search through column A in sheet 1 to find the name "Fred"
When "Fred" is found check the corresponding date in column B
If this date falls into the range 01Apr05-31Mar06 then count it.
Loop this until all rows through column A where "Fred" is found.
Place the total of times Fred and date is in range 01Apr05-31Mar06 into cell I2
thanks in advance