Bill:
Your posting is extremely unreadable due to your html snippets in it. And the search string and the attachments are missing too.
Anyway: As far as I could read it, it is not that easy to build a search string for your task to delete the #N/A's.
So here is a macro I would use for such task:
Begin_Of_File
repeat (ALL) { // endless loop
Block_Begin(CLEAR) // reset block markers
Search("<td|M</td>|X", NOERR+CONFIRM+ERRBREAK) // search for a complete string until end
Search_Block("#N/A", BB, BE, BEGIN+NOERR) // search within that string for the "#N/A"
if (! EM) { // if "#N/A" found: delete the block
Del_Block(Block_Begin, Block_End)
} else { // else: set cursor past block
Goto_Pos(BE)
}
}
Christian