SandsB
Well-known Member
- Joined
- Feb 13, 2007
- Messages
- 705
- Office Version
- 365
- Platform
- Windows
Sheet1 column A contains dates, Column B contains one of 5 text strings. There may be 100 rows for 2/22/23, then 20 rows for 2/23/23, then 50 rows for 2/34/23, etc.
I need cell A1 in Sheet2 to look at Sheet1 and give me the count of all records for 2/22/23 that contain "text string 1". And B1 is the same for "text string 2."
Then A2 and B2 are the same things for 2/23/23
Then A3 and B3 are etc.
So A1 in Sheet2 should be a formula that reads "Look at all the rows in Sheet 1 that contain 2/22/23 in column A and tell me how many of those rows have "text string 1" in column B.
I need cell A1 in Sheet2 to look at Sheet1 and give me the count of all records for 2/22/23 that contain "text string 1". And B1 is the same for "text string 2."
Then A2 and B2 are the same things for 2/23/23
Then A3 and B3 are etc.
So A1 in Sheet2 should be a formula that reads "Look at all the rows in Sheet 1 that contain 2/22/23 in column A and tell me how many of those rows have "text string 1" in column B.