if ($citedby){ print "\"$title\"\nCited by: $citedby\n\n"; # Assuming you want to save the "cited" info in the # column just to the right of the current cell, adjust # as desired. $Sheet->Cells($row,$col+1)->{Value} = $cited; }