I am trying to get format type of cell, can anyone please help

scenario is for 1 column ,In for loop, I want to get the format type of each cell and store in variable, compare with 1 format type store in variable. If matched proceed to next line item else capture line item and paste in another sheet