Helen842000
New Member
- Joined
- Mar 28, 2011
- Messages
- 34
Hi All,
I have the following formula,
=SUMPRODUCT((ISNUMBER(SEARCH("HSBC",March!$B$4:$B$4200)))*(March!$C$4:$C$4200=C1)*(ISNUMBER(SEARCH("New",March!$D$4:$D$4200))))
This has worked perfectly for my entire spreadsheet, it counts the number of times the phrase "HSBC" is found in a report, in the same row as the employee ID located in C1 along with the term "New".
Now I have to amend this formula to include several search criteria - 10 to be exact.
This formula is an exception for this spreadsheet, it's the final thing that needs to be worked in, it ties up all the loose ends, which is why it is overly complicated. If I can add this in, it will make the spreadsheet really accurate as all the systems will be counted.
I want it to find and count every instance of several system names not just one like before. Then match it to the employee ID provided and the Action type "New". They can't be literal matches, just within the string. Phew!
The example system names are:- SIM, SAM, FTP, MRS, CBM etc.
I'm not sure whether I can just list the names, if I have to use AND/OR or a whole new formula arrangement all together.
Now, I know this would end up as a very long, messy formula. If there is a simpler way of referencing the system names required then that would be great. The system names are all listed in G1:G10.
Any pointers in the right direction would be very helpful!
Thanks!
I have the following formula,
=SUMPRODUCT((ISNUMBER(SEARCH("HSBC",March!$B$4:$B$4200)))*(March!$C$4:$C$4200=C1)*(ISNUMBER(SEARCH("New",March!$D$4:$D$4200))))
This has worked perfectly for my entire spreadsheet, it counts the number of times the phrase "HSBC" is found in a report, in the same row as the employee ID located in C1 along with the term "New".
Now I have to amend this formula to include several search criteria - 10 to be exact.
This formula is an exception for this spreadsheet, it's the final thing that needs to be worked in, it ties up all the loose ends, which is why it is overly complicated. If I can add this in, it will make the spreadsheet really accurate as all the systems will be counted.
I want it to find and count every instance of several system names not just one like before. Then match it to the employee ID provided and the Action type "New". They can't be literal matches, just within the string. Phew!
The example system names are:- SIM, SAM, FTP, MRS, CBM etc.
I'm not sure whether I can just list the names, if I have to use AND/OR or a whole new formula arrangement all together.
Now, I know this would end up as a very long, messy formula. If there is a simpler way of referencing the system names required then that would be great. The system names are all listed in G1:G10.
Any pointers in the right direction would be very helpful!
Thanks!