Does the ‘ * ‘ symbol in a text string mean that there can be any characters in the string in the place of ‘ * ‘? For some reason it doesn’t work in the following code:
=COUNTIF(Workbook1!I2:I5000;"2012.01*")
Is there an alternative way to achieve what I need?
If you are matching strings then this is fine
=COUNTIF(Workbook1!I2:I5000;"2012.01*")If you are matching against numbers then your formula above wont work try this instead
=COUNTIF(Workbook1!I2:I5000,">=2012.01")To match only numbers starting with 2012.01 And less than 2012
in xl07 and onwards
=COUNTIFS(Workbook1!I2:I5000,">=2012.01",Workbook1!I2:I5000,"<2012.02")all versions including xl03
=SUMPRODUCT(--(Workbook1!I2:I5000>=2012.01),--(Workbook1!I2:I5000<2012.02))