I have to upload a spreadsheet and all cells must have something in them. So I want to fill in all blank cells in column A with "A", column B with "B", etc. but if a cell has data I want to leave it alone.
I am using this formula, but it's returning zero in all cells.: =IF(ISBLANK(A1),"A",A1)
I have allowed circular iteration so I am not getting an error, just a 0 all the time.
I am unsure about what you are doing wrong. Your formula works for me. If having the column letter replacing the cells is not important but just having something in each cell you can try to simply use the replace function. To do this simply keep the "Find what" box empty and insert whatever you want in the "Replace with" box.
Instead of a formula, use the Goto/special function to select the blanks and then type the A, B, C, etc. Select Column A, then hit F5, then click the 'Special...' button, choose the "Blanks" option, then 'OK'. This highlights the blank cells only and all you have to do is type A and Ctrl+Enter. Repeat for the next columns.
Best Response confirmed by
JerryTDS (New Contributor)
It wasn't calculating because at some point I had changed these to text format cells. (I did that because some of the cells have dates and the calculation was messing up the dates.)
Also, I think I was getting zeros because it would only return a letter ('A' for example) if the cell was empty, but the cell had a formula in it so it wasn't empty? I suppose you would need to have another blank column "B" that performs the calculation on "A" column.