Hi to all
I need to count one name from another file. The name can appear in 3 diff variations, for example:
Nati
Nati*
Nati**
The name for search is always clean (without * or **), for example in cell CP27 you can see name Nati
I used command:
and it working perfectly and count for me all 3 variation, but when I close the source file, the result shown as #VALUE (yes already know that excel can't show result when source file is closed )
I started to use this format for count (from this post):
It working, but problem is - it count only clean name, that mean only Nati, and I need use it like this to count all 3 variations:
Same with SUMPRODUCT formula...
Can I shorten this formula somehow and it will count all 3 variations ?
Thanks
I need to count one name from another file. The name can appear in 3 diff variations, for example:
Nati
Nati*
Nati**
The name for search is always clean (without * or **), for example in cell CP27 you can see name Nati
I used command:
Code:
=COUNTIF('[filename.xlsm]sheet_name'!$D$7:$I$55,CP27&"*")
I started to use this format for count (from this post):
Code:
=COUNT(IF('[filename.xlsm]sheet_name'!$D$7:$I$55=CP27,1)
It working, but problem is - it count only clean name, that mean only Nati, and I need use it like this to count all 3 variations:
Code:
=COUNT(IF('[filename.xlsm]sheet_name'!$D$7:$I$55=CP27,1),IF('[filename.xlsm]sheet_name'!$D$7:$I$55=CP27&"*",1),IF('[filename.xlsm]sheet_name'!$D$7:$I$55=CP27&"**",1))
Same with SUMPRODUCT formula...
Can I shorten this formula somehow and it will count all 3 variations ?
Thanks