What does the IF function do in a spreadsheet?AIt adds the numbers in a rangeBIt shows one of two results depending on whether a condition is true or falseCIt counts the cells that contain textDIt sorts the rows into orderPress 1–4 to pick · Enter to submit