Do you mean have 7 in a cell (say A1) and have:
||||| ||
show up in B1 (say).
If yes, then try a formula like:
=REPT(REPT(CHAR(134),4)&" ",INT(A1/5))&REPT("|",MOD(A1,5))
You'll see something like:
†††† ||
(nice if you're using Arial--not sure how it'll show up in the newsgroup,
though.)