D
druk
I have two sheets. In each sheet there are values.
I need a formula that will output how many times a value in the firs
sheet appears in the second sheet.
I suppose the formula must take two ranges, and then compare each cel
in the first range to each cell in the second range. For each match, i
will count 1, so that it will output the total number of matches.
There is a catch, though. The values in the first sheet are numbers bu
in text format, because I need to enter numbers like 0060.
In the second sheet, the values are in the following format: fou
numbers, dash, one letter, dash, two numbers, e.g. 0060-D-03.
The formula must count a match when the value in the first rang
matches the first four caracters of the value in the second range.
Example: cell in the first range containing 2030, cell in second rang
containing 2030-D-02, this is a match.
Also, I need it to be a formula, not a macro, because I need it t
update the output whenever I enter new values in any of the sheets.
Thank you
I need a formula that will output how many times a value in the firs
sheet appears in the second sheet.
I suppose the formula must take two ranges, and then compare each cel
in the first range to each cell in the second range. For each match, i
will count 1, so that it will output the total number of matches.
There is a catch, though. The values in the first sheet are numbers bu
in text format, because I need to enter numbers like 0060.
In the second sheet, the values are in the following format: fou
numbers, dash, one letter, dash, two numbers, e.g. 0060-D-03.
The formula must count a match when the value in the first rang
matches the first four caracters of the value in the second range.
Example: cell in the first range containing 2030, cell in second rang
containing 2030-D-02, this is a match.
Also, I need it to be a formula, not a macro, because I need it t
update the output whenever I enter new values in any of the sheets.
Thank you