Hi Roger
Yes it was what I wanted, in part. I played around with it using different
preformatted cell conditions. As long as A1 was blank *zzzzz* was returned in
B1(helper Col). But I neglected to remember that A1 would be populated by
*=cell reference to another sheet*. Resulting zero's in A1 caused *#VALUE* to
be returned in B1. Tried various other different variations of formula and
preformatted cell conditions and came up with the below.They all return
*BBBBB* or *ZZZZ* in B1 when A1 is blank or contains a zero, BUT ANY ONE
FORMULA DID NOT WORK UNDER ALL CELL FORMATTING CONDITIONS.
This worked when A1 is preformatted as TEX
=IF(A1="",REPT("B",6),IF(A1="0",REPT("Z",6),IF(ISNUMBER(--LEFT(A1)),--(LEFT(A1,LEN(A1)-2)),A1)))
This worked when A1 is preformatted as NUMBER or DATE, (though in the DATE
senario the results looked messy when zero in A1, as I normaly have "Zero
Values" deselected it looks O
=IF(A1="",REPT("B",6),IF(A1=0,REPT("Z",6),IF(ISNUMBER(--LEFT(A1)),--(LEFT(A1,LEN(A1)-2)),A1)))
Apologies for long winded mature of this reply but as an inexperienced Excel
user I have often read posts & replies that are useful / applicable but they
often don't have enough detail for me to implement. In a lot of cases its
assummed the OP knows what they are doing. HA HA. So this is my attempt to
help other newbies in the future.
All I now have to do is figure out how to pick out / delete the data I want
in or from ColA!!!! Have seen possible suggestions posted on this group.
Many thanks for all your help, very much appreciated
Arran