If not, it just spits out #NAME?

]]>Good question. Yes, you can append your state string with a padded count of how many previous instances of that state string occur. Instead of the formula you entered in B3, use this one instead (and then copy it down for the rest of column B):

`=A3&TEXT(COUNTIF($A$2:A3,A3), "0000")`

The combination of A2 having $’s and A3 not are key in that formula because that combination of absolute and relative references give the unique count for each row. ]]>

Your word, â€śVoila!â€ť is a perfect word for this situation.

Thanks again!!!!!!! ]]>

So I’ll assume in column A (starting in A1), you will have phone numbers in one of two formats: 000-000-0000 or 000-0000. In that case, the formula in B1 would be:

`=IF(LEN(A1)>8,A1,"xxx"&"-"&A1)`

Just replace the xxx with whatever area code you want.

Also, to save yourself a TON of scrolling, use this sequence of keyboard shortcuts:

1. Put formula above in cell B1. Then copy B1.

2. Use your left arrow to go to A1. Then press Ctrl and the down arrow. This should jump you to the bottom of your huge dataset.

3. Right arrow over to column B of the last row. Press Shift and Ctrl and the up arrow.

4. Press Ctrl and V to paste your formula from B1 to the whole dataset.

5. VoilĂ !

Hope that helps! ]]>