fix string lookups when cells have complicated formatting (#6)

if a cell has multiple different formats, this shows up as multiple
different rich text parts in the shared string table, so make sure to
only count each shared string table entry once
changelog